X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Finclude%2Fcore%2Fstore.h;h=28b257e056b10f6912b793c95ee592afba6ed59d;hb=502bbcd0731ca35b4f3d93653a818f5246f81e0b;hp=aa53e8eadec81721c19d0c84adefe7634a146bb3;hpb=873627f033f749c6dc48293de1183ca4f6961926;p=sysdb.git diff --git a/src/include/core/store.h b/src/include/core/store.h index aa53e8e..28b257e 100644 --- a/src/include/core/store.h +++ b/src/include/core/store.h @@ -284,29 +284,11 @@ extern sdb_store_reader_t sdb_store_reader; sdb_store_t * sdb_store_create(void); -/* - * sdb_store_init: - * Initialize the store sub-system. This function has to be called before - * doing any other store operations. - * - * Returns: - * - 0 on success - * - a negative value else - */ -int -sdb_store_init(void); - -/* - * sdb_store_clear: - * Clear the entire store and remove all stored objects. - */ -void -sdb_store_clear(void); - /* * sdb_store_host, sdb_store_service, sdb_store_metric, sdb_store_attribute, * sdb_store_metric_attr: - * Store an object in the specified store. + * Store an object in the specified store. The hostname is expected to be + * canonical. */ int sdb_store_host(sdb_store_t *store, const char *name, sdb_time_t last_update);