Code

store: Added sdb_store_parse_object_type().
[sysdb.git] / src / include / core / store.h
index ab12162115b6d9d56d7011ae225871c488fc322f..5d5995f56d6685003b87064a5bbfe2ab7f4a4293 100644 (file)
@@ -457,6 +457,17 @@ typedef sdb_store_matcher_t *(*sdb_store_matcher_op_cb)
 sdb_store_matcher_op_cb
 sdb_store_parse_matcher_op(const char *op);
 
+/*
+ * sdb_store_parse_object_type:
+ * Parse the type name of a stored object.
+ *
+ * Returns:
+ *  - the object type on success
+ *  - a negative value else
+ */
+int
+sdb_store_parse_object_type(const char *name);
+
 /*
  * sdb_store_parse_object_type_plural:
  * Parse the type name (plural) of a stored object.