diff options
Diffstat (limited to 'extcap.h')
-rw-r--r-- | extcap.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -48,6 +48,10 @@ #define EXTCAP_ARGUMENT_RUN_CAPTURE "--capture" #define EXTCAP_ARGUMENT_RUN_PIPE "--fifo" +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /* try to get if capabilities from extcap */ if_capabilities_t * extcap_get_if_dlts(const gchar * ifname, char ** err_str); @@ -61,6 +65,9 @@ extcap_interface_list(char **err_str); GList * extcap_get_if_configuration(const char * ifname); +gboolean +extcap_has_configuration(const char * ifname); + #ifdef WIN32 HANDLE extcap_get_win32_handle(); @@ -75,6 +82,10 @@ extcap_create_pipe(char ** fifo); void extcap_cleanup(capture_options * capture_opts _U_); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif #endif |