#ifndef foocontexthfoo #define foocontexthfoo #include #include struct syrep_db_context { struct package *package; DB *db_id_meta, *db_md_name, *db_name_md, *db_name_lastmd, *db_md_lastname, *db_version_timestamp; uint32_t timestamp; uint32_t version; int modified; char* origin; }; struct syrep_db_context* db_context_open(const char *path); int db_context_save(struct syrep_db_context *c, const char *path); int db_context_free(struct syrep_db_context* c); #endif