2 * Helper routines for executing extcap utilities
4 * Copyright 2016, Roland Knall <rknall@gmail.com>
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
10 * SPDX-License-Identifier: GPL-2.0-or-later
13 #ifndef __EXTCAP_SPAWN_H__
14 #define __EXTCAP_SPAWN_H__
22 typedef struct _extcap_userdata {
24 gchar * extcap_stderr;
26 gint extcap_stderr_rd;
27 gint extcap_stdout_rd;
33 gboolean extcap_spawn_sync ( gchar * dirname, gchar * command, gint argc, gchar ** argv, gchar ** command_output );
35 GPid extcap_spawn_async ( extcap_userdata * userdata, GPtrArray * args );
38 gboolean extcap_wait_for_pipe(HANDLE * pipe_handles, int num_pipe_handles, HANDLE pid);
44 * Editor modelines - http://www.wireshark.org/tools/modelines.html
49 * indent-tabs-mode: nil
52 * vi: set shiftwidth=4 tabstop=8 expandtab:
53 * :indentSize=4:tabSize=8:noTabs=true: