summaryrefslogtreecommitdiff
path: root/include/glibtop/sysdeps.h
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1998-07-22 20:52:42 +0000
committerMartin Baulig <martin@src.gnome.org>1998-07-22 20:52:42 +0000
commit6bf243c9016bc7114848258083371dce1964c4aa (patch)
tree9f800367e44a160d6b89c5255381b84ded5cc0a4 /include/glibtop/sysdeps.h
parentdd5c4a716ba87e42b18804fe6876ad730542a877 (diff)
downloadlibgtop-6bf243c9016bc7114848258083371dce1964c4aa.tar.gz
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'.
Diffstat (limited to 'include/glibtop/sysdeps.h')
-rw-r--r--include/glibtop/sysdeps.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/glibtop/sysdeps.h b/include/glibtop/sysdeps.h
index 8436a81c..263245d3 100644
--- a/include/glibtop/sysdeps.h
+++ b/include/glibtop/sysdeps.h
@@ -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)