Changed void *closure' to glibtop_closure *closure'.

2001-04-20  Martin Baulig  <baulig@suse.de>

	* include/glibtop/*.h (glibtop_get_*_s, glibtop_get_*_pl):
	Changed `void *closure' to `glibtop_closure *closure'.

	* include/glibtop/*.h
	(glibtop_init_*_s): Added `glibtop_closure *closure' argument.
	(glibtop_init_*_p): Changed `glibtop *server' to
	`glibtop_server *server' and added `glibtop_closure *closure'.
This commit is contained in:
Martin Baulig
2001-04-20 18:09:15 +00:00
committed by Martin Baulig
parent 3b7c109916
commit d6630b9f7a
29 changed files with 108 additions and 98 deletions

View File

@@ -63,16 +63,16 @@ glibtop_get_proclist_l (glibtop_client *client, glibtop_array *array,
int64_t which, int64_t arg);
#if GLIBTOP_SUID_PROCLIST
int glibtop_init_proclist_p (glibtop *server);
int glibtop_init_proclist_p (glibtop_server *server, glibtop_closure *closure);
unsigned *
glibtop_get_proclist_p (glibtop *server, void *closure, glibtop_array *array,
glibtop_get_proclist_p (glibtop_server *server, glibtop_closure *closure, glibtop_array *array,
int64_t which, int64_t arg);
#else
int glibtop_init_proclist_s (glibtop_server *server);
int glibtop_init_proclist_s (glibtop_server *server, glibtop_closure *closure);
unsigned *
glibtop_get_proclist_s (glibtop_server *server, void *closure, glibtop_array *array,
glibtop_get_proclist_s (glibtop_server *server, glibtop_closure *closure, glibtop_array *array,
int64_t which, int64_t arg);
#endif