summaryrefslogtreecommitdiff
path: root/include/glibtop/sysdeps.h
Commit message (Collapse)AuthorAgeFilesLines
* Changed `reserved0` to `disk`James Dominic P. Guana2021-04-231-2/+1
|
* Revert "Revert "New API to retrieve disk stats in Linux""James Dominic P. Guana2021-04-231-1/+3
| | | | This reverts commit 7e214414bf23d1ea34e7fdccb17a7f41040ffea9.
* Revert "New API to retrieve disk stats in Linux"Michael Catanzaro2020-11-061-3/+1
| | | | This reverts commit 9e62440b314fbf87bbeca865a4223311314c52a3.
* New API to retrieve disk stats in LinuxJames Dominic P. Guana2020-11-041-1/+3
|
* Add reserved fields so that future features won't break the sysdep structBenoît Dejean2017-05-231-0/+8
| | | | and the ABI (it means that all past addition broke it).
* Renamed procdiskio to procioRobert Roth2017-05-121-2/+2
|
* New API to retrieve process io stats, with Linux implementationRobert Roth2017-02-121-1/+3
|
* Add an assertion to ensure that GLIBTOP_SYSDEPS_* fit in an unsigned long.Benoît Dejean2015-07-101-0/+3
|
* Update old FSF address.Robert Roth2014-08-201-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=721514
* New API to retrieve process CPU affinity.Benoît Dejean2008-05-241-1/+3
| | | | | | Linux implementation. svn path=/trunk/; revision=2748
* git-svn sucks. Kill r2609Benoît Dejean2007-06-251-3/+1
| | | | svn path=/trunk/; revision=2611
* New API : glibtop_get_proc_affinity.Benoît Dejean2007-06-251-1/+3
| | | | | | Implemented for linux. svn path=/trunk/; revision=2609
* Manual commit from my local git-svn which is broken :/Benoît Dejean2007-05-131-1/+3
| | | | svn path=/trunk/; revision=2578
* Removed noisy $Id$.Benoît Dejean2007-02-191-2/+0
| | | | | | | | | | 2007-02-20 Benoît Dejean <benoit@placenet.org> * *: Removed noisy $Id$. svn path=/trunk/; revision=2558
* Changed struct's definitions to be one type-one member. To avoid problemsGerman Poo-Caaman~o2006-04-181-26/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-04-18 German Poo-Caaman~o <gpoo@ubiobio.cl> * /include/glibtop/cpu.h: * /include/glibtop/fsusage.h: * /include/glibtop/loadavg.h: * /include/glibtop/mem.h: * /include/glibtop/mountlist.h: * /include/glibtop/msg_limits.h: * /include/glibtop/netload.h: * /include/glibtop/ppp.h: * /include/glibtop/procargs.h: * /include/glibtop/prockernel.h: * /include/glibtop/proclist.h: * /include/glibtop/procmap.h: * /include/glibtop/procmem.h: * /include/glibtop/procopenfiles.h: * /include/glibtop/procsegment.h: * /include/glibtop/procsignal.h: * /include/glibtop/procstate.h: * /include/glibtop/proctime.h: * /include/glibtop/procuid.h: * /include/glibtop/sem_limits.h: * /include/glibtop/shm_limits.h: * /include/glibtop/swap.h: * /include/glibtop/sysdeps.h: * /include/glibtop/uptime.h: Changed struct's definitions to be one type-one member. To avoid problems with any further gtk-doc's implementation.
* Moved _glibtop_init_hook_[sp] declaration to private glibtop/init_hooks.h.Benoît Dejean2005-08-021-4/+0
| | | | | | | | | | | | | | | | | | | | | * configure.in: * include/glibtop/Makefile.am: * include/glibtop/glibtop-server.h: * include/glibtop/init_hooks.h: * include/glibtop/sysdeps.h: * lib/init.c: (glibtop_init_s): * lib/sysdeps.c: * sysdeps/aix/open.c: (glibtop_init_p): * sysdeps/common/sysdeps_suid.c: * sysdeps/freebsd/open.c: (glibtop_init_p): * sysdeps/osf1/open_suid.c: (glibtop_init_p): * sysdeps/solaris/open_suid.c: (glibtop_init_p): * sysdeps/stub_suid/open.c: (glibtop_init_p): Moved _glibtop_init_hook_[sp] declaration to private glibtop/init_hooks.h. Marked them const. Fixed GLIBTOP_SUID_NETLIST issues.
* Added a lot of new functions to replace dirty macros. Every macroBenoît Dejean2005-06-071-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: * glibtop.h: * include/glibtop/close.h: * include/glibtop/cpu.h: * include/glibtop/fsusage.h: * include/glibtop/loadavg.h: * include/glibtop/mem.h: * include/glibtop/mountlist.h: * include/glibtop/msg_limits.h: * include/glibtop/netlist.h: * include/glibtop/netload.h: * include/glibtop/ppp.h: * include/glibtop/procargs.h: * include/glibtop/prockernel.h: * include/glibtop/proclist.h: * include/glibtop/procmap.h: * include/glibtop/procmem.h: * include/glibtop/procopenfiles.h: * include/glibtop/procsegment.h: * include/glibtop/procsignal.h: * include/glibtop/procstate.h: * include/glibtop/proctime.h: * include/glibtop/procuid.h: * include/glibtop/sem_limits.h: * include/glibtop/shm_limits.h: * include/glibtop/swap.h: * include/glibtop/sysdeps.h: * include/glibtop/sysinfo.h: * include/glibtop/uptime.h: * sysdeps/common/Makefile.am: * sysdeps/common/default.c: (glibtop_close), (glibtop_init), (glibtop_get_cpu), (glibtop_get_fsusage), (glibtop_get_uptime), (glibtop_get_sysinfo), (glibtop_get_swap), (glibtop_get_proc_uid), (glibtop_get_proc_time), (glibtop_get_proc_state), (glibtop_get_proc_signal), (glibtop_get_proc_segment), (glibtop_get_proc_open_files), (glibtop_get_proc_mem), (glibtop_get_proc_map), (glibtop_get_proc_args), (glibtop_get_proc_argv), (glibtop_get_proclist), (glibtop_get_proc_kernel), (glibtop_get_ppp), (glibtop_get_netlist), (glibtop_get_netload), (glibtop_get_mountlist), (glibtop_get_mem), (glibtop_get_loadavg), (glibtop_get_msg_limits), (glibtop_get_sem_limits), (glibtop_get_shm_limits), (glibtop_get_sysdeps): Added a lot of new functions to replace dirty macros. Every macro glibtop_get_*(buf[, args]) has been turned to a function.
* New feature by nick@reloco.com.ar (Nicolás Lichtmaier).Benoît Dejean2005-01-101-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: * examples/.cvsignore: * examples/Makefile.am: * examples/openfiles.c: (show_open_files), (main): * features.def: * include/glibtop/Makefile.am: * include/glibtop/command.h: * include/glibtop/procopenfiles.h: * include/glibtop/sysdeps.h: * include/glibtop/union.h: * structures.def: * sysdeps/linux/Makefile.am: * sysdeps/linux/procopenfiles.c: (glibtop_init_proc_open_files_s), (get_socket_endpoint), (glibtop_get_proc_open_files_s): * sysdeps/stub/Makefile.am: * sysdeps/stub/procopenfiles.c: (glibtop_init_proc_open_files_s), (glibtop_get_proc_open_files_s): New feature by nick@reloco.com.ar (Nicolás Lichtmaier). glibtop_get_open_files(pid) -> list of files by process. TODO: Add documentation.
* Removed libgtop_names :)Benoît Dejean2004-12-061-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * acconfig.h: * configure.in: * debian/libgtop-dev.files.in: * doc/Makefile.am: * examples/Makefile.am: * examples/third.c: * include/glibtop/cpu.h: * include/glibtop/fsusage.h: * include/glibtop/loadavg.h: * include/glibtop/mem.h: * include/glibtop/mountlist.h: * include/glibtop/msg_limits.h: * include/glibtop/netlist.h: * include/glibtop/netload.h: * include/glibtop/ppp.h: * include/glibtop/procargs.h: * include/glibtop/prockernel.h: * include/glibtop/proclist.h: * include/glibtop/procmap.h: * include/glibtop/procmem.h: * include/glibtop/procsegment.h: * include/glibtop/procsignal.h: * include/glibtop/procstate.h: * include/glibtop/proctime.h: * include/glibtop/procuid.h: * include/glibtop/sem_limits.h: * include/glibtop/shm_limits.h: * include/glibtop/swap.h: * include/glibtop/sysdeps.h: * include/glibtop/uptime.h: * po/POTFILES.in: * sysdeps/Makefile.am: * sysdeps/names/.cvsignore: * sysdeps/names/Makefile.am: * sysdeps/names/cpu.c: * sysdeps/names/fsusage.c: * sysdeps/names/loadavg.c: * sysdeps/names/mem.c: * sysdeps/names/mountlist.c: * sysdeps/names/msg_limits.c: * sysdeps/names/netlist.c: * sysdeps/names/netload.c: * sysdeps/names/ppp.c: * sysdeps/names/procargs.c: * sysdeps/names/prockernel.c: * sysdeps/names/proclist.c: * sysdeps/names/procmap.c: * sysdeps/names/procmem.c: * sysdeps/names/procsegment.c: * sysdeps/names/procsignal.c: * sysdeps/names/procstate.c: * sysdeps/names/proctime.c: * sysdeps/names/procuid.c: * sysdeps/names/sem_limits.c: * sysdeps/names/shm_limits.c: * sysdeps/names/swap.c: * sysdeps/names/sysdeps.c: * sysdeps/names/uptime.c: Removed libgtop_names :)
* Bumped to 2.9.0Benoît Dejean2004-11-131-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* - s/u_int64_t/guint64/Bastien Nocera2003-10-201-1/+1
|
* - fixed compilationBastien Nocera2003-10-201-2/+2
|
* libgtop-GNOME-2-0-branch moved to HEAD.Carlos Perelló Marín2003-10-191-55/+55
| | | | | | 2003-10-19 Carlos Perelló Marín <carlos@gnome.org> * libgtop-GNOME-2-0-branch moved to HEAD.
* Use G_BEGIN_DECLS and G_END_DECLS instead of LIBGTOP_BEGIN/END_DECLS.Martin Baulig2001-04-201-2/+2
| | | | | | | 2001-04-20 Martin Baulig <baulig@suse.de> * include/glibtop/*.h: Use G_BEGIN_DECLS and G_END_DECLS instead of LIBGTOP_BEGIN/END_DECLS.
* Moved the typedef to backend.h.Martin Baulig2000-11-261-2/+0
| | | | | | | | | | | | | | | | | 2000-11-26 Martin Baulig <martin@home-of-linux.org> * include/glibtop/call-vector.h (glibtop_call_vector): Moved the typedef to backend.h. * include/glibtop/backend.h (glibtop_open_backend_l): Renamed to glibtop_open_backend(), removed the `glibtop_client *' argument and made the `GError *' argument non-optional. * include/glibtop/glibtop-client.h (glibtop_client_add_backend, glibtop_client_remove_backend): New functions to add/remove a glibtop_backend to a glibtop_client. (glibtop_client_open_backend): New convenient function; calls glibtop_open_backend() and glibtop_client_add_backend().
* Started with the big rewrite for GNOME 2.0:Martin Baulig2000-11-201-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-20 Martin Baulig <baulig@suse.de> Started with the big rewrite for GNOME 2.0: - split the `glibtop' structure into `glibtop_server' and `glibtop_client' and make `glibtop_client' a GObject. - cleanly separate the library and the backends. This stuff currently does not compile. * glibtop.h (glibtop_server_private, glibtop_server_info): Removed typedefs. (struct _glibtop, struct _glibtop_server_info): Removed. (glibtop_global_server, glibtop_server_features): Removed. (glibtop_server_ref, glibtop_server_unref): Removed. * glibtop.h (glibtop_init_s): First argument is now a `glibtop_server *'. * include/glibtop/*.h: Removed all #defines with the glibtop_global_server. (glibtop_get_*_l): First argument is now a `glibtop_client *'. (glibtop_get_*_s, glibtop_init_*_s): First argument is now a `glibtop_server *'. * lib/glibtop-client.c: New file. * sysdeps/common/xmalloc.c: Moved to lib/. * sysdeps/common/error.c: Moved to lib/. * lib/xmalloc.c: Moved here from sysdeps/common/. * lib/error.c: Moved here from sysdeps/common/. * include/glibtop/backend.h (glibtop_backend_open_func_t, glibtop_backend_close_func_t): First argument is now a `glibtop_server *'. (glibtop_backend_info): Added `glibtop_server *server'. (glibtop_open_backend_l): Returns `glibtop_backend *', first argument is `glibtop_client *' and added `GError **'. * include/glibtop/close.h (glibtop_close_s, glibtop_close_p): First argument is now a `glibtop_server *'. * include/glibtop/error.h (*): First argument is now a `glibtop_server *'. * include/glibtop/errors.h: Switched this to use GError.
* Added `Process current working directory' feature (proc_cwd).Martin Baulig2000-04-241-10/+12
| | | | | | | | | | | | | | | 2000-04-24 Martin Baulig <baulig@suse.de> Added `Process current working directory' feature (proc_cwd). * include/glibtop/proc_cwd.h: New file. * features.def: Added `proc_cwd'. * include/glibtop/sysdeps.h (glibtop_sysdeps): Added `proc_cwd'. * include/glibtop/union.h (glibtop_union): Added `proc_cwd'. * sysdeps/stub/proc_cwd.c: New file. * sysdeps/names/proc_cwd.c: New file.
* Split netload into netload and netinfo.Martin Baulig1999-11-281-5/+7
| | | | | | | | | | | | | | | | 1999-11-28 Martin Baulig <martin@home-of-linux.org> Split netload into netload and netinfo. * include/glibtop/netinfo.h: New file. * include/glibtop/netload.h (glibtop_netload): Moved `if_flags', `mtu', `subnet' and `address' into the new `glibtop_netinfo'. * include/glibtop/sysdeps.h (GLIBTOP_SYSDEPS_NETINFO): Added. (glibtop_sysdeps): Added `netinfo. * include/glibtop/union.h (glibtop_union): Added `netinfo. * include/glibtop/command.h (GLIBTOP_CMND_NETINFO): Added.
* Added new feature to get a list of network interface names.Martin Baulig1999-11-211-2/+4
| | | | | | | | | | | | | | | 1999-11-21 Martin Baulig <martin@home-of-linux.org> Added new feature to get a list of network interface names. * features.def: Added `interface_names' feature. * include/glibtop/interfaces.h: New file. * include/glibtop/sysdeps.h (GLIBTOP_SYSDEPS_INTERFACE_NAMES): Added. (glibtop_sysdeps): Added `interface_names'. * include/glibtop/union.h (glibtop_union): Added `interface_names'. * include/glibtop/command.h (GLIBTOP_CMND_INTERFACE_NAMES): Added.
* Use `int' as return type, not `void'.Martin Baulig1999-11-211-1/+1
| | | | | | | | | | | 1999-11-21 Martin Baulig <martin@home-of-linux.org> * include/glibtop/sysdeps.h (glibtop_init_func_t): Use `int' as return type, not `void'. * include/glibtop/proclist.h (GLIBTOP_KERN_PROC_PPID): On a suggestion from Sebastian Fischmeister added a way to return all children of a given process.
* Remove the `GLIBTOP_SYSDEPS_FEATURES' and `GLIBTOP_SYSDEPS_POINTER_SIZE'Martin Baulig1999-05-281-24/+22
| | | | | | | | 1999-05-28 Martin Baulig <baulig@Stud.Informatik.Uni-Trier.DE> * include/glibtop/sysdeps.h: Remove the `GLIBTOP_SYSDEPS_FEATURES' and `GLIBTOP_SYSDEPS_POINTER_SIZE' constants and let numbering start at zero for `GLIBTOP_SYSDEPS_CPU'.
* Added `pointer_size' which is the number of bits of a `void *'.Martin Baulig1999-05-061-24/+26
| | | | | | | 1999-05-06 Martin Baulig <martin@home-of-linux.org> * include/glibtop/sysdeps.h (glibtop_sysdeps): Added `pointer_size' which is the number of bits of a `void *'.
* Changed indentation:Martin Baulig1999-03-301-24/+26
| | | | tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4
* Set the copyright of LibGTop to the GNU General Public License.Martin Baulig1999-02-231-7/+7
| | | | | | | | | 1999-02-22 Martin Baulig <martin@home-of-linux.org> Set the copyright of LibGTop to the GNU General Public License. * copyright.txt: Set the year to 1998-99 and pretty-format it a little bit. Same in all C source and header files.
* Include a copy of the GNU Library General Public License here.Martin Baulig1999-02-221-13/+15
| | | | | | | | | | 1999-02-22 Martin Baulig <martin@home-of-linux.org> * COPYING.LIB: Include a copy of the GNU Library General Public License here. * copyright.txt: Set the year to 1998-99 and pretty-format it a little bit. Same in all C source and header files.
* Replace all __BEGIN_DELCS with LIBGTOP_BEGIN_DECLS and all __END_DECLSMartin Baulig1999-02-191-2/+2
| | | | | | | | 1999-02-19 Martin Baulig <martin@home-of-linux.org> * Replace all __BEGIN_DELCS with LIBGTOP_BEGIN_DECLS and all __END_DECLS with LIBGTOP_END_DECLS; remove all __P macros and use real function prototypes.
* Use glib-like function prototypes instead of "extern <function>Martin Baulig1999-02-181-1/+1
| | | | | | | 1999-02-18 Martin Baulig <martin@home-of-linux.org> * include/glibtop/*.h: Use glib-like function prototypes instead of "extern <function> __P((args))".
* Added new features to get network load:Martin Baulig1998-10-261-2/+4
| | | | | | | | | | | | | | | | | | | | | | | typedef struct _glibtop_netload glibtop_netload; struct _glibtop_netload { u_int64_t flags, mtu, /* GLIBTOP_NETLOAD_MTU */ address, /* GLIBTOP_NETLOAD_ADDRESS */ packets_in, /* GLIBTOP_NETLOAD_PACKETS_IN */ packets_out, /* GLIBTOP_NETLOAD_PACKETS_OUT */ bytes_in, /* GLIBTOP_NETLOAD_BYTES_IN */ bytes_out, /* GLIBTOP_NETLOAD_BYTES_OUT */ errors_in, /* GLIBTOP_NETLOAD_ERRORS_IN */ errors_out, /* GLIBTOP_NETLOAD_ERRORS_OUT */ collisions; /* GLIBTOP_NETLOAD_COLLISIONS */ }; Returns network load of the given interface, it is specified as string like `isppp' or `ippp0': extern void glibtop_get_netload_l __P((glibtop *, glibtop_netload *, const char *));
* Added new feature (proc_args) to get command line arguments:Martin Baulig1998-10-261-5/+7
| | | | | | | | | | | | | | | | typedef struct _glibtop_proc_args glibtop_proc_args; struct _glibtop_proc_args { u_int64_t flags, size; /* GLIBTOP_PROC_ARGS_SIZE */ }; Returns a string containing all command line arguments of the process, the `unsigned' parameter is the maximum length of this string; if it is zero then no limit will be set. extern const char *glibtop_get_proc_args_l __P((glibtop *, glibtop_proc_args *, pid_t, unsigned));
* Added new feature to get PPP/ISDN support:Martin Baulig1998-10-251-2/+4
| | | | | | | | | | | | | | | | | | enum { GLIBTOP_PPP_STATE_UNKNOWN = 0, GLIBTOP_PPP_STATE_HANGUP, GLIBTOP_PPP_STATE_ONLINE }; struct _glibtop_ppp { u_int64_t flags, state, /* GLIBTOP_PPP_STATE */ bytes_in, /* GLIBTOP_PPP_BYTES_IN */ bytes_out; /* GLIBTOP_PPP_BYTES_OUT */ }; Currently only implemented in the FreeBSD port with ISDN via I4B. - Martin
* Removed external delarations of all `glibtop_guile_*' functions that wereMartin Baulig1998-10-111-19/+0
| | | | | | | | 1998-10-11 Martin Baulig <martin@home-of-linux.org> * include/glibtop/*.h: Removed external delarations of all `glibtop_guile_*' functions that were formerly defined in sysdeps/guile/guile.c and sysdeps/guile/names/guile-names.c.
* New file. Added definition of `proc_map'.Martin Baulig1998-08-101-3/+5
| | | | | | | 1998-08-10 Martin Baulig <martin@home-of-linux.org> * include/glibtop/procmap.h (glibtop_proc_map): New file. * features.def: Added definition of `proc_map'.
* Removed. New files. Added `libgtop_server'; this has been moved here fromMartin Baulig1998-08-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 1998-08-07 Martin Baulig <martin@home-of-linux.org> * src/server: Removed. * src/daemon/{server, version}.c: New files. * src/daemon/Makefile.am: Added `libgtop_server'; this has been moved here from `src/server' since it shares some source code files with the `libgtop_daemon'. * LIBGTOP-VERSION: Added `LIBGTOP_SERVER_VERSION'. * src/daemon/gnuserv.c, lib/open.c: Improved version check between client and server. * include/glibtop/output.h: Removed. * sysdeps/stub_suid: New directory. This is mainly used as example for people porting libgtop to other systems. * sysdeps/common/sysdeps_suid.c: New file. Defines `glibtop_init_hook_p'. * sysdeps/osf1/*.c (glibtop_init_<no-suid-feature>_s): New functions. (glibtop_init_<suid-feature>_p): New functions.
* New fields `error_method', `sysdeps' and `required'. I added an improvedMartin Baulig1998-08-071-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1998-08-07 Martin Baulig <martin@home-of-linux.org> * glibtop.h (_glibtop): New fields `error_method', `sysdeps' and `required'. I added an improved error handling: the client can tell the libraries which fields are absolutely required for each features and if it fails to set one of them, this will create an error which is handled depending upon the `error_method'. * include/glibtop/open.h: Define some constants for `error_method'. * lib/sysdeps.c (glibtop_get_sysdeps_r): No longer actually call any sysdeps function, it now simply copies `server->sysdeps'. (_glibtop_init_hook_s): Added. List of functions to be called during `glibtop_init_s' set to `glibtop_init_<no-suid-feature>_s'. * include/glibtop/sysdeps.h (<glibtop/union.h>): Removed. (glibtop_init_func_t): New typedef. (_glibtop_init_hook_s): Added. * sysdeps/linux/*.c (glibtop_init_<feature>_s): New functions. (glibtop_get_proc_*): Zero is now a valid pid. * sysdeps/kernel/*.c (glibtop_init_<feature>_s): New functions. (glibtop_get_proc_*): Zero is now a valid pid. 1998-08-06 Martin Baulig <martin@home-of-linux.org>
* Using `GLIBTOP_GUILE' instead of `HAVE_GUILE' so one should be able to useMartin Baulig1998-08-061-1/+1
| | | | | | | | | | | | | | | 1998-08-06 Martin Baulig <martin@home-of-linux.org> * include/glibtop/*.h: Using `GLIBTOP_GUILE' instead of `HAVE_GUILE' so one should be able to use libgtop without guile in an application even if guile is installed. * sysdeps/common/mountlist.c: Fixed some `xstrdup' problems. * lib/open.c: Now correctly reading server features for `GLIBTOP_METHOD_PIPE'. * sysdeps/freebsd: New directory.
* Using `u_int64_t' instead of `unsigned long' and `long' to avoid problemsMartin Baulig1998-07-301-1/+1
| | | | | | | | 1998-07-30 Martin Baulig <martin@home-of-linux.org> * include/glibtop/*.h: Using `u_int64_t' instead of `unsigned long' and `long' to avoid problems when client is on a 32bit system and the server on a 64bit system.
* New file.Martin Baulig1998-07-221-2/+4
| | | | | | | | | | | | | 1998-07-22 Martin Baulig <martin@home-of-linux.org> * include/glibtop/fsusage.h: New file. * features.def: Added new feature `fsusage'. * sysdeps/common/fsusage.c (glibtop_get_fsusage_s): New function. (get_fs_usage): Declared as `static'. * sysdeps/names/fsusage.c: New file.
* New file.Martin Baulig1998-07-221-2/+4
| | | | | | | | | | | 1998-07-22 Martin Baulig <martin@home-of-linux.org> * include/glibtop/mountlist.h: New file. * features.def: Added new feature `mountlist'. * sysdeps/common/mountlist.c (glibtop_get_mountlist_s): New function. (read_filesystem_list): Declared as `static'.
* Forgot to change declaration on Jun 6.Martin Baulig1998-06-121-2/+2
| | | | | | | | | | | | 1998-06-12 Martin Baulig <baulig@taurus.uni-trier.de> * include/glibtop/sysdeps.h (glibtop_types_sysdeps): Forgot to change declaration on Jun 6. * sysdeps/names/sysdeps.c (glibtop_types_sysdeps): Using numeric constants from `types.h' instead of string constants; forgot to change this on Jun 6. Added information about new `features' field of `_glibtop_sysdeps'.
* Using single underscore instead of two underscores for function prefixesMartin Baulig1998-06-071-2/+2
| | | | | | | | 1998-06-07 Martin Baulig <martin@home-of-linux.org> * *.[ch]: Using single underscore instead of two underscores for function prefixes (regexp: ``s,__([rspl])\b,_$1,g'') to avoid ambiguity with mangled C++ names.