summaryrefslogtreecommitdiffstats
path: root/src/internal.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2007-04-14 22:20:10 +0000
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2007-04-14 22:20:10 +0000
commit8ca43646a6c87d00d5b2cb74cebf65a8d0ea5e8e (patch)
tree724ddc9ab6cb3a362051fe1e081b3ccdcd7c0d5c /src/internal.h
parentb91203daf1a2b5865bfd284821c0c0b103f5b8e7 (diff)
downloadlibrcc-8ca43646a6c87d00d5b2cb74cebf65a8d0ea5e8e.tar.gz
librcc-8ca43646a6c87d00d5b2cb74cebf65a8d0ea5e8e.tar.bz2
librcc-8ca43646a6c87d00d5b2cb74cebf65a8d0ea5e8e.tar.xz
librcc-8ca43646a6c87d00d5b2cb74cebf65a8d0ea5e8e.zip
DB4 & Postponed processing
- New DB4 database type - Postponed processing in external module + User may allow external module to finish required processing before termination. This could be useful for translation services while using console applications (if network connection is slow, the external will never finish translation before program termination) - SKIP_PARRENT options are renamed to SKIP_PARENT
Diffstat (limited to 'src/internal.h')
-rw-r--r--src/internal.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/internal.h b/src/internal.h
index c5170be..98ef6d7 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -5,11 +5,7 @@
# define LIBRCC_DATA_DIR "/usr/lib/rcc"
#endif /* LIBRCC_DATA_DIR */
-#ifndef LIBRCC_LOCK_WAIT
-# define LIBRCC_LOCK_WAIT 3000 /* ms */
-#endif /* LIBRCC_LOCK_WAIT */
-
-#define RCC_MAX_LANGUAGE_PARRENTS 4
+#define RCC_MAX_LANGUAGE_PARENTS 4
#define RCC_MAX_RELATIONS RCC_MAX_LANGUAGES
#ifdef HAVE_STRNLEN
@@ -38,11 +34,11 @@
#define RCC_MAX_DISABLED_CHARSETS 64
-typedef rcc_language_id rcc_language_parrent_list[RCC_MAX_LANGUAGE_PARRENTS];
+typedef rcc_language_id rcc_language_parent_list[RCC_MAX_LANGUAGE_PARENTS];
struct rcc_language_internal_t {
rcc_language language;
- rcc_language_id parrents[RCC_MAX_LANGUAGE_PARRENTS + 1];
+ rcc_language_id parents[RCC_MAX_LANGUAGE_PARENTS + 1];
unsigned char latin;
};
typedef struct rcc_language_internal_t rcc_language_internal;
@@ -102,6 +98,5 @@ int rccConfigure(rcc_context ctx);
char *rccCreateResult(rcc_context ctx, size_t len);
extern rcc_context rcc_default_ctx;
-extern char *rcc_home_dir;
#endif /* _RCC_INTERNAL_H */