projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make libustctl list only online pids v3
[ust.git]
/
libustcomm
/
ustcomm.h
diff --git
a/libustcomm/ustcomm.h
b/libustcomm/ustcomm.h
index a91c111e8d7d02d1a1e69028f1e31b7f18744324..4706b72fbb930eaf4d22e5d1ac11702fe627171a 100644
(file)
--- 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);
/* 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);
extern int ustcomm_connect_app(pid_t pid, int *app_fd);
extern int ustcomm_connect_path(const char *path, int *connection_fd);
This page took
0.02874 seconds
and
4
git commands to generate.