snmptrapd_log.h 530 B

12345678910111213141516171819
  1. #ifndef _SNMPTRAPD_LOG_H
  2. #define _SNMPTRAPD_LOG_H
  3. #include "snmptrapd_ds.h"
  4. extern "C" {
  5. int realloc_format_trap(u_char ** buf, size_t * buf_len,
  6. size_t * out_len, int allow_realloc,
  7. const char *format_str,
  8. netsnmp_pdu *pdu,
  9. struct netsnmp_transport_s *transport);
  10. int realloc_format_plain_trap(u_char ** buf, size_t * buf_len,
  11. size_t * out_len,
  12. int allow_realloc,
  13. netsnmp_pdu *pdu,
  14. struct netsnmp_transport_s
  15. *transport);
  16. }
  17. #endif /* _SNMPTRAPD_LOG_H */