Libecoli 0.11.1
Extensible COmmand LIne library
Loading...
Searching...
No Matches
node_dynlist.h
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright 2025, Olivier MATZ <zer0@droids-corp.org>
3 */
4
20
21#pragma once
22
23struct ec_node;
24struct ec_pnode;
25
37typedef struct ec_strvec *(*ec_node_dynlist_get_t)(struct ec_pnode *pstate, void *opaque);
38
59
80 const char *id,
82 void *opaque,
83 const char *re_str,
84 enum ec_node_dynlist_flags flags
85);
86
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)
struct ec_strvec *(* ec_node_dynlist_get_t)(struct ec_pnode *pstate, void *opaque)
ec_node_dynlist_flags
@ DYNLIST_MATCH_REGEXP
@ DYNLIST_MATCH_LIST
@ DYNLIST_EXCLUDE_LIST
struct ec_node * ec_node(const char *typename, const char *id)
struct ec_pnode * ec_pnode(const struct ec_node *node)
struct ec_strvec * ec_strvec(void)