summaryrefslogtreecommitdiff
path: root/glibtop.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert "New API to retrieve disk stats in Linux"Michael Catanzaro2020-11-061-2/+0
| | | | This reverts commit 9e62440b314fbf87bbeca865a4223311314c52a3.
* Revert "Handle LVM and RAID"Michael Catanzaro2020-11-061-1/+1
| | | | This reverts commit 9cbb3b91f11ad0c4944a1428d609201c054cffab.
* Handle LVM and RAIDJames Dominic P. Guana2020-11-041-1/+1
|
* New API to retrieve disk stats in LinuxJames Dominic P. Guana2020-11-041-0/+2
|
* Mark glibtop_init_s as non-introspectableTing-Wei Lan2019-07-241-1/+1
| | | | | | This function isn't exported so it should be skipped. https://gitlab.gnome.org/GNOME/gjs/issues/259
* Don't include non-installed glibtop_machine.h in glibtop.h.Benoît Dejean2015-08-151-2/+1
| | | | That would defeat its purpose.
* Turn glibtop::machine from a value to a pointer, allocated on init.Benoit Dejean2015-08-081-1/+1
| | | | This hides the glibtop_machine implementation.
* Add uid/euid/gid/egid members to struct glibtop.Benoit Dejean2015-08-081-0/+10
|
* Always define gligtop_machine.Benoit Dejean2015-08-081-32/+1
| | | | | | | | | | | There was an ABI mismatch because HAVE_GLIBTOP_MACHINE was only defined when compiling the library itself. The library code would then use a larger struct glibtop (with a machine member) than the application code. Everyone defines a glibtop_machine but linux (though it as a glibtop_machine.h) and cygwin (code unchanged for 5 years) so this should not break anything.
* Add gtk-doc annotations for the glibtop_init functions.Benoît Dejean2015-07-101-0/+23
| | | | | Their return value should not be freed. This fixes usage from gnome-instrospection (invalid free).
* Make some APIs that return struct introspectableJasper St. Pierre2015-01-031-0/+3
| | | | | | | In order to do this, we need to define some boxed types. So we need to add a new dependency, GObject, to GTop. https://bugzilla.gnome.org/show_bug.cgi?id=663265
* Update old FSF address.Robert Roth2014-08-201-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=721514
* Single glib.h include.Benoît Dejean2008-11-071-1/+1
| | | | | | Closes #557826. svn path=/trunk/; revision=2785
* 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
* Made gtk-doc happy in order to dist.LIBGTOP_2_14_5Benoît Dejean2006-12-031-2/+30
| | | | | | | | | | 2006-12-03 Benoît Dejean <benoit@placenet.org> * doc/reference/libgtop-docs.xml: * glibtop.h: * include/glibtop/sysinfo.h: Made gtk-doc happy in order to dist.
* Bumped version number.Benoît Dejean2006-08-101-0/+6
| | | | | | | | | | | | | 2006-08-10 Benoît Dejean <benoit@placenet.org> * configure.in: Bumped version number. * glibtop.h: * include/glibtop/init_hooks.h: Added missing G_(BEGIN|END)_DECLS.
* Increased GLIBTOP_NCPU to 32. Added real_ncpu to struct glibtop. AddedBenoît Dejean2005-12-091-0/+1
| | | | | | | | | | | | | | * configure.in: * glibtop.h: * include/glibtop/cpu.h: * include/glibtop/procmap.h: Increased GLIBTOP_NCPU to 32. Added real_ncpu to struct glibtop. Added smaps members to glibtop_map_entry. Bumped version number to 2.13.0 Broke ABI again. Sorry.
* Added a lot of new functions to replace dirty macros. Every macroBenoît Dejean2005-06-071-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Removed some dead files. Don't install private headers.Benoît Dejean2005-02-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * backends/server/server.h: * configure.in: * glibtop.h: * include/glibtop/Makefile.am: * include/glibtop/gnuserv.h: * include/glibtop/open.h: * include/glibtop/read.h: * include/glibtop/read_data.h: * include/glibtop/types.h: * include/glibtop/write.h: * lib/close.c: * lib/init.c: * lib/lib.pl: * lib/open.c: * lib/parameter.c: * lib/read.c: * lib/read_data.c: * lib/write.c: * src/daemon/daemon.h: * src/daemon/io.c: * src/daemon/main.c: (handle_parent_connection): * src/daemon/slave.c: (handle_slave_connection), (handle_slave_command): * sysdeps/common/gnuslib.c: * sysdeps/solaris/glibtop_private.h: Removed some dead files. Don't install private headers.
* Removed unused files.Benoît Dejean2004-11-181-0/+21
| | | | | | | | | | | * LIBGTOP-VERSION: * libgtop-mirror.sh: Removed unused files. * libgtopconfig.h.in: Added. * Makefile.am: * configure.in: * glibtop.h: Added libgtopconfig.h and LIBGTOP_VERSION_CHECK(X, Y, Z). This can be used in build tests.
* Added missing include <glibtop/close.h>.Benoît Dejean2004-09-251-0/+1
| | | | * glibtop.h: Added missing include <glibtop/close.h>.
* Moved foward declaration of glibtop to break circular #includesBenoît Dejean2004-07-031-1/+4
| | | | | * glibtop.h: Moved foward declaration of glibtop to break circular #includes dependencies.
* - fixed compilationBastien Nocera2003-10-201-20/+0
|
* libgtop-GNOME-2-0-branch moved to HEAD.Carlos Perelló Marín2003-10-191-15/+62
| | | | | | 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.
* Removed this typedef. (glibtop_server): Made the `_priv' field a `void *'.Martin Baulig2001-04-201-5/+1
| | | | | | | | | | | | | 2001-04-20 Martin Baulig <baulig@suse.de> * include/glibtop/glibtop-server.h (glibtop_server_private): Removed this typedef. (glibtop_server): Made the `_priv' field a `void *'. * glibtop-server-private.h: Moved to lib/. * lib/glibtop-server-private.h (glibtop_server_private): Moved this typedef here.
* Started with the big rewrite for GNOME 2.0:Martin Baulig2000-11-201-43/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* New type. (glibtop): Added `glibtop_server_info *info', moved `ncpu',Martin Baulig2000-11-201-5/+11
| | | | | | | | | 2000-11-20 Martin Baulig <baulig@suse.de> * glibtop.h (glibtop_server_info): New type. (glibtop): Added `glibtop_server_info *info', moved `ncpu', `features', `sysdeps', `required' and `wanted' info glibtop_server_info.
* Removed `method', `server_command', `server_host', `server_user' andMartin Baulig2000-02-061-6/+3
| | | | | | | | | | | | | | | 2000-02-06 Martin Baulig <martin@home-of-linux.org> * glibtop.h (glibtop): Removed `method', `server_command', `server_host', `server_user' and `server_rsh'. Added `glibtop_parameter _param' field and moved `error_method' there. * include/glibtop/parameter.h (glibtop_parameter): New structure. (GLIBTOP_PARAM_METHOD, GLIBTOP_PARAM_COMMAND): Removed. (GLIBTOP_PARAM_HOST, GLIBTOP_PARAM_PORT): Removed. (GLIBTOP_PARAM_REMOTE_USER, GLIBTOP_PARAM_PATH_RSH): Removed. (GLIBTOP_PARAM_NCPU, GLIBTOP_PARAM_OS_VERSION_CODE): Added.
* The indentation in LibGTop was done with the following command:Martin Baulig1999-12-261-18/+20
| | | | | | | | find . -name \*.[ch] | xargs -i emacs -batch {} \ -l /gnome/compile/libgtop/misc/format.el -f save-buffer December 26, 1999 Martin
* Use of `errno' as struct field yields some trouble; better useMartin Baulig1999-12-221-1/+1
| | | | `glibtop_errno' instead.
* Added `errno' field.Martin Baulig1999-12-221-0/+1
| | | | | | | | | | 1999-12-22 Martin Baulig <martin@home-of-linux.org> * glibtop.h (glibtop): Added `errno' field. * include/glibtop/errors.h (GLIBTOP_ERROR_SERVER_COMM_FAILURE): New error constant. (GLIBTOP_ERROR_NO_SUCH_PROCESS): New error constant.
* New file. This is a private header file which defines `structMartin Baulig1999-12-191-30/+9
| | | | | | | | | | 1999-12-19 Martin Baulig <martin@home-of-linux.org> * glibtop-server-private.h: New file. This is a private header file which defines `struct _glibtop_server_private'. * glibtop.h (glibtop): Added `glibtop_server_private *_priv' field and moved some private fields there.
* New file. We define `GLIBTOP_ERROR_*' error constants here.Martin Baulig1999-12-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | 1999-12-19 Martin Baulig <martin@home-of-linux.org> * include/glibtop/errors.h: New file. We define `GLIBTOP_ERROR_*' error constants here. * lib/errors.c: New file. (glibtop_error_strings): Array of error messages. (glibtop_get_error_string_l): Get error message. * include/glibtop/parameter.h: Added `GLIBTOP_PARAM_REMOTE_USER' and `GLIBTOP_PARAM_PATH_RSH'. * lib/parameter.c (glibtop_get_parameter_l): Changed return value from `size_t' to `ssize_t' and let it return an error constant. (glibtop_get_parameter_size_l): New function. (glibtop_set_parameter_l): Changed return value from `void' to `int' and let it return an error constant on error. * structures.def (glibtop_sysdeps): Added.
* Added `refcount' field. New functions to deal with refcounts.Martin Baulig1999-12-051-0/+7
| | | | | | | | 1999-12-05 Martin Baulig <martin@home-of-linux.org> * glibtop.h (glibtop): Added `refcount' field. * lib/init.c (glibtop_server_ref, glibtop_server_unref): New functions to deal with refcounts.
* Move this here.Martin Baulig1999-05-281-4/+0
| | | | | | | 1999-05-28 Martin Baulig <martin@home-of-linux.org> * glibtop.h (GLIBTOP_MOUNTENTRY_LEN): Move this * include/glibtop/limits.h: here.
* This is a new generated file which will be included from <glibtop.h>. WeMartin Baulig1999-05-121-0/+4
| | | | | | | | | | | | | | | | | 1999-05-12 Martin Baulig <martin@home-of-linux.org> * glibtop-config.h: This is a new generated file which will be included from <glibtop.h>. We define things like `u_int64_t' and LIBGTOP_*_VERSION here so we can compile LibGTop applications with `libgtop-config --cflags`. * configure.in: Create glibtop-config.h. (GLIBTOP_*_INCS): Added `-I $(pkglibdir)/include'. * libgtop-config.h.in: Added `--cflags', `--libs' and `--extra-libs' parameter so you can now use LibGTop even in no-autoconf apps. * Makefile.am: Install `glibtop-config.h' in `$(pkglibdir)/include'.
* New file. (GLIBTOP_MAX_CPU): Define this here and increase it to 256.Martin Baulig1999-04-181-0/+1
| | | | | | | 1999-04-18 Martin Baulig <martin@home-of-linux.org> * include/glibtop/limits.h: New file. (GLIBTOP_MAX_CPU): Define this here and increase it to 256.
* Added `wanted'. Applications can set the features they are interested inMartin Baulig1999-03-231-0/+1
| | | | | | | | | | | 1999-03-23 Martin Baulig <martin@home-of-linux.org> * 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.
* Set the copyright of LibGTop to the GNU General Public License.Martin Baulig1999-02-231-16/+18
| | | | | | | | | 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.
* Replace all __BEGIN_DELCS with LIBGTOP_BEGIN_DECLS and all __END_DECLSMartin Baulig1999-02-191-4/+11
| | | | | | | | 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.
* Added `ncpu'. This is zero for single processor systems and the number ofMartin Baulig1998-09-091-0/+1
| | | | | | | | | | | 1998-09-09 Martin Baulig <baulig@Stud.Informatik.uni-trier.de> * glibtop.h (glibtop): Added `ncpu'. This is zero for single processor systems and the number of CPUs otherwise. * include/glibtop/cpu.h (glibtop_cpu): Added `xcpu_total', `xcpu_user', `xcpu_nice', `xcpu_sys' and `xcpu_idle'. (GLIBTOP_NCPU): #define this to 4.
* `make distcheck' cleanups - Hey, it really works, guys !Martin Baulig1998-08-161-2/+2
|
* New file. Added definition of `proc_map'.Martin Baulig1998-08-101-0/+4
| | | | | | | 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'.
* New fields `error_method', `sysdeps' and `required'. I added an improvedMartin Baulig1998-08-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Summary of this long ChangeLog:Martin Baulig1998-07-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Splitted `libgtop_sysdeps.la' into `libgtop_sysdeps.la' and `libgtop_sysdeps_suid.la'. Everything that needs to be suid/sgid is in `libgtop_sysdeps_suid.la' and the rest in `libgtop_sysdeps.la'. The functions from `libgtop_sysdeps_suid.la' have the `_p' prefix and the ones from `libgtop_sysdeps.la' the `_s' prefix. The suid library uses `glibtop_open_p' and `glibtop_close_p', the normal one `glibtop_init_s' (found in lib/init.c), `glibtop_open_s' and `glibtop_close_s'. * Added `libgtop_suid_common.la' containing stuff from sysdeps/common that is required from the suid server (currently everything from error.c and xmalloc.c). This means, we can add some more stuff to `libgtop_common.la' without the risk that it may be dangerous in the suid server. * The ``library order'' is much clearer now: -> `libgtop.la' (from lib/) contains user-level stuff; all functions except `glibtop_init_r' have the `_l' suffix. -> `libgtop_common.la' (from sysdeps/common/) contains stuff that is common among the sysdeps directories. use anything from `libgtop_sysdeps.la' and `libgtop_sysdeps_suid.la'. -> `libgtop_sysdeps.la' (from sysdeps/<sysdeps_dir>/) contains everything from the sysdeps directory that doesn't need to be suid/sgid. -> `libgtop_suid_common.la' (from sysdeps/common/) is used from the suid server instead of `libgtop_common.la'. -> `libgtop_sysdeps_suid.la' (from sysdeps/<sysdeps_dir>/) contains everything from the sysdeps directory that needs to be in the suid server. * To summarize: the server is linked only with functions that need to be suid and everything else is linked only with functions that do not need to be suid. Martin 1998-07-22 Martin Baulig <martin@home-of-linux.org> * lib/init.c (glibtop_init_s): Added this init function of the sysdeps directory `libgtop_sysdeps.la'. * lib/open.c (glibtop_open_l): Unconditionally calling `glibtop_init_s' after server initialization. * lib/lib.awk: Removed references to functions from `libgtop_sysdeps_suid.la' to avoid undefined symbols. * sysdeps/stub/open.c (glibtop_open_s): Renamed this function from `glibtop_open_r'. * sysdeps/stub/close.c (glibtop_close_s): Renamed this function from `glibtop_close_l'. * sysdeps/kernel/open.c (glibtop_open_s): Renamed this function from `glibtop_open_r'. * sysdeps/kernel/close.c (glibtop_close_s): Renamed this function from `glibtop_close_l'. * sysdeps/linux/open.c (glibtop_open_s): Renamed this function from `glibtop_open_r'. * sysdeps/linux/close.c (glibtop_close_s): Renamed this function from `glibtop_close_l'. * sysdeps/osf1/Makefile.am (lib_LTLIBRARIES): Added `libgtop_sysdeps_suid.la' for the suid server. * sysdeps/osf1/open_suid.c (glibtop_open_p): New file. Contains all stuff that was formerly in `open.c'. * sysdeps/osf1/open.c: Moved everything from here into the new file `open_suid.c'. * sysdeps/osf1/open.c (glibtop_open_s): New function. * sysdeps/osf1/close_suid.c (glibtop_close_p): New file. * sysdeps/osf1/close.c (glibtop_close_s): New function. * sysdeps/osf1/*.c: Using the new init, open and close functions. * sysdeps/sun4/Makefile.am (lib_LTLIBRARIES): Added `libgtop_sysdeps_suid.la' for the suid server. * sysdeps/sun4/nosuid.c (glibtop_open_s, glibtop_close_s): New file * sysdeps/sun4/*.c: All functions now have the `_p' suffix. * sysdeps/common/Makefile.am (lib_LTLIBRARIES): Added `libgtop_suid_common.la' which only contains stuff that is needed in the suid parts. * sysdeps/common/xmalloc.c: Using `glibtop_error_io_r' instead of `glibtop_error_r'. * sysdeps/{kernel, linux, osf1, sun4, stub}/init.c: Removed. `glibtop_init_s' has been moved into `lib/init.c' since it's the same in all the sysdeps directories. * src/server/main.c: It is now an error to request a feature that does not need the suid server. * src/proxy: Removed.
* Basically did some work on the new daemon. Things are still unstable.Martin Baulig1998-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 1998-07-13 Martin Baulig <martin@home-of-linux.org> * glibtop.h: Fixed invocation of `glibtop_close_r'. * sysdeps/linux/procstate.c: Added missing `fclose'. * include/glibtop/gnuserv.h (UNIX_DOMAIN_SOCKETS): Defining. * include/glibtop/open.h (GLIBTOP_METHOD_UNIX): Added. * lib/init.c: Added new method `GLIBTOP_METHOD_UNIX'. * lib/open.c: Added support for Unix Domain Sockets. * lib/close.c: Now closing inet and unix connections. * lib/parameter.c (glibtop_set_parameter_l): You can now set the `method' and `features' fields. * src/daemon/server_config.h: New file. * src/daemon/{gnuserv.c, main.c}: More work on the server.
* No longer use `glibtop_machine.h' for Linux.Martin baulig1998-07-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | 1998-07-03 Martin baulig <martin@home-of-linux.org> * macros/gnome-libgtop-sysdeps.m4: No longer use `glibtop_machine.h' for Linux. * sysdeps/linux/glibtop_machine.h: Removed. * sysdeps/guile/guile.awk: Using `scm_append' instead of `gh_append'. * sysdeps/guile/names/guile-names.awk: dito. * sysdeps/linux/*.c: Using code from stable branch again. * include/glibtop/parameter.h: New file. * lib/parameter.c: New file. * lib/{open, init}.c: Done some more work on server initialization
* New field `server_port'.Martin Baulig1998-06-181-0/+1
| | | | | | 1998-06-18 Martin Baulig <baulig@taurus.uni-trier.de> * glibtop.h (_glibtop): New field `server_port'.