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

#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <time.h>
#include <errno.h>
#include <stdio.h>
#include <sqlite3.h>
#include <fakedbfs/fdbfsregex.h>
#include <fakedbfs/fakedbfs.h>
#include <fakedbfs/plugins.h>
#include <fakedbfs/debug.h>
#include <fakedbfs/db.h>
#include <fakedbfs/dbspecdata.h>
#include <fakedbfs/fields.h>
#include <fakedbfs/indexing.h>

Defines

#define MAXLINELEN   512
#define cval   (hasoth ? c->otherval : (c->val != NULL ? c->val : &zero))
#define clen   (hasoth ? c->othlen : c->len)
#define ctype   (hasoth ? c->othtype : c->type)

Functions

answer_tfdbfs_askfunc_std (answer_t *buf, answer_t *def, const char *fieldname, const char *name, const char *filen, enum DataType dt, struct EnumHead *ehead, struct EnumSubElem *subhead)
int fdbfs_index_file (fdbfs_t *f, const char *filename, const char *cat, int batch, int useplugs, int forceupdate, fields_t *fields)
int fdbfs_index_dir (fdbfs_t *f, char **dirs, const char *cat, int useplugs, int batch, int nocase, const char *re, int recurse, fields_t *defs)

Define Documentation

#define clen   (hasoth ? c->othlen : c->len)
 

#define ctype   (hasoth ? c->othtype : c->type)
 

#define cval   (hasoth ? c->otherval : (c->val != NULL ? c->val : &zero))
 

#define MAXLINELEN   512
 


Function Documentation

answer_t* fdbfs_askfunc_std answer_t buf,
answer_t def,
const char *  fieldname,
const char *  name,
const char *  filen,
enum DataType  dt,
struct EnumHead ehead,
struct EnumSubElem subhead
 

int fdbfs_index_dir fdbfs_t f,
char **  dirs,
const char *  cat,
int  useplugs,
int  batch,
int  nocase,
const char *  re,
int  recurse,
fields_t defs
 

int fdbfs_index_file fdbfs_t f,
const char *  filename,
const char *  cat,
int  batch,
int  useplugs,
int  forceupdate,
fields_t fields
 


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