Adriana Kobylak | 9f4c3c7 | 2017-03-28 09:02:20 -0500 | [diff] [blame] | 1 | #include <stdbool.h> |
Brad Bishop | 62ece2b | 2016-07-25 09:00:51 -0400 | [diff] [blame] | 2 | #include <systemd/sd-bus.h> |
Brad Bishop | 3d46879 | 2016-09-20 15:39:38 -0400 | [diff] [blame] | 3 | #include <systemd/sd-event.h> |
Brad Bishop | 62ece2b | 2016-07-25 09:00:51 -0400 | [diff] [blame] | 4 | |
| 5 | #ifdef __cplusplus |
| 6 | extern "C" { |
| 7 | #endif |
Brad Bishop | 2afe718 | 2016-08-13 14:08:17 -0400 | [diff] [blame] | 8 | typedef struct mapper_async_wait mapper_async_wait; |
| 9 | void mapper_wait_async_free(mapper_async_wait *); |
| 10 | |
Adriana Kobylak | e4d6c79 | 2017-04-04 12:47:38 -0500 | [diff] [blame^] | 11 | int mapper_wait_async(sd_bus *, sd_event *, const char *, char *[], |
Adriana Kobylak | 9f4c3c7 | 2017-03-28 09:02:20 -0500 | [diff] [blame] | 12 | void (*)(int, void *), void *, mapper_async_wait **, |
| 13 | bool); |
Brad Bishop | 62ece2b | 2016-07-25 09:00:51 -0400 | [diff] [blame] | 14 | int mapper_get_service(sd_bus *conn, const char *obj, char **service); |
Brad Bishop | 3d46879 | 2016-09-20 15:39:38 -0400 | [diff] [blame] | 15 | int mapper_get_object(sd_bus *conn, const char *obj, sd_bus_message **reply); |
Brad Bishop | 62ece2b | 2016-07-25 09:00:51 -0400 | [diff] [blame] | 16 | #ifdef __cplusplus |
| 17 | } |
| 18 | #endif |