EC_NODE_DYNAMIC(3)

πŸ’– EC_NODE_DYNAMIC(3) πŸ’–

okay bestie, welcome to the Libecoli Programmer's Manual β€” section 3, the library functions section, the one where all the good stuff lives 🫢. Today's main character is ec_node_dynamic, and she's kind of a big deal.


✨ NAME ✨

ec_node_dynamic β€” a dynamic node where the parsing and the validation are both done in a user-provided callback. like, you bring the callback, she brings the node. it's giving collaboration πŸ’…


🌸 SYNOPSIS 🌸

first things first, you gotta pull in the header:

#include <ecoli/node_dynamic.h>

and here's the function signature, exactly as she is, no edits, no notes:

struct ec_node * ec_node_dynamic(
    const char              *id,
    ec_node_dynamic_build_t  build,
    void                    *opaque
);

so you're handing over an id, a build thing of type ec_node_dynamic_build_t, and an opaque pointer, and what comes back is a struct ec_node *. that's the whole vibe check ✨


πŸ‘€ SEE ALSO πŸ‘€

not me checking for cross-references and finding… literally nothing 😭 the original page lists this section with no references at all underneath it. so bestie, there's nothing to see here, and that's canon. no cap.


Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.

all the credit goes to Olivier Matz and Robin Jarry, holding it down from 2010 all the way through 2026 πŸ‘‘ absolute legends, periodt.


and that's the whole page, bestie!! πŸŒˆπŸ’– this iconic little number comes to you from libecoli, dated 2026-06-11 β€” go forth and callback responsibly πŸ¦‹πŸŒΈπŸ’œ

πŸ“¦ where this page comes from