X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=libustcomm%2Fustcomm.h;h=4706b72fbb930eaf4d22e5d1ac11702fe627171a;hb=0a2aba1397f90fa65c293ab856d18579ae14b77f;hp=a91c111e8d7d02d1a1e69028f1e31b7f18744324;hpb=b521931e0000388ff9080d46719936be98af54c6;p=lttng-ust.git diff --git a/libustcomm/ustcomm.h b/libustcomm/ustcomm.h index a91c111e..4706b72f 100644 --- a/libustcomm/ustcomm.h +++ b/libustcomm/ustcomm.h @@ -162,6 +162,13 @@ extern int ustcomm_request_consumer(pid_t pid, const char *channel); /* Returns the current users socket directory, must be freed */ extern char *ustcomm_user_sock_dir(void); + +/* Get the st_m_time from proc*/ +extern time_t ustcomm_pid_st_mtime(pid_t pid); + +/* Check that a socket is live */ +extern int ustcomm_is_socket_live(char *sock_name, pid_t *read_pid); + extern int ustcomm_connect_app(pid_t pid, int *app_fd); extern int ustcomm_connect_path(const char *path, int *connection_fd);