summaryrefslogtreecommitdiff
path: root/textproc/libtextcat/files/patch-src_textcat.h
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/libtextcat/files/patch-src_textcat.h')
-rw-r--r--textproc/libtextcat/files/patch-src_textcat.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/textproc/libtextcat/files/patch-src_textcat.h b/textproc/libtextcat/files/patch-src_textcat.h
new file mode 100644
index 000000000000..9c49ac8672dc
--- /dev/null
+++ b/textproc/libtextcat/files/patch-src_textcat.h
@@ -0,0 +1,20 @@
+--- src/textcat.h.orig Mon May 19 14:16:31 2003
++++ src/textcat.h Thu Aug 23 22:47:07 2007
+@@ -51,8 +51,17 @@
+ * Returns: handle on success, NULL on error. (At the moment, the
+ * only way errors can occur, is when the library cannot read the
+ * conffile, or one of the fingerprint files listed in it.)
++ *
++ * Replace older function (and has exacly the same behaviour)
++ * see below
+ */
+ extern void *textcat_Init( const char *conffile );
++
++/**
++ * Originaly this function had only one parameter (conffile) it has been modified since OOo must be able to load alternativ DB
++ * Basicaly prefix is the directory path where fingerprints are stored
++ */
++extern void *special_textcat_Init( const char *conffile, const char *prefix );
+
+ /**
+ * textcat_Done() - Free up resources for handle