Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

parser.h File Reference

Reads lexical config files and updates database. More...

Go to the source code of this file.

Defines

#define TOKEN_MAX_KEY_SIZE   200
#define TOKEN_MAX_VALUE_SIZE   200
#define TOKEN_TYPE_KEY   1
#define TOKEN_TYPE_STRING   2

Functions

int LTPBundleFindValueWithKey (const char *fileName, const char *tokenKey, char *tokenValue, int tokenIndice)
 Find a key in a configuration file. More...


Detailed Description

Reads lexical config files and updates database.

Definition in file parser.h.


Function Documentation

int LTPBundleFindValueWithKey const char *    fileName,
const char *    tokenKey,
char *    tokenValue,
int    tokenIndice
 

Find a key in a configuration file.

Parameters:
fileName  file name
tokenKey  key value
am[out] tokenValue token value (if key found)
Parameters:
tokenIndice  indice of the desired key
Return values:
-1  configuration file not found
0  OK
1  key not found

Definition at line 1802 of file tokenparser.c.


Generated on Wed Apr 2 17:42:52 2008 for pcsc-lite by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002