diff options
Diffstat (limited to 'apps/snmptrapd_log.h')
-rw-r--r-- | apps/snmptrapd_log.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/apps/snmptrapd_log.h b/apps/snmptrapd_log.h new file mode 100644 index 0000000..e8d797a --- /dev/null +++ b/apps/snmptrapd_log.h @@ -0,0 +1,18 @@ +#ifndef _SNMPTRAPD_LOG_H +#define _SNMPTRAPD_LOG_H + +#include "snmptrapd_ds.h" + +int realloc_format_trap(u_char ** buf, size_t * buf_len, + size_t * out_len, int allow_realloc, + const char *format_str, + netsnmp_pdu *pdu, + struct netsnmp_transport_s *transport); + +int realloc_format_plain_trap(u_char ** buf, size_t * buf_len, + size_t * out_len, + int allow_realloc, + netsnmp_pdu *pdu, + struct netsnmp_transport_s + *transport); +#endif /* _SNMPTRAPD_LOG_H */ |