aboutsummaryrefslogtreecommitdiffstats
path: root/extcap_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'extcap_parser.h')
-rw-r--r--extcap_parser.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/extcap_parser.h b/extcap_parser.h
index 1fd4d42071..3d4c8d0d7b 100644
--- a/extcap_parser.h
+++ b/extcap_parser.h
@@ -34,7 +34,8 @@ typedef enum {
EXTCAP_SENTENCE_VALUE,
EXTCAP_SENTENCE_EXTCAP,
EXTCAP_SENTENCE_INTERFACE,
- EXTCAP_SENTENCE_DLT
+ EXTCAP_SENTENCE_DLT,
+ EXTCAP_SENTENCE_CONTROL
} extcap_sentence_type;
typedef enum {
@@ -78,7 +79,9 @@ typedef enum {
EXTCAP_PARAM_SAVE,
EXTCAP_PARAM_VALIDATION,
EXTCAP_PARAM_VERSION,
- EXTCAP_PARAM_HELP
+ EXTCAP_PARAM_HELP,
+ EXTCAP_PARAM_CONTROL,
+ EXTCAP_PARAM_ROLE
} extcap_param_type;
#define ENUM_KEY(s) GUINT_TO_POINTER((guint)s)
@@ -197,7 +200,7 @@ void extcap_free_arg_list(GList *a);
GList * extcap_parse_args(gchar *output);
/* Parse all sentences for interfaces */
-GList * extcap_parse_interfaces(gchar *output);
+GList * extcap_parse_interfaces(gchar *output, GList **control_items);
/* Parse all sentences for DLTs */
GList * extcap_parse_dlts(gchar *output);