summaryrefslogtreecommitdiff
path: root/src/rrdbotd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rrdbotd.h')
-rw-r--r--src/rrdbotd.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/rrdbotd.h b/src/rrdbotd.h
index 974c8f4..8c826e1 100644
--- a/src/rrdbotd.h
+++ b/src/rrdbotd.h
@@ -90,7 +90,7 @@ typedef struct _rb_host
/* Host resolving and book keeping */
struct sockaddr_any address;
- uint32_t interval;
+ uint64_t interval;
uint64_t last_resolved;
/* Next in list of hosts */
@@ -106,8 +106,8 @@ typedef struct _rb_poller
/* This points into the memory above */
const char* rrdname;
- uint32_t interval;
- uint32_t timeout;
+ uint64_t interval;
+ uint64_t timeout;
/* The things to poll. rb_poller owns this list */
rb_item* items;
@@ -171,4 +171,10 @@ int rb_snmp_parse_mib(const char* oid, struct snmp_value* value);
void rb_snmp_engine_init();
void rb_snmp_engine_uninit();
+/* -----------------------------------------------------------------------------
+ * RRD UPDATE CODE (rrd-update.c)
+ */
+
+void rb_rrd_update(rb_poller *poll);
+
#endif /* __RRDBOTD_H__ */