ecoli_node_dynlist(3)
okay bestie, buckle up π β this is ecoli_node_dynlist(3) from Libecoli, and it's giving βdynamic list nodeβ energy in the best way.
π NAME π
ecoli_node_dynlist β Dynamic list node.
- A node that matches names from a dynamic list.
β¨ SYNOPSIS β¨
Typedefs
typedef struct ec_strvec *(* ec_node_dynlist_get_t) (struct ec_pnode
*pstate, void *opaque)
Enumerations
enum ec_node_dynlist_flags { DYNLIST_MATCH_LIST = 1 << 0,
DYNLIST_MATCH_REGEXP = 1 << 1, DYNLIST_EXCLUDE_LIST = 1 << 2 }
Functions
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)
πΈ Detailed Description πΈ
A node that matches names from a dynamic list. periodt π
This node is able to parse a list of object names, returned by a user-defined function as a string vector. So like, your callback provides the names, and the node goes to work. iconic behavior β¨
Some flags can alter the behavior of parsing and completion:
- Match names returned by the user callback.
- Match names from a regular expression pattern.
- Don't match names returned by the user callback, even if it matches the regexp.
π Configuration Schema π
No configuration schema. That's it. Zero. Nada. π«Ά
π¦ Typedef Documentation π¦
typedef struct ec_strvec*(* ec_node_dynlist_get_t) (struct ec_pnode *pstate,
void *opaque)
Callback invoked by parse() or complete() to build the strvec containing the list of object names. she's doing her little job π
Parameters:
pstateβ The current parsing state.opaqueβ The user pointer passed at node creation.
Returns:
- A string vector containing the list of object names.
Definition at line 1 of file node_dynlist.h.
π Enumeration Type Documentation π
enum ec_node_dynlist_flags β Flags passed at ec_node_dynlist creation.
Enumerator:
DYNLIST_MATCH_LISTβ Match names returned by the user callback.DYNLIST_MATCH_REGEXPβ Match names from regexp pattern.DYNLIST_EXCLUDE_LISTβ Don't match names returned by the user callback, even if it matches the regexp.
Definition at line 42 of file node_dynlist.h.
π Function Documentation π
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)
Create a dynlist node. main character construction moment π¦
The parsing and completion depend on a list returned by a user-provided callback, a regular expression, and flags.
Parameters:
idβ The node identifier.getβ The function that returns the list of object names as a string vector.opaqueβ A user pointer passed to thegetfunction.re_strβ The regular expression defining the valid pattern for object names.flagsβ Customize parsing and completion behavior.
Returns:
- The dynlist grammar node, or
NULLon error.
π Author π
Generated automatically by Doxygen for Libecoli from the source code.
okay that's the whole page, bestie π«Ά β this cute little manpage is version 0.11.3, dated Thu Apr 9 2026, and yes the manual is still ecoli_node_dynlist(3). mwah π slay β¨
π¦ where this page comes from
- epel 9: libecoli-devel 0.11.3-1.el9 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms