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

Query tokeniser. More...

#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 "queryparser.h"
#include <fakedbfs/fakedbfs.h>

Defines

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

Functions

int fdbfs_query_qtok (char **cp, int *tval, Toke *toke, char *ctok)
 Tokeinse query.


Detailed Description

Query tokeniser.


Define Documentation

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


Function Documentation

int fdbfs_query_qtok char **  cp,
int *  tval,
Toke toke,
char *  ctok
 

Tokeinse query.

Parameters:
[in,out] cp Pointer to string. Next token will be set here each call.
[out] tval Value of current token.
[out] toke Token data.
[out] ctok Buffer for current token...must point to a buffer of at least 512 bytes.
Returns:
0 on error.


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