Main Page | Modules | Namespace List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

emfdb.h File Reference

#include "basic/basic.h"
#include "emf/emf.h"

Defines

#define _h_EMFDB   1
#define T_INT   0
#define T_STRING   1
#define DB_OK   0
#define DB_ERR_GENERAL   -1
#define DB_ERR_COL_NOT_FOUND   -2
#define DB_ERR_COL_DELETED   -3
#define DB_ERR_ROW_NOT_FOUND   -4
#define DB_ERR_ROW_DELETED   -5
#define DB_ERR_TABLE_NOT_FOUND   -6
#define DB_ERR_TABLE_DELETED   -7
#define DB_ERR_BAD_FORMAT   -8
#define DB_CASE_INSENSITIVE   1

Typedefs

typedef dbTable_s dbTable_t

Functions

int dbRegisterDBSchema (dbTable_t *sTable)
int dbOpen (char_t *databasename, char_t *filename, int(*gettime)(int did), int flags)
void dbClose (int did)
int dbGetTableId (int did, char_t *tname)
char_tdbGetTableName (int did, int tid)
int dbReadInt (int did, char_t *table, char_t *column, int row, int *returnValue)
int dbReadStr (int did, char_t *table, char_t *column, int row, char_t **returnValue)
int dbWriteInt (int did, char_t *table, char_t *column, int row, int idata)
int dbWriteStr (int did, char_t *table, char_t *column, int row, char_t *s)
int dbAddRow (int did, char_t *table)
int dbDeleteRow (int did, char_t *table, int rid)
int dbSetTableNrow (int did, char_t *table, int nNewRows)
int dbGetTableNrow (int did, char_t *table)
int dbSave (int did, char_t *filename, int flags)
int dbLoad (int did, char_t *filename, int flags)
int dbSearchStr (int did, char_t *table, char_t *column, char_t *value, int flags)
void dbZero (int did)
char_tbasicGetProductDir ()
void basicSetProductDir (char_t *proddir)

Define Documentation

#define _h_EMFDB   1
 

#define DB_CASE_INSENSITIVE   1
 

#define DB_ERR_BAD_FORMAT   -8
 

#define DB_ERR_COL_DELETED   -3
 

#define DB_ERR_COL_NOT_FOUND   -2
 

#define DB_ERR_GENERAL   -1
 

#define DB_ERR_ROW_DELETED   -5
 

#define DB_ERR_ROW_NOT_FOUND   -4
 

#define DB_ERR_TABLE_DELETED   -7
 

#define DB_ERR_TABLE_NOT_FOUND   -6
 

#define DB_OK   0
 

#define T_INT   0
 

#define T_STRING   1
 


Typedef Documentation

typedef struct dbTable_s dbTable_t
 


Function Documentation

char_t* basicGetProductDir  ) 
 

void basicSetProductDir char_t proddir  ) 
 

int dbAddRow int  did,
char_t table
 

void dbClose int  did  ) 
 

int dbDeleteRow int  did,
char_t table,
int  rid
 

int dbGetTableId int  did,
char_t tname
 

char_t* dbGetTableName int  did,
int  tid
 

int dbGetTableNrow int  did,
char_t table
 

int dbLoad int  did,
char_t filename,
int  flags
 

int dbOpen char_t databasename,
char_t filename,
int(*)(int did)  gettime,
int  flags
 

int dbReadInt int  did,
char_t table,
char_t column,
int  row,
int *  returnValue
 

int dbReadStr int  did,
char_t table,
char_t column,
int  row,
char_t **  returnValue
 

int dbRegisterDBSchema dbTable_t sTable  ) 
 

int dbSave int  did,
char_t filename,
int  flags
 

int dbSearchStr int  did,
char_t table,
char_t column,
char_t value,
int  flags
 

int dbSetTableNrow int  did,
char_t table,
int  nNewRows
 

int dbWriteInt int  did,
char_t table,
char_t column,
int  row,
int  idata
 

int dbWriteStr int  did,
char_t table,
char_t column,
int  row,
char_t s
 

void dbZero int  did  ) 
 


Generated on Thu Mar 2 16:11:29 2006 for VDK Blacksheep by  doxygen 1.4.1