The filename field is used as the command line to access and log into a database using ODBC (Open Database Connectivity). Anonymous transactions are allowed by the module, but are dependent on the database. The ODBC model relies on locating a HEADER_TABLE, OBJECT_TABLE, and an EVENT_TABLE in the database. Objects are written in mostly as a series of text fields.
HEADER_TABLE
OBJECT_TABLE and EVENT_TABLE
Future implimentations may change drastically.
Functions | |
| void | close_collector (struct collector *my) |
| void | close_player (struct player *my) |
| void | close_recorder (struct recorder *my) |
| void | close_shaper (struct shaper *my) |
| int | open_collector (struct collector *my, char *fname, char *flags) |
| int | open_player (struct player *my, char *fname, char *flags) |
| int | open_recorder (struct recorder *my, char *fname, char *flags) |
| int | open_shaper (struct shaper *my, char *fname, char *flags) |
| char * | read_player (struct player *my, char *buffer, unsigned int size) |
| char * | read_shaper (struct shaper *my, char *buffer, unsigned int size) |
| int | rewind_player (struct player *my) |
| int | rewind_shaper (struct shaper *my) |
| int | write_collector (struct collector *my, char *timestamp, char *value) |
| int | write_recorder (struct recorder *my, char *timestamp, char *value) |
Variables | |
| EXPORT CALLBACKS * | callback = NULL |
| int open_shaper | ( | struct shaper * | my, | |
| char * | fname, | |||
| char * | flags | |||
| ) |
Definition at line 65 of file tape_odbc.cpp.
References file, shaper::fp, FT_FILE, gl_error, shaper::interval, ISSET, min, shaper::scale, shaper::shape, shaper::status, shaper::step, TS_DONE, TS_OPEN, and shaper::type.