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
12/**
13 * @file
14 * @brief Reads lexical config files and updates database.
15 */
16
17#ifndef __parser_h__
18#define __parser_h__
19
20#include "simclist.h"
21
22struct bundleElt
23{
24	char *key;
25	list_t values;
26};
27
28int LTPBundleFindValueWithKey(list_t *l, const char *key, list_t **values);
29int bundleParse(const char *fileName, list_t *l);
30void bundleRelease(list_t *l);
31
32#endif
33