ust: continue implementation of ustd
[ust.git] / libustcomm / ustcomm.h
1 #ifndef USTCOMM_H
2 #define USTCOMM_H
3
4 #include <sys/types.h>
5
6 struct ustcomm_app {
7 /* the "server" socket for serving the external requests */
8 int fd;
9 char *socketpath;
10 };
11
12 struct ustcomm_ustd {
13 /* the "server" socket for serving the external requests */
14 int fd;
15 char *socketpath;
16 };
17
18 int send_message(pid_t pid, const char *msg, char **reply);
19
20 int ustcomm_ustd_recv_message(struct ustcomm_ustd *ustd, char **msg);
21 int ustcomm_app_recv_message(struct ustcomm_app *app, char **msg);
22
23 int ustcomm_init_app(pid_t pid, struct ustcomm_app *handle);
24
25 int ustcomm_init_ustd(struct ustcomm_ustd *handle);
26
27 #endif /* USTCOMM_H */
This page took 0.030717 seconds and 4 git commands to generate.