pcsc-lite 1.5.5
|
00001 /* 00002 * MUSCLE SmartCard Development ( http://www.linuxnet.com ) 00003 * 00004 * Copyright (C) 2003 00005 * Toni Andjelkovic <toni@soth.at> 00006 * Ludovic Rousseau <ludovic.rousseau@free.fr> 00007 * 00008 * $Id: parser.h 4248 2009-06-05 08:41:19Z rousseau $ 00009 */ 00010 00016 #ifndef __parser_h__ 00017 #define __parser_h__ 00018 00019 #ifdef __cplusplus 00020 extern "C" 00021 { 00022 #endif 00023 00024 #define TOKEN_MAX_KEY_SIZE 200 00025 #define TOKEN_MAX_VALUE_SIZE 200 00026 00027 #define TOKEN_TYPE_KEY 1 00028 #define TOKEN_TYPE_STRING 2 00029 00030 int LTPBundleFindValueWithKey(const char *fileName, const char *tokenKey, 00031 /*@out@*/ char *tokenValue, int tokenIndice); 00032 00033 int LTPBundleFindOptionalValueWithKey(const char *fileName, 00034 const char *tokenKey, /*@out@*/ char *tokenValue, int tokenIndice); 00035 00036 #ifdef __cplusplus 00037 } 00038 #endif 00039 00040 #endif