diff --git a/ChangeLog b/ChangeLog index 6f1df29b..6dd51ee3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 1999-12-05 Martin Baulig + * include/glibtop/limits.h (GLIBTOP_INTERFACE_LEN): New #define. + (GLIBTOP_UNLIMITED): #define this to be `(~(u_int64_t)0)'. + * glibtop.h (glibtop): Added `refcount' field. * lib/init.c (glibtop_server_ref, glibtop_server_unref): New functions to deal with refcounts. diff --git a/include/glibtop/limits.h b/include/glibtop/limits.h index 7ff05d0f..01f1e176 100644 --- a/include/glibtop/limits.h +++ b/include/glibtop/limits.h @@ -39,6 +39,12 @@ BEGIN_LIBGTOP_DECLS /* Maximum length of a mountpoint/device name in glibtop_mountlist. */ #define GLIBTOP_MOUNTENTRY_LEN 79 +/* Maximum length of a network interface name. */ +#define GLIBTOP_INTERFACE_LEN 32 + +/* This is ((u_int64_t)-1) */ +#define GLIBTOP_UNLIMITED (~(u_int64_t)0) + END_LIBGTOP_DECLS #endif