diff options
author | Stef Walter <stef@memberwebs.com> | 2006-01-26 23:36:35 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2006-01-26 23:36:35 +0000 |
commit | f9a49bea3da1f6e366fafc860b89a7963b3e1853 (patch) | |
tree | c16065517f8d08357ddbf0faa4ffbac17a6cadd5 /src/rrdbotd.h | |
parent | 1ded2732d4c290dbff64d8091def1f70b76f6282 (diff) |
Fixes with request management, timeouts and all that.
Diffstat (limited to 'src/rrdbotd.h')
-rw-r--r-- | src/rrdbotd.h | 12 |
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__ */ |