snmpd.h 424 B

123456789101112131415161718192021222324252627
  1. /*
  2. * snmpd.h
  3. */
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. #define MASTER_AGENT 0
  8. #define SUB_AGENT 1
  9. extern int agent_role;
  10. extern int snmp_dump_packet;
  11. extern int verbose;
  12. extern int (*sd_handlers[]) (int);
  13. extern int smux_listen_sd;
  14. extern int snmp_read_packet(int);
  15. /*
  16. * config file parsing routines
  17. */
  18. void agentBoots_conf(char *, char *);
  19. #ifdef __cplusplus
  20. }
  21. #endif