diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-07-15 19:28:12 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-07-16 02:28:39 +0000 |
commit | 0e0d01d045b3ed903cd7394c628084e0bb2a1925 (patch) | |
tree | 4138fcff8763d3a629c02eef46b1e579e6ab0ee5 /caputils | |
parent | 4d71fb79ba531e4484e27084dccf61d9b63130a8 (diff) | |
download | wireshark-0e0d01d045b3ed903cd7394c628084e0bb2a1925.tar.gz |
Allow the interface monitor routines to be called from C++.
Change-Id: I2ae60c1b015a432f5df36bd623f1a4c69b02bef1
Reviewed-on: https://code.wireshark.org/review/3081
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'caputils')
-rw-r--r-- | caputils/iface_monitor.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/caputils/iface_monitor.h b/caputils/iface_monitor.h index d6269cf627..12de37c902 100644 --- a/caputils/iface_monitor.h +++ b/caputils/iface_monitor.h @@ -22,6 +22,10 @@ #ifndef IFACE_MONITOR_H #define IFACE_MONITOR_H +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #ifdef HAVE_LIBPCAP /* @@ -72,4 +76,8 @@ iface_mon_event(void); #endif /* HAVE_LIBPCAP */ +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* IFACE_MONITOR_H */ |