diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2005-07-08 14:45:55 +0000 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2005-07-08 14:45:55 +0000 |
commit | fdfe5b42f687fbf3d4537541cc1b0bd9b8c2c090 (patch) | |
tree | 81d199b6fbbb11d3f310668e5bdabf9129e5f41f /src/librcc.h | |
parent | 232dbc756390d30a86ae6de0cc84600eddb1c0b2 (diff) | |
download | librcc-fdfe5b42f687fbf3d4537541cc1b0bd9b8c2c090.tar.gz librcc-fdfe5b42f687fbf3d4537541cc1b0bd9b8c2c090.tar.bz2 librcc-fdfe5b42f687fbf3d4537541cc1b0bd9b8c2c090.tar.xz librcc-fdfe5b42f687fbf3d4537541cc1b0bd9b8c2c090.zip |
08.07.2005
Diffstat (limited to 'src/librcc.h')
-rw-r--r-- | src/librcc.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/librcc.h b/src/librcc.h index 79aab7e..e6fe7bc 100644 --- a/src/librcc.h +++ b/src/librcc.h @@ -48,6 +48,9 @@ rcc_context rccCreateContext(const char *locale_variable, unsigned int max_langu int rccInitDefaultContext(const char *locale_variable, unsigned int max_languages, unsigned int max_classes, rcc_class_ptr defclasses, rcc_init_flags flags); void rccFreeContext(rcc_context ctx); +typedef unsigned int rcc_db4_flags; +int rccInitDb4(rcc_context ctx, const char *name, rcc_db4_flags flags); + int rccLockConfiguration(rcc_context ctx, unsigned int lock_code); int rccUnlockConfiguration(rcc_context ctx, unsigned int lock_code); @@ -114,10 +117,17 @@ typedef enum rcc_class_type_t { RCC_CLASS_FS } rcc_class_type; +struct rcc_class_default_charset_t { + const char *lang; + const char *charset; +}; +typedef const struct rcc_class_default_charset_t rcc_class_default_charset; + struct rcc_class_t { const char *name; - const char *defvalue; /* locale variable name or parrent name */ const rcc_class_type class_type; + const char *defvalue; /* locale variable name or parrent name */ + rcc_class_default_charset *defcharset; const char *fullname; }; typedef const struct rcc_class_t rcc_class; @@ -134,6 +144,7 @@ typedef enum rcc_option_t { RCC_LEARNING_MODE = 0, RCC_AUTODETECT_FS_TITLES, RCC_AUTODETECT_FS_NAMES, + RCC_CONFIGURED_LANGUAGES_ONLY, RCC_MAX_OPTIONS } rcc_option; @@ -141,7 +152,7 @@ struct rcc_option_name_t { rcc_option option; const char *name; - const char *sn; + const char **subnames; }; typedef struct rcc_option_name_t rcc_option_name; |