summaryrefslogtreecommitdiffstats
path: root/src/internal.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2005-08-03 18:24:08 +0000
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2005-08-03 18:24:08 +0000
commit50aa5cd62ef4a66da41d68f4a50ddfca97863c38 (patch)
tree43f1bf415e56ace9eb3e19731d3eaffe064c8d68 /src/internal.h
parentdcd966ba50fa18853c5ae06125a5b08b0ee6b10d (diff)
downloadlibrcc-50aa5cd62ef4a66da41d68f4a50ddfca97863c38.tar.gz
librcc-50aa5cd62ef4a66da41d68f4a50ddfca97863c38.tar.bz2
librcc-50aa5cd62ef4a66da41d68f4a50ddfca97863c38.tar.xz
librcc-50aa5cd62ef4a66da41d68f4a50ddfca97863c38.zip
Multithreading
- Multithreaded access to recoding functions using same context - Engine plugin to select between UTF-8 and ISO8859-1 for Western European Languages - Fix: 'rccTo' converting FS classes - FS class support in 'rccConfigSizedToCharset'
Diffstat (limited to 'src/internal.h')
-rw-r--r--src/internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/internal.h b/src/internal.h
index 3a07a67..fcaa4c6 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -13,6 +13,7 @@
#include "rccdb4.h"
#include "rcciconv.h"
#include "rccstring.h"
+#include "rccmutex.h"
#ifdef HAVE_STRNLEN
#define STRNLEN(str,n) (n?strnlen(str,n):strlen(str))
@@ -42,8 +43,6 @@ struct rcc_context_t {
unsigned int n_classes;
rcc_class_ptr *classes;
- rcc_engine_context_s engine_ctx;
-
rcc_iconv *iconv_from;
rcc_iconv iconv_auto[RCC_MAX_CHARSETS];
@@ -60,6 +59,7 @@ struct rcc_context_t {
db4_context db4ctx;
+ rcc_mutex mutex;
unsigned int configuration_lock;
};
typedef struct rcc_context_t rcc_context_s;