4 * eXtension command line options
6 * (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org>
8 * Wireshark - Network traffic analyzer
9 * By Gerald Combs <gerald@wireshark.org>
10 * Copyright 1998 Gerald Combs
12 * SPDX-License-Identifier: GPL-2.0-or-later
18 #include "ws_symbol_export.h"
22 #endif /* __cplusplus */
24 /* will be called by main each time a -X option is found */
25 WS_DLL_PUBLIC gboolean ex_opt_add(const gchar* optarg);
27 /* yields the number of arguments of a given key obviously returns 0 if there aren't */
28 WS_DLL_PUBLIC gint ex_opt_count(const gchar* key);
30 /* fetches the nth argument of a given key returns NULL if there isn't */
31 WS_DLL_PUBLIC const gchar* ex_opt_get_nth(const gchar* key, guint key_index);
33 /* extracts the next value of a given key */
34 WS_DLL_PUBLIC const gchar* ex_opt_get_next(const gchar* key);
38 #endif /* __cplusplus */
40 #endif /* _EX_OPT_H */