X-Git-Url: http://git.lttng.org/?p=lttng-ust.git;a=blobdiff_plain;f=include%2Fust-comm.h;fp=include%2Fust-comm.h;h=0b80a0ce2d522c9381a716ee60b4253d67aee41e;hp=7d0b6296524c0f7d6a11566aa5de9f49312a8180;hb=bf5ff35ed0a3a7f60e92d654a5b97e73b94da852;hpb=cbd7f39d9267e24159023db91712ca91558c5cc8 diff --git a/include/ust-comm.h b/include/ust-comm.h index 7d0b6296..0b80a0ce 100644 --- a/include/ust-comm.h +++ b/include/ust-comm.h @@ -174,4 +174,8 @@ extern int ustcomm_send_app_cmd(int sock, struct ustcomm_ust_reply *lur); int ustcomm_recv_fd(int sock); +/* Send/recv string over unix socket */ +extern ssize_t ustcomm_send_string(int sock, char *str, size_t len); +extern char *ustcomm_recv_string(int sock); + #endif /* _LTTNG_UST_COMM_H */