Code

store: Exported the store base object type as opaque type.
[sysdb.git] / src / include / core / store.h
index bc4de1090f6d4a95e980835cf7c4033002776e79..5558e77154f32f00e9d59edf75ea3d1f0a014119 100644 (file)
 extern "C" {
 #endif
 
+/*
+ * sdb_store_base_t represents the super-class of any object stored in the
+ * database. It inherits from sdb_object_t and may safely be cast to a generic
+ * object to access its name.
+ */
+struct sdb_store_base;
+typedef struct sdb_store_base sdb_store_base_t;
+
 /*
  * sdb_store_host:
  * Add/update a host in the store. If the host, identified by its