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