Logo Search packages:      
Sourcecode: pcsc-lite version File versions  Download package

tokenparser.c File Reference


Detailed Description

provides LTPBundleFindValueWithKey() function on non-MacOS X platforms

Definition in file tokenparser.c.

#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include "config.h"
#include "debuglog.h"
#include "parser.h"
#include "strlcpycat.h"
#include <unistd.h>

Go to the source code of this file.

Classes

struct  yy_buffer_state
struct  yy_trans_info

Defines

#define BEGIN   (yy_start) = 1 + 2 *
#define ECHO   (void) fwrite( tptext, tpleng, 1, tpout )
#define EOB_ACT_CONTINUE_SCAN   0
#define EOB_ACT_END_OF_FILE   1
#define EOB_ACT_LAST_MATCH   2
#define FLEX_BETA
#define FLEX_SCANNER
#define INITIAL   0
#define INT16_MAX   (32767)
#define INT16_MIN   (-32767-1)
#define INT32_MAX   (2147483647)
#define INT32_MIN   (-2147483647-1)
#define INT8_MAX   (127)
#define INT8_MIN   (-128)
#define REJECT   reject_used_but_not_detected
#define tpwrap()   1
#define UINT16_MAX   (65535U)
#define UINT32_MAX   (4294967295U)
#define UINT8_MAX   (255U)
#define unput(c)   yyunput( c, (yytext_ptr) )
#define YY_AT_BOL()   (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
#define YY_BREAK   break;
#define YY_BUF_SIZE   16384
#define YY_BUFFER_EOF_PENDING   2
#define YY_BUFFER_NEW   0
#define YY_BUFFER_NORMAL   1
#define YY_CURRENT_BUFFER
#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]
#define YY_DECL   int tplex (void)
#define YY_DECL_IS_OURS   1
#define YY_DO_BEFORE_ACTION
#define YY_END_OF_BUFFER   8
#define YY_END_OF_BUFFER_CHAR   0
#define YY_EXIT_FAILURE   2
#define YY_EXTRA_TYPE   void *
#define YY_FATAL_ERROR(msg)   yy_fatal_error( msg )
#define YY_FLEX_MAJOR_VERSION   2
#define YY_FLEX_MINOR_VERSION   5
#define YY_FLEX_SUBMINOR_VERSION   31
#define YY_FLUSH_BUFFER   tp_flush_buffer(YY_CURRENT_BUFFER )
#define YY_INPUT(buf, result, max_size)
#define YY_INT_ALIGNED   short int
#define YY_LESS_LINENO(n)
#define YY_MORE_ADJ   0
#define yy_new_buffer   tp_create_buffer
#define YY_NEW_FILE   tprestart(tpin )
#define YY_NULL   0
#define YY_NUM_RULES   7
#define YY_READ_BUF_SIZE   8192
#define YY_RESTORE_YY_MORE_OFFSET
#define YY_RULE_SETUP   YY_USER_ACTION
#define YY_SC_TO_UI(c)   ((unsigned int) (unsigned char) c)
#define yy_set_bol(at_bol)
#define yy_set_interactive(is_interactive)
#define YY_SKIP_YYWRAP
#define YY_START   (((yy_start) - 1) / 2)
#define YY_START_STACK_INCR   25
#define YY_STATE_EOF(state)   (YY_END_OF_BUFFER + state + 1)
#define yyconst
#define yyless(n)
#define yyless(n)
#define yymore()   yymore_used_but_not_detected
#define YYSTATE   YY_START
#define YYTABLES_NAME   "yytables"
#define yyterminate()   return YY_NULL
#define yytext_ptr   tptext

Typedefs

typedef short int flex_int16_t
typedef int flex_int32_t
typedef signed char flex_int8_t
typedef unsigned short int flex_uint16_t
typedef unsigned int flex_uint32_t
typedef unsigned char flex_uint8_t
typedef struct yy_buffer_state * YY_BUFFER_STATE
typedef unsigned char YY_CHAR
typedef unsigned int yy_size_t
typedef int yy_state_type

Functions

static int input (void)
int LTPBundleFindValueWithKey (char *fileName, char *tokenKey, char *tokenValue, int tokenIndice)
YY_BUFFER_STATE tp_create_buffer (FILE *file, int size)
void tp_delete_buffer (YY_BUFFER_STATE b)
void tp_flush_buffer (YY_BUFFER_STATE b)
static void tp_init_buffer (YY_BUFFER_STATE b, FILE *file)
static void tp_load_buffer_state (void)
YY_BUFFER_STATE tp_scan_buffer (char *base, yy_size_t size)
YY_BUFFER_STATE tp_scan_bytes (yyconst char *bytes, int len)
YY_BUFFER_STATE tp_scan_string (yyconst char *yy_str)
void tp_switch_to_buffer (YY_BUFFER_STATE new_buffer)
void * tpalloc (yy_size_t)
static void tpensure_buffer_stack (void)
void tperrorCheck (char *pcToken_error)
void tpevalToken (char *pcToken, int tokType)
void tpfree (void *)
int tpget_debug (void)
FILE * tpget_in (void)
int tpget_leng (void)
int tpget_lineno (void)
FILE * tpget_out (void)
char * tpget_text (void)
int tplex (void)
int tplex_destroy (void)
void tppop_buffer_state (void)
void tppush_buffer_state (YY_BUFFER_STATE new_buffer)
void * tprealloc (void *, yy_size_t)
void tprestart (FILE *input_file)
void tpset_debug (int bdebug)
void tpset_in (FILE *in_str)
void tpset_lineno (int line_number)
void tpset_out (FILE *out_str)
static void yy_fatal_error (yyconst char *msg)
static void yy_fatal_error (yyconst char msg[])
static int yy_get_next_buffer (void)
static yy_state_type yy_get_previous_state (void)
static yy_state_type yy_try_NUL_trans (yy_state_type current_state)

Variables

static int desiredIndex = 0
static char * pcDesiredKey = 0
static char pcFinValue [TOKEN_MAX_VALUE_SIZE]
static char pcKey [TOKEN_MAX_KEY_SIZE]
static char pcValue [TOKEN_MAX_VALUE_SIZE]
int tp_flex_debug = 0
FILE * tpin = (FILE *) 0
int tpleng
int tplineno = 1
FILE * tpout = (FILE *) 0
char * tptext
static int valueIndex = 0
static yyconst flex_int16_t yy_accept [39]
static yyconst flex_int16_t yy_base [43]
static YY_BUFFER_STATE * yy_buffer_stack = 0
static size_t yy_buffer_stack_max = 0
static size_t yy_buffer_stack_top = 0
static char * yy_c_buf_p = (char *) 0
static yyconst flex_int16_t yy_chk [71]
static yyconst flex_int16_t yy_def [43]
static int yy_did_buffer_switch_on_eof
static yyconst flex_int32_t yy_ec [256]
static char yy_hold_char
static int yy_init = 1
static char * yy_last_accepting_cpos
static yy_state_type yy_last_accepting_state
static yyconst flex_int32_t yy_meta [21]
static int yy_n_chars
static yyconst flex_int16_t yy_nxt [71]
static int yy_start = 0


Generated by  Doxygen 1.6.0   Back to index