subagent.h
上传用户:wxp200602
上传日期:2007-10-30
资源大小:4028k
文件大小:1k
源码类别:

SNMP编程

开发平台:

Unix_Linux

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