Code

object system: Introduced a 'clone' callback for types.
[sysdb.git] / src / core / plugin.c
index 431264266ea66df7b10eadbe5c1d425487b1dac8..205c74f148d3f41cb97a1c5b9c891228d1fcc490 100644 (file)
@@ -231,14 +231,16 @@ static sdb_type_t sdb_plugin_cb_type = {
        sizeof(sdb_plugin_cb_t),
 
        sdb_plugin_cb_init,
-       sdb_plugin_cb_destroy
+       sdb_plugin_cb_destroy,
+       /* clone = */ NULL
 };
 
 static sdb_type_t sdb_plugin_collector_cb_type = {
        sizeof(sdb_plugin_collector_cb_t),
 
        sdb_plugin_cb_init,
-       sdb_plugin_cb_destroy
+       sdb_plugin_cb_destroy,
+       /* clone = */ NULL
 };
 
 static int