diff options
author | Harald Welte <laforge@gnumonks.org> | 2001-04-19 16:35:39 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2001-04-19 16:35:39 +0000 |
commit | b5166476721dd0b663f52bd220ef008ca269c0dc (patch) | |
tree | e3a0b5b9c167799b99c2a928ce192c7d43a1e33d /include | |
parent | 3666e0e686639b95c91d82b90e8296a5b77a49f2 (diff) |
pkttype match (new) + scorefile,
libiptc C++ compatibility + scorefile
Diffstat (limited to 'include')
-rw-r--r-- | include/libiptc/libiptc.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/libiptc/libiptc.h b/include/libiptc/libiptc.h index 6bb37323..82745f93 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 */ |