/home/dcp1990/prog/fakedbfs/libfakedbfs/defspecs.c File Reference

#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <time.h>
#include <errno.h>
#include <stdio.h>
#include <float.h>
#include <ctype.h>
#include <sqlite3.h>
#include <fakedbfs/query.h>
#include <fakedbfs/fdbfsconfig.h>
#include <fakedbfs/fakedbfs.h>
#include <fakedbfs/debug.h>
#include "dspparser.h"

Defines

#define IdChar(C)   (((c=C)&0x80)!=0 || (c>0x1f && isIdChar[c-0x20]))
#define ParseTOKENTYPE   Toke
#define ParseARG_PDECL   , dspdata_t *d

Functions

void DSPParse (void *yyp, int yymajor, ParseTOKENTYPE yyminor ParseARG_PDECL)
void DSPParseTrace (FILE *TraceFILE, char *zTracePrompt)
void * DSPParseAlloc (void *(*mallocProc)(size_t))
void DSPParseFree (void *p, void(*freeProc)(void *))
fields_tfdbfs_fields_from_dsp (fdbfs_t *f, const char *tsp)
 Parse defspec and create fields_t list from it.

Define Documentation

#define IdChar  )     (((c=C)&0x80)!=0 || (c>0x1f && isIdChar[c-0x20]))
 

#define ParseARG_PDECL   , dspdata_t *d
 

#define ParseTOKENTYPE   Toke
 


Function Documentation

void DSPParse void *  yyp,
int  yymajor,
ParseTOKENTYPE yyminor  ParseARG_PDECL
 

void* DSPParseAlloc void *(*)(size_t)  mallocProc  ) 
 

void DSPParseFree void *  p,
void(*)(void *)  freeProc
 

void DSPParseTrace FILE *  TraceFILE,
char *  zTracePrompt
 

fields_t* fdbfs_fields_from_dsp fdbfs_t f,
const char *  tsp
 

Parse defspec and create fields_t list from it.

Parameters:
f Fakedbfs instance to operate on.
tsp Defspec to parse.
Returns:
fields_t list from defspec, or NULL on error.


Generated on Wed Apr 19 16:26:23 2006 for fakedbfs by  doxygen 1.4.6