summaryrefslogtreecommitdiffstats
path: root/libmapper/mapper.h
blob: 5b596a617a53776486028dc43b868d23426b27e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <systemd/sd-bus.h>
#include <systemd/sd-event.h>

#ifdef __cplusplus
extern "C" {
#endif
typedef enum mapper_operation
{
    MAPPER_OP_REMOVE = 1
} mapper_operation;
typedef struct mapper_async_wait mapper_async_wait;
typedef struct mapper_async_subtree mapper_async_subtree;
void mapper_wait_async_free(mapper_async_wait*);
void mapper_subtree_async_free(mapper_async_subtree*);

int mapper_wait_async(sd_bus*, sd_event*, char* [], void (*)(int, void*), void*,
                      mapper_async_wait**);
int mapper_subtree_async(sd_bus*, sd_event*, char*, char*, void (*)(int, void*),
                         void*, mapper_async_subtree**, int);
int mapper_get_service(sd_bus* conn, const char* obj, char** service);
int mapper_get_object(sd_bus* conn, const char* obj, sd_bus_message** reply);
#ifdef __cplusplus
}
#endif
OpenPOWER on IntegriCloud