9 struct ustcomm_connection
{
10 struct list_head list
;
14 /* ustcomm_server must be shallow-copyable */
15 struct ustcomm_server
{
16 /* the "server" socket for serving the external requests */
20 struct list_head connections
;
24 struct ustcomm_server server
;
28 struct ustcomm_server server
;
31 /* ustcomm_source must be shallow-copyable */
32 struct ustcomm_source
{
37 char *strdup_malloc(const char *s
);
39 int send_message_pid(pid_t pid
, const char *msg
, char **reply
);
41 int ustcomm_ustd_recv_message(struct ustcomm_ustd
*ustd
, char **msg
, struct ustcomm_source
*src
, int timeout
);
42 int ustcomm_app_recv_message(struct ustcomm_app
*app
, char **msg
, struct ustcomm_source
*src
, int timeout
);
44 int ustcomm_init_app(pid_t pid
, struct ustcomm_app
*handle
);
46 int ustcomm_init_ustd(struct ustcomm_ustd
*handle
);
48 int nth_token_is(char *str
, char *token
, int tok_no
);
50 char *nth_token(char *str
, int tok_no
);
52 #endif /* USTCOMM_H */
This page took 0.031016 seconds and 5 git commands to generate.