Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00017 #ifndef __parser_h__
00018 #define __parser_h__
00019
00020 #ifdef __cplusplus
00021 extern "C"
00022 {
00023 #endif
00024
00025 #define TOKEN_MAX_KEY_SIZE 200
00026 #define TOKEN_MAX_VALUE_SIZE 200
00027
00028 #define TOKEN_TYPE_KEY 1
00029 #define TOKEN_TYPE_STRING 2
00030
00031 int LTPBundleFindValueWithKey(const char *fileName, const char *tokenKey,
00032 char *tokenValue, int tokenIndice);
00033
00034 int LTPBundleFindOptionalValueWithKey(const char *fileName,
00035 const char *tokenKey, char *tokenValue, int tokenIndice);
00036
00037 #ifdef __cplusplus
00038 }
00039 #endif
00040
00041 #endif