diff options
author | Martin Baulig <martin@src.gnome.org> | 1998-06-01 15:14:50 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1998-06-01 15:14:50 +0000 |
commit | b7be9a7141893692c456f6dd579effbc959d1d20 (patch) | |
tree | 333afbb075f6135ed0153456d9833cd2d29463cc /include/glibtop/command.h | |
parent | 67798e0d7d631f030db33147ef06d986bba1a5bb (diff) | |
download | libgtop-b7be9a7141893692c456f6dd579effbc959d1d20.tar.gz |
added 'dummy' member so 'GLIBTOP_SYSDEPS_<feature>' now start with 1.
* include/glibtop/sysdeps.h: added 'dummy' member so
'GLIBTOP_SYSDEPS_<feature>' now start with 1.
* include/glibtop/*.h: we now #define 'glibtop_get_<feature>'
as 'glibtop_get_<feature>__l' and 'glibtop_get_<feature>__r'
either as the '__p' or the '__s' function.
Diffstat (limited to 'include/glibtop/command.h')
-rw-r--r-- | include/glibtop/command.h | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/include/glibtop/command.h b/include/glibtop/command.h index c57d2373..daf31227 100644 --- a/include/glibtop/command.h +++ b/include/glibtop/command.h @@ -28,26 +28,25 @@ __BEGIN_DECLS #define GLIBTOP_CMND_QUIT 0 -#define GLIBTOP_CMND_SYSDEPS 1 -#define GLIBTOP_CMND_CPU 2 -#define GLIBTOP_CMND_MEM 3 -#define GLIBTOP_CMND_SWAP 4 -#define GLIBTOP_CMND_UPTIME 5 -#define GLIBTOP_CMND_LOADAVG 6 -#define GLIBTOP_CMND_SHM_LIMITS 7 -#define GLIBTOP_CMND_MSG_LIMITS 8 -#define GLIBTOP_CMND_SEM_LIMITS 9 -#define GLIBTOP_CMND_PROCLIST 10 - -#define GLIBTOP_CMND_PROC_STATE 11 -#define GLIBTOP_CMND_PROC_UID 12 -#define GLIBTOP_CMND_PROC_MEM 13 -#define GLIBTOP_CMND_PROC_TIME 14 -#define GLIBTOP_CMND_PROC_SIGNAL 15 -#define GLIBTOP_CMND_PROC_KERNEL 16 -#define GLIBTOP_CMND_PROC_SEGMENT 17 - -#define GLIBTOP_MAX_CMND 18 +#define GLIBTOP_CMND_CPU 1 +#define GLIBTOP_CMND_MEM 2 +#define GLIBTOP_CMND_SWAP 3 +#define GLIBTOP_CMND_UPTIME 4 +#define GLIBTOP_CMND_LOADAVG 5 +#define GLIBTOP_CMND_SHM_LIMITS 6 +#define GLIBTOP_CMND_MSG_LIMITS 7 +#define GLIBTOP_CMND_SEM_LIMITS 8 +#define GLIBTOP_CMND_PROCLIST 9 + +#define GLIBTOP_CMND_PROC_STATE 10 +#define GLIBTOP_CMND_PROC_UID 11 +#define GLIBTOP_CMND_PROC_MEM 12 +#define GLIBTOP_CMND_PROC_TIME 13 +#define GLIBTOP_CMND_PROC_SIGNAL 14 +#define GLIBTOP_CMND_PROC_KERNEL 15 +#define GLIBTOP_CMND_PROC_SEGMENT 16 + +#define GLIBTOP_MAX_CMND 17 typedef struct _glibtop_command glibtop_command; |