pcsc-lite 1.6.4
parser.h
Go to the documentation of this file.
00001 /*
00002  * MUSCLE SmartCard Development ( http://www.linuxnet.com )
00003  *
00004  * Copyright (C) 2003
00005  *  Toni Andjelkovic <toni@soth.at>
00006  * Copyright (C) 2003-2009
00007  *  Ludovic Rousseau <ludovic.rousseau@free.fr>
00008  *
00009  * $Id: parser.h 4544 2009-11-12 14:33:44Z rousseau $
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                               /*@out@*/ char *tokenValue, int tokenIndice);
00033 
00034 int LTPBundleFindOptionalValueWithKey(const char *fileName,
00035     const char *tokenKey, /*@out@*/ char *tokenValue, int tokenIndice);
00036 
00037 #ifdef __cplusplus
00038 }
00039 #endif
00040 
00041 #endif