Libecoli  0.10.1
Extensible COmmand LIne library
node_dynlist.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright 2025, Olivier MATZ <zer0@droids-corp.org>
3  */
4 
18 #pragma once
19 
20 struct ec_node;
21 struct ec_pnode;
22 
34 typedef struct ec_strvec *(*ec_node_dynlist_get_t)(struct ec_pnode *pstate, void *opaque);
35 
44 
49 
54 };
55 
74  const char *id,
76  void *opaque,
77  const char *re_str,
78  enum ec_node_dynlist_flags flags
79 );
80 
struct ec_strvec *(* ec_node_dynlist_get_t)(struct ec_pnode *pstate, void *opaque)
Definition: node_dynlist.h:34
struct ec_node * ec_node_dynlist(const char *id, ec_node_dynlist_get_t get, void *opaque, const char *re_str, enum ec_node_dynlist_flags flags)
ec_node_dynlist_flags
Definition: node_dynlist.h:39
struct ec_node * ec_node(const char *typename, const char *id)
@ DYNLIST_MATCH_REGEXP
Definition: node_dynlist.h:48
@ DYNLIST_MATCH_LIST
Definition: node_dynlist.h:43
@ DYNLIST_EXCLUDE_LIST
Definition: node_dynlist.h:53
struct ec_pnode * ec_pnode(const struct ec_node *node)
struct ec_strvec * ec_strvec(void)