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