|
41 | 41 | #include <villas/common.hpp> |
42 | 42 | #include <villas/mapping.h> |
43 | 43 | #include <villas/task.hpp> |
| 44 | +#include <villas/node_list.hpp> |
44 | 45 |
|
45 | 46 | #include <villas/log.hpp> |
46 | 47 |
|
@@ -104,7 +105,7 @@ struct vpath { |
104 | 105 | /** Initialize internal data structures. */ |
105 | 106 | int path_init(struct vpath *p) __attribute__ ((warn_unused_result)); |
106 | 107 |
|
107 | | -int path_prepare(struct vpath *p, struct vlist *nodes); |
| 108 | +int path_prepare(struct vpath *p, villas::node::NodeList &nodes); |
108 | 109 |
|
109 | 110 | /** Check if path configuration is proper. */ |
110 | 111 | void path_check(struct vpath *p); |
@@ -158,9 +159,9 @@ int path_reverse(struct vpath *p, struct vpath *r); |
158 | 159 | * @retval 0 Success. Everything went well. |
159 | 160 | * @retval <0 Error. Something went wrong. |
160 | 161 | */ |
161 | | -int path_parse(struct vpath *p, json_t *json, struct vlist *nodes, const uuid_t sn_uuid); |
| 162 | +int path_parse(struct vpath *p, json_t *json, villas::node::NodeList &nodes, const uuid_t sn_uuid); |
162 | 163 |
|
163 | | -void path_parse_mask(struct vpath *p, json_t *json_mask, struct vlist *nodes); |
| 164 | +void path_parse_mask(struct vpath *p, json_t *json_mask, villas::node::NodeList &nodes); |
164 | 165 |
|
165 | 166 | bool path_is_simple(const struct vpath *p); |
166 | 167 |
|
|
0 commit comments