X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flibelogind%2Fsd-bus%2Fbus-match.h;h=4a6312d81f0514c83a3cbb7e74a5d83f757e602c;hb=9dfb8abdc29595eddf95a27811194234c81cd351;hp=8b72a4f7c1642820936064a8d99c26c88fa08527;hpb=3b22396a4b2767a98172f6915929c47738cb0a1e;p=elogind.git diff --git a/src/libelogind/sd-bus/bus-match.h b/src/libelogind/sd-bus/bus-match.h index 8b72a4f7c..4a6312d81 100644 --- a/src/libelogind/sd-bus/bus-match.h +++ b/src/libelogind/sd-bus/bus-match.h @@ -21,10 +21,10 @@ along with systemd; If not, see . ***/ -#include "hashmap.h" - #include "sd-bus.h" +#include "hashmap.h" + enum bus_match_node_type { BUS_MATCH_ROOT, BUS_MATCH_VALUE, @@ -97,6 +97,8 @@ 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); void bus_match_parse_free(struct bus_match_component *components, unsigned n_components); -// UNNEEDED char *bus_match_to_string(struct bus_match_component *components, unsigned n_components); +#if 0 /// UNNEEDED by elogind +char *bus_match_to_string(struct bus_match_component *components, unsigned n_components); +#endif // 0 enum bus_match_scope bus_match_get_scope(const struct bus_match_component *components, unsigned n_components);