From f9a49bea3da1f6e366fafc860b89a7963b3e1853 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 26 Jan 2006 23:36:35 +0000 Subject: Fixes with request management, timeouts and all that. --- src/rrdbotd.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/rrdbotd.h') 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__ */ -- cgit v1.2.3