EC_NODE_DYNLIST(3)
EC_NODE_DYNLIST(3) π
okay bestie, welcome to the Libecoli Programmer's Manual β¨ this one's from the libecoli crew and it's literally all about making a dynlist node. yes, we're doing C today. yes, you're gonna slay. let's go π¦
β¨ NAME β¨
ec_node_dynlist β Create a dynlist node. that's it. that's the whole job. iconic behavior honestly π
πΈ SYNOPSIS πΈ
#include <ecoli/node_dynlist.h>
struct ec_node * ec_node_dynlist(
const char *id, /* The node identifier. */
/*
* The function that returns the list of object names as a string vector.
*/
ec_node_dynlist_get_t get,
void *opaque, /* A user pointer passed to the get function. */
/*
* The regular expression defining the valid pattern for object names.
*/
const char *re_str,
enum ec_node_dynlist_flags flags /* Customize parsing and completion behavior. */
);
like look at that signature. four-ish things going in and a whole node coming out. main character energy fr fr π
π DESCRIPTION π
so the vibe here is: the parsing and completion depend on a list returned by a user-provided callback, a regular expression, and flags. that's the trio. that's the whole squad. the callback hands you the names, the regex says which shapes are valid, and the flags fine-tune how it all goes down π
π§ STRUCTURES π§
here's the flag enum, bestie, in all its glory:
enum ec_node_dynlist_flags {
DYNLIST_MATCH_LIST;
DYNLIST_MATCH_REGEXP;
DYNLIST_EXCLUDE_LIST;
};
three little icons, three little moods. DYNLIST_MATCH_LIST, DYNLIST_MATCH_REGEXP, and DYNLIST_EXCLUDE_LIST. periodt β¨
β RETURN VALUE β
you get the dynlist grammar node back π«Ά β¦or NULL on error π (we don't talk about the error timeline).
π SEE ALSO π
literally nothing here bestie, the section exists but it's empty. a moment of silence ποΈ
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry. respect the authors, they ate π
kisses, this was libecoli, dated 2026-06-11, page EC_NODE_DYNLIST(3) β go make some dynlist nodes bestie, you got this π β¨π¦
π¦ where this page comes from
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms