diff --git a/src/core/store.c b/src/core/store.c
index 652b24b33c738b2dba3ff5a91c08f0c9d56eb645..47ba0356933453d4aa0c061daf23a6d3ad4a727c 100644 (file)
--- a/src/core/store.c
+++ b/src/core/store.c
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif /* HAVE_CONFIG_H */
+
#include "sysdb.h"
#include "core/store-private.h"
#include "core/plugin.h"
* public API
*/
+void
+sdb_store_clear(void)
+{
+ sdb_llist_destroy(obj_list);
+ obj_list = NULL;
+} /* sdb_store_clear */
+
int
sdb_store_host(const char *name, sdb_time_t last_update)
{