From f5efccc8d6ffad47a0e66e59e509aa4f4c65e7ca Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Sun, 5 Dec 1999 13:49:36 +0000 Subject: [PATCH] New file. This is used by the language bindings code to get the 1999-12-05 Martin Baulig * structures.def: New file. This is used by the language bindings code to get the definitions of some of LibGTop's structures. --- ChangeLog | 5 +++++ Makefile.am | 10 +++++++--- structures.def | 3 +++ 3 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 structures.def diff --git a/ChangeLog b/ChangeLog index fd303b50..be3c5c23 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-12-05 Martin Baulig + + * structures.def: New file. This is used by the language bindings + code to get the definitions of some of LibGTop's structures. + 1999-11-28 Martin Baulig * include/glibtop/netload.h (glibtop_get_netload): Added diff --git a/Makefile.am b/Makefile.am index a543b919..64a5db8a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,8 +11,8 @@ include_HEADERS = glibtop.h configincludedir = $(pkglibdir)/include EXTRA_DIST = autogen.sh libgtop.spec.in copyright.txt libgtopConf.sh.in \ - LIBGTOP-VERSION features.def libgtop-config.in RELNOTES-0.25 \ - RELNOTES-1.0 RELNOTES-1.1.x libgtop-sysdeps.m4 README \ + LIBGTOP-VERSION features.def structures.def libgtop-config.in \ + RELNOTES-0.25 RELNOTES-1.0 RELNOTES-1.1.x libgtop-sysdeps.m4 README \ libgtop-mirror.sh configinclude_DATA = \ @@ -35,7 +35,8 @@ release: ## `install-exec', not `install-data'. confexecdir = $(libdir) confexec_DATA = $(top_builddir)/libgtopConf.sh \ - $(top_builddir)/libgtop-features.def + $(top_builddir)/libgtop-features.def \ + $(top_builddir)/libgtop-structures.def CLEANFILES=libgtopConf.sh @@ -91,3 +92,6 @@ libgtop-config: libgtop-config.in Makefile libgtop-features.def: features.def @LN_S@ $< $@ +libgtop-structures.def: structures.def + @LN_S@ $< $@ + diff --git a/structures.def b/structures.def new file mode 100644 index 00000000..c12ce3a3 --- /dev/null +++ b/structures.def @@ -0,0 +1,3 @@ +glibtop_map_entry|ulong(flags,start,end,offset,perm,inode,device):string(filename) +glibtop_mountentry|ulong(dev):string(devname,mountdir,type) +glibtop_interface|ulong(flags,if_flags,transport,type,number,instance,num_logical):string(name)