X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libustcomm%2Fustcomm.h;h=7e1960fbc3ea0a4e0de19ac0a2fe5543a57fb15b;hb=34b460e6b2180ef5e42cdc0455b3ac1a0afd912c;hp=76209406baecc7abbb6c253aca7f875a58ca679e;hpb=c97d443730716166051e0b6b95d26ab3faadf8dc;p=ust.git diff --git a/libustcomm/ustcomm.h b/libustcomm/ustcomm.h index 7620940..7e1960f 100644 --- a/libustcomm/ustcomm.h +++ b/libustcomm/ustcomm.h @@ -63,6 +63,7 @@ extern int ustcomm_ustd_recv_message(struct ustcomm_ustd *ustd, char **msg, stru extern int ustcomm_app_recv_message(struct ustcomm_app *app, char **msg, struct ustcomm_source *src, int timeout); extern int ustcomm_init_app(pid_t pid, struct ustcomm_app *handle); +extern void ustcomm_fini_app(struct ustcomm_app *handle); extern int ustcomm_init_ustd(struct ustcomm_ustd *handle, const char *sock_path); @@ -71,6 +72,7 @@ extern int ustcomm_connect_path(const char *path, struct ustcomm_connection *con extern int ustcomm_send_request(struct ustcomm_connection *conn, const char *req, char **reply); extern int ustcomm_send_reply(struct ustcomm_server *server, char *msg, struct ustcomm_source *src); extern int ustcomm_disconnect(struct ustcomm_connection *conn); +extern int ustcomm_close_all_connections(struct ustcomm_server *server); extern int nth_token_is(char *str, char *token, int tok_no);