Debian Codegraph @

agent/mibgroup/agentx/subagent.h

raw
1 #ifndef _AGENTX_SUBAGENT_H
2 #define _AGENTX_SUBAGENT_H
3
4 config_belongs_in(agent_module);
5
6 config_require(agentx/protocol);
7 config_require(agentx/client);
8 config_require(agentx/agentx_config);
9
10 #ifndef NETSNMP_TRANSPORT_CALLBACK_DOMAIN
11 config_error(agentx/subagent depends on the Callback transport);
12 #endif
13
14 int subagent_init(void);
15 int handle_agentx_packet(int, netsnmp_session *, int,
16 netsnmp_pdu *, void *);
17 SNMPCallback agentx_register_callback;
18 SNMPCallback agentx_unregister_callback;
19 SNMPAlarmCallback agentx_check_session;
20
21 #endif /* _AGENTX_SUBAGENT_H */