File: snmptrapd_log.h

package info (click to toggle)
net-snmp 5.9.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 37,540 kB
  • sloc: ansic: 282,201; perl: 17,710; sh: 12,006; makefile: 2,712; python: 735; xml: 663; pascal: 62; sql: 47
file content (18 lines) | stat: -rw-r--r-- 848 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 */