Libecoli
0.11.5
Extensible COmmand LIne library
Toggle main menu visibility
Loading...
Searching...
No Matches
node_seq.h
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright 2016, Olivier MATZ <zer0@droids-corp.org>
3
*/
4
12
13
#pragma once
14
15
#include <ecoli/node.h>
16
29
#define EC_NODE_SEQ(args...) __ec_node_seq(args, EC_VA_END)
30
31
/* list must be terminated with EC_VA_END */
32
/* all nodes given in the list will be freed when freeing this one */
33
/* avoid using this function directly, prefer the macro EC_NODE_SEQ() or
34
* ec_node_seq() + ec_node_seq_add() */
35
struct
ec_node
*__ec_node_seq(
const
char
*
id
, ...);
36
47
struct
ec_node
*
ec_node_seq
(
const
char
*
id
);
48
60
int
ec_node_seq_add
(
struct
ec_node
*node,
struct
ec_node
*child);
61
ec_node_seq
struct ec_node * ec_node_seq(const char *id)
ec_node_seq_add
int ec_node_seq_add(struct ec_node *node, struct ec_node *child)
ec_node
struct ec_node * ec_node(const char *typename, const char *id)
ecoli
node_seq.h
Generated by
1.17.0