00001
00002
00003
00004
00005
00006
00007 #ifndef JX_DATABASE_H
00008 #define JX_DATABASE_H
00009
00062 #include "jx.h"
00063
00069 struct jx_database * jx_database_create( const char *logdir );
00070
00078 void jx_database_insert( struct jx_database *db, const char *key, struct jx *j );
00079
00086 struct jx * jx_database_lookup( struct jx_database *db, const char *key );
00087
00095 struct jx * jx_database_remove( struct jx_database *db, const char *key );
00096
00104 void jx_database_firstkey( struct jx_database *db );
00105
00114 int jx_database_nextkey( struct jx_database *db, char **key, struct jx **j );
00115
00116 #endif