void jx_database_firstkey(struct jx_database *db)
Begin iteration over all keys in the database.
void jx_database_insert(struct jx_database *db, const char *key, struct jx *j)
Insert or update an object into the database.
struct jx * jx_database_lookup(struct jx_database *db, const char *key)
Look up an object in the database.
struct jx * jx_database_remove(struct jx_database *db, const char *key)
Remove an object from the database.
JSON Expressions (JX) library.
int jx_database_nextkey(struct jx_database *db, char **key, struct jx **j)
Continue iteration over the database.
JX value representing any expression type.
Definition: jx.h:113
struct jx_database * jx_database_create(const char *logdir)
Create a new database, recovering state from disk if available.