aboutsummaryrefslogtreecommitdiffstats
path: root/include/snmp_mtp.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-01-21 12:57:12 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-21 18:01:36 +0100
commit083a30b9b8fc27fff249285f3accdbff44e84b05 (patch)
tree11a55a112d7486c36eda03a995f7fdb90cd499e3 /include/snmp_mtp.h
parentf38114eee2caae36d345691468bef8c2611e7547 (diff)
udp: Poll SNMP for timeouts and fd every 100ms
This is the easiest way to integrate net-snmp with the event loop, every 100ms we are going to check for timeouts or incoming messages
Diffstat (limited to 'include/snmp_mtp.h')
-rw-r--r--include/snmp_mtp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/snmp_mtp.h b/include/snmp_mtp.h
index a42b08e..beefa48 100644
--- a/include/snmp_mtp.h
+++ b/include/snmp_mtp.h
@@ -34,5 +34,6 @@ void snmp_mtp_stop_c7_datalink(struct snmp_mtp_session *, int link_id);
struct snmp_mtp_session *snmp_mtp_session_create(char *host);
void snmp_mtp_deactivate(struct snmp_mtp_session *, int link_id);
void snmp_mtp_activate(struct snmp_mtp_session *, int link_id);
+void snmp_mtp_poll();
#endif