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