Loading...
Searching...
No Matches
node_helper.h
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright 2018, Olivier MATZ <zer0@droids-corp.org>
*/
#pragma once
#include <stdarg.h>
#include <stddef.h>
#include <ecoli/config.h>
struct ec_node;
struct ec_node **ec_node_config_node_list_to_table(const struct ec_config *config, size_t *len);
struct ec_config *ec_node_config_node_list_from_vargs(va_list ap);
ec_node_config_node_list_to_table
struct ec_node ** ec_node_config_node_list_to_table(const struct ec_config *config, size_t *len)
Build a node table from a node list in an ec_config.
ec_node_config_node_list_from_vargs
struct ec_config * ec_node_config_node_list_from_vargs(va_list ap)
Build a list of config nodes from variable arguments.
ec_node
struct ec_node * ec_node(const char *typename, const char *id)
Create a new node from its type name.
ec_config
Structure storing the configuration data.
Definition config.h:66