Searched refs:components (Results 1 - 6 of 6) sorted by relevance
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-control.h | 26 int bus_add_match_internal(sd_bus *bus, const char *match, struct bus_match_component *components, unsigned n_components, uint64_t cookie); 29 int bus_add_match_internal_kernel(sd_bus *bus, struct bus_match_component *components, unsigned n_components, uint64_t cookie);
|
H A D | bus-match.h | 84 int bus_match_add(struct bus_match_node *root, struct bus_match_component *components, unsigned n_components, struct match_callback *callback); 87 int bus_match_find(struct bus_match_node *root, struct bus_match_component *components, unsigned n_components, sd_bus_message_handler_t callback, void *userdata, struct match_callback **ret); 97 void bus_match_parse_free(struct bus_match_component *components, unsigned n_components); 98 char *bus_match_to_string(struct bus_match_component *components, unsigned n_components); 100 enum bus_match_scope bus_match_get_scope(const struct bus_match_component *components, unsigned n_components);
|
H A D | test-bus-match.c | 56 struct bus_match_component *components = NULL; local 64 r = bus_match_parse(match, &components, &n_components); 71 r = bus_match_add(root, components, n_components, &s->match_callback); 72 bus_match_parse_free(components, n_components); 78 struct bus_match_component *components = NULL; local 81 assert_se(bus_match_parse(match, &components, &n_components) >= 0); 82 assert_se(bus_match_get_scope(components, n_components) == scope); 83 bus_match_parse_free(components, n_components);
|
H A D | bus-match.c | 786 void bus_match_parse_free(struct bus_match_component *components, unsigned n_components) { argument 790 free(components[i].value_str); 792 free(components); 801 struct bus_match_component *components = NULL; local 894 if (!GREEDY_REALLOC(components, components_allocated, n_components + 1)) { 899 components[n_components].type = t; 900 components[n_components].value_str = value; 901 components[n_components].value_u8 = u; 918 qsort_safe(components, n_components, sizeof(struct bus_match_component), match_component_compare); 922 if (components[ 937 bus_match_to_string(struct bus_match_component *components, unsigned n_components) argument 978 bus_match_add( struct bus_match_node *root, struct bus_match_component *components, unsigned n_components, struct match_callback *callback) argument 1036 bus_match_find( struct bus_match_node *root, struct bus_match_component *components, unsigned n_components, sd_bus_message_handler_t callback, void *userdata, struct match_callback **ret) argument 1183 bus_match_get_scope(const struct bus_match_component *components, unsigned n_components) argument [all...] |
H A D | bus-control.c | 1221 struct bus_match_component *components, 1249 struct bus_match_component *c = &components[i]; 1466 struct bus_match_component *components, 1476 return bus_add_match_internal_kernel(bus, components, n_components, cookie); 1219 bus_add_match_internal_kernel( sd_bus *bus, struct bus_match_component *components, unsigned n_components, uint64_t cookie) argument 1463 bus_add_match_internal( sd_bus *bus, const char *match, struct bus_match_component *components, unsigned n_components, uint64_t cookie) argument
|
H A D | sd-bus.c | 2971 struct bus_match_component *components = NULL; local 2980 r = bus_match_parse(match, &components, &n_components); 2996 scope = bus_match_get_scope(components, n_components); 3015 r = bus_add_match_internal(bus, s->match_callback.match_string, components, n_components, s->match_callback.cookie); 3024 r = bus_match_add(&bus->match_callbacks, components, n_components, &s->match_callback); 3033 bus_match_parse_free(components, n_components); 3045 struct bus_match_component *components = NULL; local 3054 r = bus_match_parse(match, &components, &n_components); 3058 r = bus_match_find(&bus->match_callbacks, components, n_components, NULL, NULL, &c); 3065 bus_match_parse_free(components, n_component [all...] |
Completed in 2006 milliseconds