1 #ifndef _AGENTX_SUBAGENT_H
2 #define _AGENTX_SUBAGENT_H
4 config_require(agentx/protocol)
5 config_require(agentx/client)
6 config_require(agentx/agentx_config)
8 void init_subagent(void);
9 int subagent_pre_init(void);
10 int handle_agentx_packet(int, netsnmp_session *, int,
11 netsnmp_pdu *, void *);
12 SNMPCallback agentx_register_callback;
13 SNMPCallback agentx_unregister_callback;
14 SNMPAlarmCallback agentx_check_session;
16 extern netsnmp_session *agentx_session;
18 #endif /* _AGENTX_SUBAGENT_H */