blob: b3fed6be0d866c53fd63753e066c50f9510c8d9c [file] [log] [blame]
Adriana Kobylak9f4c3c72017-03-28 09:02:20 -05001#include <stdbool.h>
Brad Bishop62ece2b2016-07-25 09:00:51 -04002#include <systemd/sd-bus.h>
Brad Bishop3d468792016-09-20 15:39:38 -04003#include <systemd/sd-event.h>
Brad Bishop62ece2b2016-07-25 09:00:51 -04004
5#ifdef __cplusplus
6extern "C" {
7#endif
Brad Bishop2afe7182016-08-13 14:08:17 -04008typedef struct mapper_async_wait mapper_async_wait;
9void mapper_wait_async_free(mapper_async_wait *);
10
Adriana Kobylake4d6c792017-04-04 12:47:38 -050011int mapper_wait_async(sd_bus *, sd_event *, const char *, char *[],
Adriana Kobylak9f4c3c72017-03-28 09:02:20 -050012 void (*)(int, void *), void *, mapper_async_wait **,
13 bool);
Brad Bishop62ece2b2016-07-25 09:00:51 -040014int mapper_get_service(sd_bus *conn, const char *obj, char **service);
Brad Bishop3d468792016-09-20 15:39:38 -040015int mapper_get_object(sd_bus *conn, const char *obj, sd_bus_message **reply);
Brad Bishop62ece2b2016-07-25 09:00:51 -040016#ifdef __cplusplus
17}
18#endif