tells `glibtop_open' to use the default server and not to check the

* include/glibtop/open.h (GLIBTOP_OPEN_NO_OVERRIDE):
tells `glibtop_open' to use the default server and not
to check the environment variables.

* include/glibtop/sysdeps.h (_glibtop_sysdeps):
renamed 'dummy' member to 'features'.

* include/glibtop/command.h (GLIBTOP_CMND_SYSDEPS):
added definition here.
This commit is contained in:
Martin Baulig
1998-06-02 16:20:15 +00:00
parent 6f179a3141
commit 7f39d62371
6 changed files with 120 additions and 81 deletions

View File

@@ -28,25 +28,27 @@
__BEGIN_DECLS
#define GLIBTOP_CMND_QUIT 0
#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_SYSDEPS 1
#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_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_MAX_CMND 17
#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
typedef struct _glibtop_command glibtop_command;