index 7d9e320bc79c1f05524608c4d617e8ee786d6cd6..cd8bbd0fc79d395e1d9b8fbb407020e4893dc105 100644 (file)
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <strings.h>
SDB_PLUGIN_MAGIC;
hostname = data[0].data.string;
timestamp = data[1].data.datetime;
- status = sdb_store_host(hostname, timestamp);
+ status = sdb_plugin_store_host(hostname, timestamp);
if (status < 0) {
sdb_log(SDB_LOG_ERR, "MK Livestatus backend: Failed to "
svcname = data[1].data.string;
timestamp = data[2].data.datetime;
- status = sdb_store_service(hostname, svcname, timestamp);
+ status = sdb_plugin_store_service(hostname, svcname, timestamp);
if (status < 0) {
sdb_log(SDB_LOG_ERR, "MK Livestatus backend: Failed to "