X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libustcomm%2Fustcomm.h;h=d48a115c896cf1ebe50f4669334468613ea9c646;hb=9160b4e4541d3a6010e4e671ee5deb3ea89f4211;hp=052c896aca17ad6561e4d84910e617d04ca8ae07;hpb=c61f73854065e0d4562c4ddcefebe756510540af;p=ust.git diff --git a/libustcomm/ustcomm.h b/libustcomm/ustcomm.h index 052c896..d48a115 100644 --- a/libustcomm/ustcomm.h +++ b/libustcomm/ustcomm.h @@ -37,6 +37,7 @@ struct ustcomm_source { char *strdup_malloc(const char *s); //int send_message_pid(pid_t pid, const char *msg, char **reply); +int ustcomm_request_consumer(pid_t pid, const char *channel); int ustcomm_ustd_recv_message(struct ustcomm_ustd *ustd, char **msg, struct ustcomm_source *src, int timeout); int ustcomm_app_recv_message(struct ustcomm_app *app, char **msg, struct ustcomm_source *src, int timeout); @@ -47,6 +48,7 @@ int ustcomm_init_ustd(struct ustcomm_ustd *handle); int ustcomm_connect_app(pid_t pid, struct ustcomm_connection *conn); int ustcomm_send_request(struct ustcomm_connection *conn, char *req, char **reply); +int ustcomm_send_reply(struct ustcomm_server *server, char *msg, struct ustcomm_source *src); int nth_token_is(char *str, char *token, int tok_no);