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