New file.

1998-07-22  Martin Baulig  <martin@home-of-linux.org>

	* include/glibtop/mountlist.h: New file.

	* features.def: Added new feature `mountlist'.

	* sysdeps/common/mountlist.c (glibtop_get_mountlist_s): New function.
	(read_filesystem_list): Declared as `static'.
This commit is contained in:
Martin Baulig
1998-07-22 20:52:42 +00:00
committed by Martin Baulig
parent dd5c4a716b
commit 6bf243c901
18 changed files with 392 additions and 75 deletions

View File

@@ -44,8 +44,9 @@ __BEGIN_DECLS
#define GLIBTOP_SYSDEPS_PROC_SIGNAL 14
#define GLIBTOP_SYSDEPS_PROC_KERNEL 15
#define GLIBTOP_SYSDEPS_PROC_SEGMENT 16
#define GLIBTOP_SYSDEPS_MOUNTLIST 17
#define GLIBTOP_MAX_SYSDEPS 17
#define GLIBTOP_MAX_SYSDEPS 18
#define GLIBTOP_SYSDEPS_ALL ((1 << GLIBTOP_MAX_SYSDEPS) - 1)
@@ -70,7 +71,8 @@ struct _glibtop_sysdeps
proc_time, /* glibtop_proc_time */
proc_signal, /* glibtop_proc_signal */
proc_kernel, /* glibtop_proc_kernel */
proc_segment; /* glibtop_proc_segment */
proc_segment, /* glibtop_proc_segment */
mountlist; /* glibtop_mountlist */
};
#define glibtop_get_sysdeps(sysdeps) glibtop_get_sysdeps_r(glibtop_global_server,sysdeps)