From 7e5ccec8bf8df4187c161f1e2dab600a434cf515 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Dejean?= Date: Sat, 13 Nov 2004 00:53:20 +0000 Subject: Bumped to 2.9.0 * configure.in: Bumped to 2.9.0 * configure.in: * examples/.cvsignore: * examples/Makefile.am: * examples/netlist.c: (main): * features.def: * include/glibtop/Makefile.am: * include/glibtop/command.h: * include/glibtop/netlist.h: * include/glibtop/sysdeps.h: * include/glibtop/union.h: * include/glibtop/version.h: * src/daemon/version.c: * sysdeps/linux/Makefile.am: * sysdeps/linux/netlist.c: (glibtop_init_netlist_s), (glibtop_get_netlist_s): * sysdeps/names/Makefile.am: * sysdeps/names/netlist.c: * sysdeps/solaris/Makefile.am: * sysdeps/solaris/netlist.c: (glibtop_init_netlist_s), (glibtop_get_netlist_s): Added new function glibtop_get_netlist(). Implemented for linux and solaris. Doc needed. --- include/glibtop/sysdeps.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/glibtop/sysdeps.h') diff --git a/include/glibtop/sysdeps.h b/include/glibtop/sysdeps.h index 11d2f9c3..7eb39313 100644 --- a/include/glibtop/sysdeps.h +++ b/include/glibtop/sysdeps.h @@ -51,8 +51,9 @@ G_BEGIN_DECLS #define GLIBTOP_SYSDEPS_FSUSAGE 20 #define GLIBTOP_SYSDEPS_NETLOAD 21 #define GLIBTOP_SYSDEPS_PPP 22 +#define GLIBTOP_SYSDEPS_NETLIST 23 -#define GLIBTOP_MAX_SYSDEPS 23 +#define GLIBTOP_MAX_SYSDEPS 24 #define GLIBTOP_SYSDEPS_ALL ((1 << GLIBTOP_MAX_SYSDEPS) - 1) @@ -86,6 +87,7 @@ struct _glibtop_sysdeps proc_map, /* glibtop_proc_map */ mountlist, /* glibtop_mountlist */ fsusage, /* glibtop_fsusage */ + netlist, /* glibtop_netlist */ netload, /* glibtop_netload */ ppp; /* glibtop_ppp */ }; -- cgit v1.2.1