summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlaforge <laforge>2001-04-19 16:35:39 +0000
committerlaforge <laforge>2001-04-19 16:35:39 +0000
commit940531ee3445943a397aa5c8e9e3ab4991faf068 (patch)
treee3a0b5b9c167799b99c2a928ce192c7d43a1e33d /include
parent679cc598df91548fd81c32cadc2b59b53dcaa5d9 (diff)
pkttype match (new) + scorefile,
libiptc C++ compatibility + scorefile
Diffstat (limited to 'include')
-rw-r--r--include/libiptc/libiptc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/libiptc/libiptc.h b/include/libiptc/libiptc.h
index 6bb3732..82745f9 100644
--- a/include/libiptc/libiptc.h
+++ b/include/libiptc/libiptc.h
@@ -5,6 +5,10 @@
#include <libiptc/ipt_kernel_headers.h>
#include <linux/netfilter_ipv4/ip_tables.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef IPT_MIN_ALIGN
/* ipt_entry has pointers and u_int64_t's in it, so if you align to
it, you'll also align to any crazy matches and targets someone
@@ -150,4 +154,10 @@ int iptc_get_raw_socket();
/* Translates errno numbers into more human-readable form than strerror. */
const char *iptc_strerror(int err);
+
+#ifdef __cplusplus
+}
+#endif
+
+
#endif /* _LIBIPTC_H */