Removed. (glibtop_get_proc_args_*): This now takes a `glibtop_array'

1999-12-12  Martin Baulig  <martin@home-of-linux.org>

	* include/glibtop/procargs.h (glibtop_proc_args): Removed.
	(glibtop_get_proc_args_*): This now takes a `glibtop_array' parameter
	instead of a `glibtop_proc_args one and returns a `char **'.
This commit is contained in:
Martin Baulig
1999-12-19 14:37:49 +00:00
committed by Martin Baulig
parent da42214e86
commit 339e1f4557
8 changed files with 47 additions and 31 deletions

View File

@@ -51,6 +51,14 @@ typedef struct _glibtop_array glibtop_proclist;
typedef struct _glibtop_array glibtop_mountlist;
/* glibtop_proc_args */
#define GLIBTOP_PROC_ARGS_SIZE 0
#define GLIBTOP_MAX_PROC_ARGS 1
typedef struct _glibtop_array glibtop_proc_args;
/* glibtop_proc_map */
#define GLIBTOP_PROC_MAP_NUMBER GLIBTOP_ARRAY_NUMBER

View File

@@ -34,7 +34,7 @@
BEGIN_LIBGTOP_DECLS
#define glibtop_get_proc_args(proc_args) glibtop_get_proc_args_l(glibtop_global_server, pid)
#define glibtop_get_proc_args(array,pid) glibtop_get_proc_args_l(glibtop_global_server, array, pid)
#if GLIBTOP_SUID_PROC_ARGS
#define glibtop_get_proc_args_r glibtop_get_proc_args_p

View File

@@ -76,7 +76,7 @@ union _glibtop_union
glibtop_proc_signal proc_signal;
glibtop_proc_kernel proc_kernel;
glibtop_proc_segment proc_segment;
glibtop_proc_args proc_args;
glibtop_array proc_args;
glibtop_array proc_map;
glibtop_array mountlist;
glibtop_fsusage fsusage;