From 6b178bd41548b561913be45a6ee649a497ec5d1f Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Thu, 29 Dec 2011 00:08:47 +0000 Subject: Add 'extern "C"' wrappers and #include guards to various header files. svn path=/trunk/; revision=40321 --- capture_opts.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'capture_opts.h') diff --git a/capture_opts.h b/capture_opts.h index 7778bf49af..baa40099a7 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -38,6 +38,10 @@ #include "capture_ifinfo.h" +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /* Current state of capture engine. XXX - differentiate states */ typedef enum { CAPTURE_STOPPED, /**< stopped */ @@ -190,4 +194,8 @@ capture_opts_trim_ring_num_files(capture_options *capture_opts); extern gboolean capture_opts_trim_iface(capture_options *capture_opts, const char *capture_device); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* capture_opts.h */ -- cgit v1.2.3