summaryrefslogtreecommitdiff
path: root/src/nat_format.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nat_format.h')
-rw-r--r--src/nat_format.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/nat_format.h b/src/nat_format.h
index da1519f..6452b99 100644
--- a/src/nat_format.h
+++ b/src/nat_format.h
@@ -16,9 +16,9 @@
struct nat_format_global_info {
u_int32_t batch_size;
char host_ip[64];
- u_int32_t host_port;
+ int32_t host_port;
char multicast_ip[64];
- u_int32_t multicast_port;
+ int32_t multicast_port;
int32_t hw_syslog_port;
int32_t hw_binary_port;
@@ -50,4 +50,8 @@ struct nat_payload {
char protocol = FORMAT_LOG_PROTOCOL_UDP;
};
+extern "C" int nat_format_init(void);
+extern "C" void nat_format_destroy(void);
+extern "C" char nat_format_entry(struct streaminfo *a_udp, void **pme, int thread_seq, void *a_packet);
+
#endif // NAT_FORMAT_H_