X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=libustcomm%2Fustcomm.h;h=4706b72fbb930eaf4d22e5d1ac11702fe627171a;hb=d4d511d9f43d6d33c3a40b4aab69d976c4f93cec;hp=a91c111e8d7d02d1a1e69028f1e31b7f18744324;hpb=b521931e0000388ff9080d46719936be98af54c6;p=ust.git diff --git a/libustcomm/ustcomm.h b/libustcomm/ustcomm.h index a91c111..4706b72 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);