summaryrefslogtreecommitdiffstats
path: root/src/engine.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/engine.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/engine.h')
-rw-r--r--src/engine.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/engine.h b/src/engine.h
index 9cae53d..445e962 100644
--- a/src/engine.h
+++ b/src/engine.h
@@ -21,8 +21,7 @@
#endif
struct rcc_engine_context_t {
- rcc_context ctx;
- rcc_language *language;
+ rcc_language_config config;
rcc_engine_function func;
rcc_engine_free_function free_func;
@@ -34,7 +33,7 @@ typedef struct rcc_engine_context_t rcc_engine_context_s;
int rccEngineInit();
void rccEngineFree();
-int rccEngineInitContext(rcc_engine_context engine_ctx, rcc_context ctx);
+int rccEngineInitContext(rcc_engine_context engine_ctx, rcc_language_config config);
void rccEngineFreeContext(rcc_engine_context engine_ctx);
int rccEngineConfigure(rcc_engine_context ctx);