ecoli_node_dynlist(3)

πŸ“¦
version 0.11.3 Β· 2 versions
, in epel 9

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 the get function.
  • re_str β€” The regular expression defining the valid pattern for object names.
  • flags β€” Customize parsing and completion behavior.

Returns:

  • The dynlist grammar node, or NULL on 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