EC_NODE_SCHEMA_DUMP(3)

πŸ“¦
version 0.11.7 Β· 4 versions
, in fedora 44

πŸ’– EC_NODE_SCHEMA_DUMP πŸ’–

okay bestie, welcome to the Libecoli Programmer's Manual ✨ this one's called EC_NODE_SCHEMA_DUMP(3) and it's literally the vibe-check for your node's configuration schema. no cap.


🌸 NAME 🌸

ec_node_schema_dump β€” Dump the node configuration schema. that's it. that's the whole job. she dumps. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

first things first, you gotta pull in the header or nothing works, periodt:

#include <ecoli/node.h>

and here's the function signature, copy it EXACTLY, don't freestyle:

void ec_node_schema_dump(
    FILE                   *out,   /* The stream where the dump is sent. */
    const struct ec_node   *node   /* The grammar node. */
);

✨ DESCRIPTION ✨

so like. you have a node, right? a grammar node, the whole struct ec_node situation. and you have an out β€” that's a FILE *, the stream where the dump is sent. πŸ“¬

you hand both of them to ec_node_schema_dump and it dumps the node configuration schema into that stream. that's the move. it returns void, so don't be out here checking a return value, there isn't one, she said what she said πŸ™ˆ

two params, zero regrets:

  • FILE *out β€” the stream where the dump is sent. that's where the schema text goes. pick your destination, bestie πŸŽ€
  • const struct ec_node *node β€” the grammar node. const, so we're looking, not touching πŸ‘€
heads up: there's no return value and no error reporting mentioned here, so don't invent one. the schema goes into out, and that's the tea. πŸ“

πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, go say hi:


Copyright (C) 2010-2026 Olivier Matz, Robin Jarry. protect them at all costs 🫢


and that's the whole page, bestie, you ate πŸ’– this lil ray of sunshine came to you from libecoli, dated 2026-06-11, filed under EC_NODE_SCHEMA_DUMP(3). go dump a schema, you got this πŸ‘‘βœ¨

πŸ“¦ where this page comes from