diff options
author | Gerald Combs <gerald@wireshark.org> | 2011-12-29 00:08:47 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2011-12-29 00:08:47 +0000 |
commit | 6b178bd41548b561913be45a6ee649a497ec5d1f (patch) | |
tree | 81727fd787260953b047a6b711a1ebb3a6946684 /capture.h | |
parent | cb9725ce2beefe34c08dc954ff2a9c51c6a7e3bd (diff) | |
download | wireshark-6b178bd41548b561913be45a6ee649a497ec5d1f.tar.gz wireshark-6b178bd41548b561913be45a6ee649a497ec5d1f.tar.bz2 wireshark-6b178bd41548b561913be45a6ee649a497ec5d1f.zip |
Add 'extern "C"' wrappers and #include guards to various header files.
svn path=/trunk/; revision=40321
Diffstat (limited to 'capture.h')
-rw-r--r-- | capture.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -33,6 +33,10 @@ #include "capture_opts.h" +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + typedef enum { capture_cb_capture_prepared, capture_cb_capture_update_started, @@ -123,4 +127,8 @@ extern gboolean capture_stats(if_stat_cache_t *sc, char *ifname, struct pcap_sta */ void capture_stat_stop(if_stat_cache_t *sc); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* capture.h */ |