index 15f435fefdc6136a83fdb2e53a004a5cac82e8a9..289bc2f88684ef6a82be2d63935d1b5bcb85d22a 100644 (file)
--- a/src/include/core/store.h
+++ b/src/include/core/store.h
/*
* A JSON formatter converts stored objects into the JSON format.
* See http://www.ietf.org/rfc/rfc4627.txt
+ *
+ * A JSON formatter object inherits from sdb_object_t and, thus, may safely be
+ * cast to a generic object.
*/
struct sdb_store_json_formatter;
typedef struct sdb_store_json_formatter sdb_store_json_formatter_t;
sdb_store_clear(void);
/*
- * sdb_store_has_host:
* sdb_store_get_host:
* Query the store for a host by its (canonicalized) name.
*
- * sdb_store_get_host increments the ref count of the host object. The caller
- * needs to deref it when no longer using it.
+ * The function increments the ref count of the host object. The caller needs
+ * to deref it when no longer using it.
*/
-bool
-sdb_store_has_host(const char *name);
-
sdb_store_obj_t *
sdb_store_get_host(const char *name);