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