diff --git a/ChangeLog b/ChangeLog index 3611c5d7..f899d5f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +1999-03-23 Martin Baulig + + * glibtop.h (glibtop): Added `wanted'. Applications can set the + features they are interested in here. This way we don't waste CPU + getting expensive data that aren't really needed. + + * LIBGTOP-VERSION: This breaks backward compatibility and also + added new functions; set binary age and interface age to 0. + 1999-03-21 Martin Baulig Added a new sysctl () interface to the Linux Kernel. diff --git a/LIBGTOP-VERSION b/LIBGTOP-VERSION index ab0e1a8a..e4769a15 100644 --- a/LIBGTOP-VERSION +++ b/LIBGTOP-VERSION @@ -10,8 +10,8 @@ LIBGTOP_MAJOR_VERSION=1 LIBGTOP_MINOR_VERSION=0 LIBGTOP_MICRO_VERSION=2 -LIBGTOP_INTERFACE_AGE=1 -LIBGTOP_BINARY_AGE=1 +LIBGTOP_INTERFACE_AGE=0 +LIBGTOP_BINARY_AGE=0 # Increase each time you change the client/server protocol. LIBGTOP_SERVER_VERSION=5 diff --git a/glibtop.h b/glibtop.h index 6a5727ab..b9817089 100644 --- a/glibtop.h +++ b/glibtop.h @@ -63,6 +63,7 @@ struct _glibtop unsigned long server_port; /* Port on which daemon is listening */ glibtop_sysdeps sysdeps; /* Detailed feature list */ glibtop_sysdeps required; /* Required feature list */ + glibtop_sysdeps wanted; /* We only want this features */ pid_t pid; /* PID of the server */ };