Added `void *closure' argument to all sysdeps functions.
2001-04-20 Martin Baulig <baulig@suse.de> * include/glibtop/*.h (glibtop_get_*_s, glibtop_get_*_pl): Added `void *closure' argument to all sysdeps functions. * include/glibtop/open.h (glibtop_open_s, glibtop_open_p): Removed the `const char *program_name' argument and added `void *closure'.
This commit is contained in:
committed by
Martin Baulig
parent
bcc4ec968e
commit
f4fc67f85c
@@ -89,10 +89,10 @@ int glibtop_get_proc_uid_l (glibtop_client *client, glibtop_proc_uid *buf, pid_t
|
||||
|
||||
#if GLIBTOP_SUID_PROC_UID
|
||||
int glibtop_init_proc_uid_p (glibtop *server);
|
||||
int glibtop_get_proc_uid_p (glibtop *server, glibtop_proc_uid *buf, pid_t pid);
|
||||
int glibtop_get_proc_uid_p (glibtop *server, void *closure, glibtop_proc_uid *buf, pid_t pid);
|
||||
#else
|
||||
int glibtop_init_proc_uid_s (glibtop_server *server);
|
||||
int glibtop_get_proc_uid_s (glibtop_server *server, glibtop_proc_uid *buf, pid_t pid);
|
||||
int glibtop_get_proc_uid_s (glibtop_server *server, void *closure, glibtop_proc_uid *buf, pid_t pid);
|
||||
#endif
|
||||
|
||||
#ifdef GLIBTOP_NAMES
|
||||
|
Reference in New Issue
Block a user