Code

store: Let sdb_store_json_formatter_t inherit from sdb_object_t.
[sysdb.git] / src / include / core / store.h
index 20ca047b9473c28bdb2867bc0259a50419467ad0..289bc2f88684ef6a82be2d63935d1b5bcb85d22a 100644 (file)
@@ -144,6 +144,9 @@ typedef struct sdb_store_matcher sdb_store_matcher_t;
 /*
  * 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;