diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2005-07-05 03:15:53 +0000 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2005-07-05 03:15:53 +0000 |
commit | 9922cef1af71786ae788903b52a8968e5775d510 (patch) | |
tree | badf23fc2701946b61df1d15227736783e44a754 /src/librcc.h | |
parent | a21deef1c62467b21500f94dfb2ab3d58e69cb85 (diff) | |
download | librcc-9922cef1af71786ae788903b52a8968e5775d510.tar.gz librcc-9922cef1af71786ae788903b52a8968e5775d510.tar.bz2 librcc-9922cef1af71786ae788903b52a8968e5775d510.tar.xz librcc-9922cef1af71786ae788903b52a8968e5775d510.zip |
Save / Load
Diffstat (limited to 'src/librcc.h')
-rw-r--r-- | src/librcc.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/librcc.h b/src/librcc.h index 6e40130..1f5ee72 100644 --- a/src/librcc.h +++ b/src/librcc.h @@ -140,6 +140,8 @@ typedef enum rcc_option_t { struct rcc_option_name_t { rcc_option option; const char *name; + + const char *sn; }; typedef struct rcc_option_name_t rcc_option_name; @@ -158,6 +160,8 @@ int rccSetLanguageByName(rcc_context ctx, const char *name); /* opt.c */ rcc_option_value rccGetOption(rcc_context ctx, rcc_option option); +int rccOptionIsDefault(rcc_context ctx, rcc_option option); +int rccOptionSetDefault(rcc_context ctx, rcc_option option); int rccSetOption(rcc_context ctx, rcc_option option, rcc_option_value value); /* lngconfig.c */ @@ -169,6 +173,7 @@ rcc_engine_id rccConfigGetEngineByName(rcc_language_config config, const char *n rcc_charset_id rccConfigGetCharsetByName(rcc_language_config config, const char *name); rcc_charset_id rccConfigGetAutoCharsetByName(rcc_language_config config, const char *name); +rcc_language_config rccCheckConfig(rcc_context ctx, rcc_language_id language_id); rcc_language_config rccGetConfig(rcc_context ctx, rcc_language_id language_id); rcc_language_config rccGetConfigByName(rcc_context ctx, const char *name); rcc_language_config rccGetCurrentConfig(rcc_context ctx); @@ -226,6 +231,16 @@ rcc_engine_ptr *rccGetCurrentEngineList(rcc_context ctx); rcc_charset *rccGetCurrentAutoCharsetList(rcc_context ctx); rcc_class_ptr *rccGetClassList(rcc_context ctx); +/******************************************************************************* +************************ Default Configuaration ******************************** +*******************************************************************************/ + +/* rccconfig.c */ +const char *rccGetOptionName(rcc_option option); +const char *rccGetOptionFullName(rcc_option option); +rcc_option_value rccGetOptionDefaultValue(rcc_option option); +const char *rccGetLanguageFullName(const char *lang); + /******************************************************************************* ************************ RCC_STRING Manipulations ****************************** |