From b5166476721dd0b663f52bd220ef008ca269c0dc Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 19 Apr 2001 16:35:39 +0000 Subject: pkttype match (new) + scorefile, libiptc C++ compatibility + scorefile --- include/libiptc/libiptc.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include') 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 #include +#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 */ -- cgit v1.2.3