On Sat, 13.05.17 10:57, Federico Di Pierro (nierr...@gmail.com) wrote: > Hi, > > i cannot find in doc neither in source a sd_bus_remove_match function. > How can i properly stop listening on a match? I cannot find any information > with google; i only see it seems it existed time ago (around systemd 210).
As you already found out, use the "sd_bus_slot" parameter for getting a ref to an installed match that you can use to remove it again. If you specify NULL as slot parameter the lifetime of the match is bound to the bus object itself, and you cannot remove it any earlier. Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel