diff options
author | Martin Baulig <martin@home-of-linux.org> | 1998-07-22 22:56:09 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1998-07-22 22:56:09 +0000 |
commit | 954a78f2007b2de71e8fba1078e11cd6c1456afc (patch) | |
tree | 66b759f492b68585d01876d7b678f8deb8f5c87a /include/glibtop/sysdeps.h | |
parent | a90bffbbf66ff569aee93f918c943aad87a37464 (diff) | |
download | libgtop-954a78f2007b2de71e8fba1078e11cd6c1456afc.tar.gz |
New file.
1998-07-22 Martin Baulig <martin@home-of-linux.org>
* include/glibtop/fsusage.h: New file.
* features.def: Added new feature `fsusage'.
* sysdeps/common/fsusage.c (glibtop_get_fsusage_s): New function.
(get_fs_usage): Declared as `static'.
* sysdeps/names/fsusage.c: New file.
Diffstat (limited to 'include/glibtop/sysdeps.h')
-rw-r--r-- | include/glibtop/sysdeps.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/glibtop/sysdeps.h b/include/glibtop/sysdeps.h index 263245d3..b24e549e 100644 --- a/include/glibtop/sysdeps.h +++ b/include/glibtop/sysdeps.h @@ -45,8 +45,9 @@ __BEGIN_DECLS #define GLIBTOP_SYSDEPS_PROC_KERNEL 15 #define GLIBTOP_SYSDEPS_PROC_SEGMENT 16 #define GLIBTOP_SYSDEPS_MOUNTLIST 17 +#define GLIBTOP_SYSDEPS_FSUSAGE 18 -#define GLIBTOP_MAX_SYSDEPS 18 +#define GLIBTOP_MAX_SYSDEPS 19 #define GLIBTOP_SYSDEPS_ALL ((1 << GLIBTOP_MAX_SYSDEPS) - 1) @@ -72,7 +73,8 @@ struct _glibtop_sysdeps proc_signal, /* glibtop_proc_signal */ proc_kernel, /* glibtop_proc_kernel */ proc_segment, /* glibtop_proc_segment */ - mountlist; /* glibtop_mountlist */ + mountlist, /* glibtop_mountlist */ + fsusage; /* glibtop_fsusage */ }; #define glibtop_get_sysdeps(sysdeps) glibtop_get_sysdeps_r(glibtop_global_server,sysdeps) |