reorganize sources
[protos/libecoli.git] / libecoli / ecoli_node_str.h
diff --git a/libecoli/ecoli_node_str.h b/libecoli/ecoli_node_str.h
new file mode 100644 (file)
index 0000000..8a8634f
--- /dev/null
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright 2016, Olivier MATZ <zer0@droids-corp.org>
+ */
+
+#ifndef ECOLI_NODE_STR_
+#define ECOLI_NODE_STR_
+
+#include <ecoli_node.h>
+
+struct ec_node *ec_node_str(const char *id, const char *str);
+
+/* str is duplicated */
+int ec_node_str_set_str(struct ec_node *node, const char *str);
+
+#endif