2 * Definitions for extcap external capture
3 * Copyright 2013, Mike Ryan <mikeryan@lacklustre.net>
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
33 #include <wsutil/unicode-utils.h>
36 #include <ui/capture_ui_utils.h>
40 #define EXTCAP_ARGUMENT_CONFIG "--extcap-config"
41 #define EXTCAP_ARGUMENT_LIST_INTERFACES "--extcap-interfaces"
42 #define EXTCAP_ARGUMENT_INTERFACE "--extcap-interface"
43 #define EXTCAP_ARGUMENT_LIST_DLTS "--extcap-dlts"
45 #define EXTCAP_ARGUMENT_RUN_CAPTURE "--capture"
46 #define EXTCAP_ARGUMENT_RUN_PIPE "--fifo"
48 /* try to get if capabilities from extcap */
50 extcap_get_if_dlts(const gchar * ifname, char ** err_str);
52 /* get a list of all capture interfaces */
54 extcap_interface_list(char **err_str);
56 /* returns the configuration for the given interface name, or an
57 * empty list, if no configuration has been found */
59 extcap_get_if_configuration(const char * ifname);
63 extcap_get_win32_handle();
67 extcaps_init_initerfaces(capture_options * capture_opts);
70 extcap_create_pipe(char ** fifo);
73 extcap_cleanup(capture_options * capture_opts _U_);
80 * Editor modelines - http://www.wireshark.org/tools/modelines.html
85 * indent-tabs-mode: nil
88 * vi: set shiftwidth=4 tabstop=8 expandtab:
89 * :indentSize=4:tabSize=8:noTabs=true: