1 /* SPDX-License-Identifier: LGPL-2.1+ */
6 int polkit_agent_open(void);
7 void polkit_agent_close(void);
9 static inline int polkit_agent_open_if_enabled(
10 BusTransport transport,
13 /* Open the polkit agent as a child process if necessary */
15 if (transport != BUS_TRANSPORT_LOCAL)
21 return polkit_agent_open();