diff options
author | Martin Baulig <martin@src.gnome.org> | 1998-10-25 17:07:16 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1998-10-25 17:07:16 +0000 |
commit | 9114af9fdfb000d463740c366293b44dc016da9f (patch) | |
tree | eabe85b7525efb99490d33b9b46acd3e9a92da70 /include/glibtop/command.h | |
parent | 0e57efd4e56d6345a96aeda2bf60a852247cc269 (diff) | |
download | libgtop-9114af9fdfb000d463740c366293b44dc016da9f.tar.gz |
Added new feature to get PPP/ISDN support:
enum {
GLIBTOP_PPP_STATE_UNKNOWN = 0,
GLIBTOP_PPP_STATE_HANGUP,
GLIBTOP_PPP_STATE_ONLINE
};
struct _glibtop_ppp
{
u_int64_t flags,
state, /* GLIBTOP_PPP_STATE */
bytes_in, /* GLIBTOP_PPP_BYTES_IN */
bytes_out; /* GLIBTOP_PPP_BYTES_OUT */
};
Currently only implemented in the FreeBSD port with ISDN via I4B. - Martin
Diffstat (limited to 'include/glibtop/command.h')
-rw-r--r-- | include/glibtop/command.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/glibtop/command.h b/include/glibtop/command.h index a2ec780a..f543b842 100644 --- a/include/glibtop/command.h +++ b/include/glibtop/command.h @@ -52,8 +52,9 @@ __BEGIN_DECLS #define GLIBTOP_CMND_MOUNTLIST 19 #define GLIBTOP_CMND_FSUSAGE 20 +#define GLIBTOP_CMND_PPP 21 -#define GLIBTOP_MAX_CMND 21 +#define GLIBTOP_MAX_CMND 22 #define _GLIBTOP_PARAM_SIZE 16 |