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
23
struct
ec_node
;
24
struct
ec_pnode
;
25
37
typedef
struct
ec_strvec
*(*ec_node_dynlist_get_t)(
struct
ec_pnode
*pstate,
void
*opaque);
38
42
enum
ec_node_dynlist_flags
{
46
DYNLIST_MATCH_LIST
= 1 << 0,
47
51
DYNLIST_MATCH_REGEXP
= 1 << 1,
52
57
DYNLIST_EXCLUDE_LIST
= 1 << 2,
58
};
59
79
struct
ec_node
*
ec_node_dynlist
(
80
const
char
*
id
,
81
ec_node_dynlist_get_t
get,
82
void
*opaque,
83
const
char
*re_str,
84
enum
ec_node_dynlist_flags
flags
85
);
86
ec_node_dynlist
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_get_t
struct ec_strvec *(* ec_node_dynlist_get_t)(struct ec_pnode *pstate, void *opaque)
Definition
node_dynlist.h:37
ec_node_dynlist_flags
ec_node_dynlist_flags
Definition
node_dynlist.h:42
DYNLIST_MATCH_REGEXP
@ DYNLIST_MATCH_REGEXP
Definition
node_dynlist.h:51
DYNLIST_MATCH_LIST
@ DYNLIST_MATCH_LIST
Definition
node_dynlist.h:46
DYNLIST_EXCLUDE_LIST
@ DYNLIST_EXCLUDE_LIST
Definition
node_dynlist.h:57
ec_node
struct ec_node * ec_node(const char *typename, const char *id)
ec_pnode
struct ec_pnode * ec_pnode(const struct ec_node *node)
ec_strvec
struct ec_strvec * ec_strvec(void)
include
ecoli
node_dynlist.h
Generated by
1.14.0