Commit: 883c1c11c6448e7f0ca04e523a5ac2030d7f161c
Parent: b7dfccf0e52aa4628a731dd555f038d18ddd42fe
Author: Andrew Sayers <kernel.org@pileofstuff.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-06-11 17:39:22
Tree: 87ecbae2c38bbc76694c89231a8d6c03e3d533f1

obexd: Pass at_(un)register value to logind callbacks Logind (un)registers callbacks that it calls when the user's state changes. Callbacks may also be called during (un)registration. Clients may need to handle those initial/final calls specially. Pass an argument indicating whether this is being called during (un)registration, and modify existing callbacks to ignore that argument.

Diffstat

M obexd/client/pbap.c | 6 ++++- -
M obexd/plugins/bluetooth.c | 6 ++++- -
M obexd/src/logind.c | 14 +++++++- - - - - - -
M obexd/src/logind.h | 8 ++++- - - -

4 files changed, 19 insertions(+), 15 deletions(-)

View Full Diff | Patch