~ubuntu-branches/ubuntu/jaunty/pcsc-lite/jaunty-security

« back to all changes in this revision

Viewing changes to src/parser.h

  • Committer: Bazaar Package Importer
  • Author(s): Ludovic Rousseau
  • Date: 2004-06-13 21:45:56 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20040613214556-zio7hrzkz9wwtffx
Tags: 1.2.9-beta2-2
* debian/rules: add -lpthread to LDFLAGS so that pthread_* symbols are
  included in the library (problem only seen on mips and mipsel).
  Closes: #253629
* debian/control: make libpcsclite-dev and libpcsclite1 at Priority:
  optional so that other packages at Priority: optional can use them.
  Closes: #249374

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Reads lexical config files and updates database.
 
3
 *
 
4
 * MUSCLE SmartCard Development ( http://www.linuxnet.com )
 
5
 *
 
6
 * Copyright (C) 2003
 
7
 *  Toni Andjelkovic <toni@soth.at>
 
8
 *  Ludovic Rousseau <ludovic.rousseau@free.fr>
 
9
 *
 
10
 * $Id: parser.h,v 1.1.1.2 2004/05/11 13:44:19 rousseau Exp $
 
11
 */
 
12
 
 
13
#ifndef __parser_h__
 
14
#define __parser_h__
 
15
 
 
16
#ifdef __cplusplus
 
17
extern "C"
 
18
{
 
19
#endif
 
20
 
 
21
#define TOKEN_MAX_KEY_SIZE   200
 
22
#define TOKEN_MAX_VALUE_SIZE 200
 
23
 
 
24
#define TOKEN_TYPE_KEY         1
 
25
#define TOKEN_TYPE_STRING      2
 
26
 
 
27
int LTPBundleFindValueWithKey(char *fileName, char *tokenKey,
 
28
                              char *tokenValue, int tokenIndice);
 
29
 
 
30
#ifdef __cplusplus
 
31
}
 
32
#endif
 
33
 
 
34
#endif