EC_NODE_SCHEMA_DUMP(3)
π 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:
ec_node_check_type(3)ec_node_iter(3)ec_node_attrs(3)ec_node_find(3)ec_node_type_name(3)ec_node_free(3)ec_node_id(3)ec_node_type_dump(3)ec_node_get_config(3)ec_node_priv(3)ec_node_type_lookup(3)ec_node_clone(3)ec_node_dump(3)ec_node_desc(3)ec_node_iter_free(3)ec_node_iter_get_parent(3)ec_node_from_type(3)ec_node_type(3)ec_node_iter_next(3)ec_node_type_schema(3)ec_node(3)ec_node_get_children_count(3)ec_node_get_type_name(3)ec_node_type_register(3)ec_node_set_config(3)ec_node_iter_get_node(3)ec_node_get_child(3)
π COPYRIGHT π
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
- 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