int bus_match_parse(
const char *match,
- struct bus_match_component **_components,
- unsigned *_n_components) {
+ struct bus_match_component **ret_components,
+ unsigned *ret_n_components) {
const char *p = match;
struct bus_match_component *components = NULL;
int r;
assert(match);
- assert(_components);
- assert(_n_components);
+ assert(ret_components);
+ assert(ret_n_components);
while (*p != 0) {
const char *eq, *q;
goto fail;
}
- *_components = components;
- *_n_components = n_components;
+ *ret_components = components;
+ *ret_n_components = n_components;
return 0;
const char* bus_match_node_type_to_string(enum bus_match_node_type t, char buf[], size_t l);
enum bus_match_node_type bus_match_node_type_from_string(const char *k, size_t n);
-int bus_match_parse(const char *match, struct bus_match_component **_components, unsigned *_n_components);
+int bus_match_parse(const char *match, struct bus_match_component **ret_components, unsigned *ret_n_components);
void bus_match_parse_free(struct bus_match_component *components, unsigned n_components);
char *bus_match_to_string(struct bus_match_component *components, unsigned n_components);