Better way of working out any flag.

This commit is contained in:
Nicholas Marriott
2026-06-30 18:48:58 +01:00
parent 36273fde4f
commit fefb926291
3 changed files with 117 additions and 44 deletions

View File

@@ -81,6 +81,7 @@ struct cmd_parse_tree *cmd_parse_from_string(const char *,
struct cmd_parse_tree *cmd_parse_from_node(struct cmd_parse_node *);
struct cmd_parse_tree *cmd_parse_from_arguments(struct args_value *, u_int);
struct cmd_parse_tree *cmd_parse_add_ref(struct cmd_parse_tree *);
int cmd_parse_any_have(struct cmd_parse_tree *, int);
void cmd_parse_free(struct cmd_parse_tree *);
struct cmd_parse_node *cmd_parse_root(struct cmd_parse_tree *);
char *cmd_parse_print(struct cmd_parse_tree *);