EC_NODE_TYPE_LOOKUP(3)
EC_NODE_TYPE_LOOKUP(3) π
okay bestie, welcome to the Libecoli Programmer's Manual β this one's a lil cutie, a lookup function, and honestly? she's giving β¨directory serviceβ¨
NAME π
ec_node_type_lookup β lookup a node type by name. that's it, that's the whole job π
SYNOPSIS πΈ
#include <ecoli/node.h>
const struct ec_node_type * ec_node_type_lookup(
const char *name /* The name of the node type to search. */
);
so you hand her a name β the name of the node type you're searching for β and she goes and finds it. iconic behaviour, no notes π«Ά
RETURN VALUE π
she hands you back the node type you asked for β read-only bestie, do not try to mess with her, she is not yours to edit π β or she returns NULL if something went wrong. yep, NULL on error. that's the whole vibe check: node type if found, NULL on error. periodt. β¨
ngl, check for that NULL fr fr β she's not gonna warn you twice π
SEE ALSO π¦
the whole girl group, in the order they showed up:
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_schema_dump(3)ec_node_priv(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.
and that's the page, bestie π«Ά this was libecoli, dated 2026-06-11, and she ate, no cap π
β¨
π¦ 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