index aa53e8eadec81721c19d0c84adefe7634a146bb3..28b257e056b10f6912b793c95ee592afba6ed59d 100644 (file)
--- a/src/include/core/store.h
+++ b/src/include/core/store.h
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);