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

SNMP编程

开发平台:

Unix_Linux

  1. #ifndef SNMP_TARGET_H
  2. #define SNMP_TARGET_H
  3. /*
  4.  * optional filtering function.  Return either TARGET_SKIP or TARGET_KEEP 
  5.  */
  6. typedef int     (TargetFilterFunction) (struct targetAddrTable_struct *
  7.                                         targaddrs,
  8.                                         struct targetParamTable_struct *
  9.                                         param, void *);
  10. #define TARGET_KEEP 0
  11. #define TARGET_SKIP 1
  12. /*
  13.  * utility functions 
  14.  */
  15. netsnmp_session *get_target_sessions(char *taglist, TargetFilterFunction *,
  16.                                      void *filterArg);
  17. config_require(target/snmpTargetAddrEntry target/snmpTargetParamsEntry)
  18. #endif                          /* SNMP_TARGET_H */