[systemd-devel] Opposite of sd_bus_add_match
Federico Di Pierro
nierro92 at gmail.com
Tue May 16 06:52:36 UTC 2017
2017-05-13 10:57 GMT+02:00 Federico Di Pierro <nierro92 at gmail.com>:
> 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).
>
> Thank you very much for your great work!
> Have a nice day,
> Federico
>
Ok, it seems i have found how this can be achieved: i just have to pass in
a valid sd_bus_slot**; when i'm done, i'll have to call sd_bus_slot_unref
on that slot, and it will automatically remove the match and free all
resources.
Federico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20170516/1f5e33a8/attachment.html>
More information about the systemd-devel
mailing list