1 #include <stdbool.h> 2 #include <systemd/sd-bus.h> 3 #include <systemd/sd-event.h> 4 5 #ifdef __cplusplus 6 extern "C" { 7 #endif 8 typedef struct mapper_async_wait mapper_async_wait; 9 void mapper_wait_async_free(mapper_async_wait *); 10 11 int mapper_wait_async(sd_bus *, sd_event *, char *[], 12 void (*)(int, void *), void *, mapper_async_wait **, 13 bool); 14 int mapper_get_service(sd_bus *conn, const char *obj, char **service); 15 int mapper_get_object(sd_bus *conn, const char *obj, sd_bus_message **reply); 16 #ifdef __cplusplus 17 } 18 #endif 19