New #define. (GLIBTOP_UNLIMITED): #define this to be `(~(u_int64_t)0)'.
1999-12-05 Martin Baulig <martin@home-of-linux.org> * include/glibtop/limits.h (GLIBTOP_INTERFACE_LEN): New #define. (GLIBTOP_UNLIMITED): #define this to be `(~(u_int64_t)0)'.
This commit is contained in:
committed by
Martin Baulig
parent
c1cae4e9ba
commit
069eb707f0
@@ -1,5 +1,8 @@
|
||||
1999-12-05 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* 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.
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user