aboutsummaryrefslogtreecommitdiffstats
path: root/extcap.h
diff options
context:
space:
mode:
authorRoland Knall <roland.knall@br-automation.com>2015-04-28 10:26:46 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2015-05-05 09:35:10 +0000
commit5727ebe6890bc263b90b3a77435b7aa7ae0ca411 (patch)
tree28e492c5118ad14481c0759859fc59829a78686e /extcap.h
parentcdaad860720a17d889e759d9e263c5fcadaf36a2 (diff)
extcap: Implement QT extcap options
Implementing a button in the interface list, to bring up the extcap options dialog, as well as a dialog, which will be generated depending on the selected extcap options. Change-Id: I1733dc6a8c1a121089a9c353aff10bc4a53e86de Reviewed-on: https://code.wireshark.org/review/8224 Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com> Reviewed-by: Roland Knall <rknall@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'extcap.h')
-rw-r--r--extcap.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/extcap.h b/extcap.h
index 259c088d89..60f3904ce0 100644
--- a/extcap.h
+++ b/extcap.h
@@ -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