2017-05-13 10:57 GMT+02:00 Federico Di Pierro <nierr...@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
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to