pcsc-lite  1.8.8
parser.h
Go to the documentation of this file.
1 /*
2  * MUSCLE SmartCard Development ( http://www.linuxnet.com )
3  *
4  * Copyright (C) 2003
5  * Toni Andjelkovic <toni@soth.at>
6  * Copyright (C) 2003-2009
7  * Ludovic Rousseau <ludovic.rousseau@free.fr>
8  *
9  * $Id: parser.h 5434 2010-12-08 14:13:21Z rousseau $
10  */
11 
17 #ifndef __parser_h__
18 #define __parser_h__
19 
20 #include "simclist.h"
21 
22 struct bundleElt
23 {
24  char *key;
25  list_t values;
26 };
27 
28 int LTPBundleFindValueWithKey(list_t *l, const char *key, list_t **values);
29 int bundleParse(const char *fileName, list_t *l);
30 void bundleRelease(list_t *l);
31 
32 #endif
list object
Definition: simclist.h:181
int LTPBundleFindValueWithKey(list_t *l, const char *key, list_t **values)
Find an optional key in a configuration file No error is logged if the key is not found...
Definition: tokenparser.c:1905
int bundleParse(const char *fileName, list_t *l)
Parse a Info.plist file and file a list.
Definition: tokenparser.c:1936
void bundleRelease(list_t *l)
Free the list created by bundleParse()
Definition: tokenparser.c:1993