1 /* SPDX-License-Identifier: LGPL-2.1+ */
7 typedef struct BusWaitForJobs BusWaitForJobs
;
9 int bus_wait_for_jobs_new(sd_bus
*bus
, BusWaitForJobs
**ret
);
10 void bus_wait_for_jobs_free(BusWaitForJobs
*d
);
11 int bus_wait_for_jobs_add(BusWaitForJobs
*d
, const char *path
);
12 int bus_wait_for_jobs(BusWaitForJobs
*d
, bool quiet
, const char* const* extra_args
);
13 int bus_wait_for_jobs_one(BusWaitForJobs
*d
, const char *path
, bool quiet
);
15 DEFINE_TRIVIAL_CLEANUP_FUNC(BusWaitForJobs
*, bus_wait_for_jobs_free
);