summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Misc. cleanups.Benoît Dejean2005-02-155-19/+24
| | | | | | | * daemon.h: * gnuserv.c: (syslog_message), (syslog_io_message): * main.c: (handle_parent_connection): * slave.c: (handle_slave_connection), (handle_slave_command): Misc. cleanups.
* Bumped to 2.9.0Benoît Dejean2004-11-131-0/+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.
* 'screen' is only defined when AUTH_MAGIC_COOKIE is defined. Added missingBenoît Dejean2004-09-192-2/+13
| | | | | | * gnuserv.c: (setup_table): 'screen' is only defined when AUTH_MAGIC_COOKIE is defined. Added missing initializers for popt options.
* Glibify a bit more. Closes #147618.Benoît Dejean2004-07-182-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/reference.texi: * include/glibtop/command.h: * include/glibtop/glib-arrays.h: * include/glibtop/proclist.h: * lib/glib-arrays.c: (glibtop_get_proclist_as_array_l): * lib/lib.pl: * scripts/c_types.pl: * src/daemon/main.c: (handle_parent_connection): * src/daemon/slave.c: (handle_slave_connection): * support/mkstemp.c: * sysdeps/aix/proclist.c: (glibtop_get_proclist_s): * sysdeps/freebsd/cpu.c: (glibtop_get_cpu_p): * sysdeps/freebsd/prockernel.c: (glibtop_get_proc_kernel_p): * sysdeps/freebsd/proclist.c: (glibtop_get_proclist_p): * sysdeps/freebsd/procmem.c: (glibtop_get_proc_mem_p): * sysdeps/kernel/proclist.c: (glibtop_get_proclist_s): * sysdeps/linux/proclist.c: (glibtop_get_proclist_s): * sysdeps/osf1/proclist.c: (glibtop_get_proclist_p): * sysdeps/solaris/proclist.c: (glibtop_get_proclist_s): * sysdeps/stub/proclist.c: (glibtop_get_proclist_s): * sysdeps/stub_suid/proclist.c: (glibtop_get_proclist_p): * sysdeps/sun4/proclist.c: (glibtop_get_proclist_p): Glibify a bit more. Closes #147618.
* *** empty log message ***Benoît Dejean2004-06-181-1/+1
|
* whitespace clean up.Benoît Dejean2004-06-097-42/+42
| | | | * *.{c,h} : whitespace clean up.
* Cast to size_t to remove warning. Cvs:Benoît Dejean2004-05-252-1/+5
| | | | | * gnuserv.c: (permitted): Cast to size_t to remove warning. Cvs: ----------------------------------------------------------------------
* remove dependency on libgnome, check for linux/isdn.h for distros usingBastien Nocera2004-03-043-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-04 Bastien Nocera <hadess@hadess.net> * configure.in: * include/libgtop-i18n.h: * lib/lib.pl: * lib/read.c: * lib/read_data.c: * lib/write.c: * 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/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: remove dependency on libgnome, check for linux/isdn.h for distros using the 2.6 kernel headers
* install only one library, libgtop-2.0 Fix build-time warnings due to theBastien Nocera2003-10-211-2/+2
| | | | | | | | | | | 2003-10-21 Bastien Nocera <hadess@hadess.net> * Makefile.am: * configure.in: * src/inodedb/.cvsignore: * sysdeps/names/Makefile.am: install only one library, libgtop-2.0 Fix build-time warnings due to the redefinition of guint64
* link to libgtop_suid_common-2.0.la (Closes: #107990)Bastien Nocera2003-10-201-1/+2
| | | | | | | 2003-10-20 Bastien Nocera <hadess@hadess.net> * src/inodedb/Makefile.am: link to libgtop_suid_common-2.0.la (Closes: #107990)
* - s/u_int64_t/guint64/Bastien Nocera2003-10-202-6/+6
|
* - fixed compilationBastien Nocera2003-10-204-7/+15
|
* - replace all the xmalloc crap by glib memory management functionsBastien Nocera2003-10-204-8/+14
|
* removed traces of guile, intllibs and libgnomesupportBastien Nocera2003-10-203-5/+7
| | | | | | | | | | | 2003-10-20 Bastien Nocera <hadess@hadess.net> * lib/Makefile.am: * libgtop-config.in: * libgtop.spec.in: * libgtopConf.sh.in: * src/inodedb/Makefile.am: removed traces of guile, intllibs and libgnomesupport
* remove guile and libgnome-support stuffBastien Nocera2003-10-203-2/+7
| | | | | | | 2003-10-20 Bastien Nocera <hadess@hadess.net> * Makefile.am: * configure.in: remove guile and libgnome-support stuff
* make it compileBastien Nocera2003-10-202-1/+5
| | | | | | 2003-10-20 Bastien Nocera <hadess@hadess.net> * configure.in: make it compile
* Reverted libgtop changes. It's a common module and I should not modify it.Carlos Perelló Marín2003-10-1916-161/+1974
| | | | | | | | 2003-10-19 Carlos Perelló Marín <carlos@gnome.org> * support/*: Reverted libgtop changes. It's a common module and I should not modify it. * Added/removed files. Now the move should be done.
* libgtop-GNOME-2-0-branch moved to HEAD.Carlos Perelló Marín2003-10-192-9/+9
| | | | | | 2003-10-19 Carlos Perelló Marín <carlos@gnome.org> * libgtop-GNOME-2-0-branch moved to HEAD.
* *** empty log message ***Martin Baulig2000-01-091-7/+0
|
* Removed everything in this directory. This has been obsoleted by the newMartin Baulig2000-01-0910-1718/+1
| | | | | | | 2000-01-10 Martin Baulig <martin@home-of-linux.org> * src/daemon/: Removed everything in this directory. This has been obsoleted by the new server code in backends/server.
* Disable compilation of the `daemon' directory.Martin Baulig2000-01-021-1/+1
| | | | | | | | 2000-01-02 Martin Baulig <martin@home-of-linux.org> * src/Makefile.am: Disable compilation of the `daemon' directory. * include/glibtop/command.h: Removed.
* New directory. New directory. New directory.Martin Baulig2000-01-011-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-01-01 Martin Baulig <martin@home-of-linux.org> * backends/: New directory. * backends/server/: New directory. * backends/sysdeps/: New directory. * include/glibtop/backend.h: New file. * include/glibtop/call-vector.h.in: New file. Template file for `call-vector.h'. * include/glibtop/call-vector.pl: New file. Creates 'call-vector.h' from `call-vector.h.in'. * include/glibtop/errors.h (GLIBTOP_ERROR_NO_SUCH_BACKEND): New error constant. (GLIBTOP_ERROR_NOT_IMPLEMENTED): New error constant. * include/glibtop/limits.h (GLIBTOP_BACKEND_NAME_LEN): New constant. * glibtop-server-private.h (glibtop_server_private): Added `GSList *backend_list' and removed `input', `output', `socket' and `pid'. * lib/command.c: Removed. Moved to `backends/server/'. * lib/read.c: Removed. Moved to `backends/server/'. * lib/read_data.c: Removed. Moved to `backends/server/'. * lib/write.c: Removed. Moved to `backends/server/'.
* The indentation in LibGTop was done with the following command:Martin Baulig1999-12-269-398/+416
| | | | | | | | find . -name \*.[ch] | xargs -i emacs -batch {} \ -l /gnome/compile/libgtop/misc/format.el -f save-buffer December 26, 1999 Martin
* Removed all remote communication support from LibGTop.Martin Baulig1999-12-235-184/+2
| | | | | | | | | | | | | | | | | 1999-12-23 Martin Baulig <martin@home-of-linux.org> Removed all remote communication support from LibGTop. * include/glibtop/gnuserv.h: Removed. * sysdeps/common/gnuslib.c: Removed. * src/daemon/Makefile.am: Don't build the `libgtop_daemon' binary any longer. * src/daemon/server_config.pl: Removed. * src/daemon/server_config.h.in: Removed. * src/daemon/server_config.h: Removed.
* Removed. (glibtop_get_proc_args_*): This now takes a `glibtop_array'Martin Baulig1999-12-191-1/+1
| | | | | | | | 1999-12-12 Martin Baulig <martin@home-of-linux.org> * include/glibtop/procargs.h (glibtop_proc_args): Removed. (glibtop_get_proc_args_*): This now takes a `glibtop_array' parameter instead of a `glibtop_proc_args one and returns a `char **'.
* "It compiles".Martin Baulig1999-12-121-3/+3
|
* Added `transport' and `protocol' argument to specify transport method andMartin Baulig1999-11-282-2/+6
| | | | | | | | | | | 1999-11-28 Martin Baulig <martin@home-of-linux.org> * include/glibtop/netload.h (glibtop_get_netload): Added `transport' and `protocol' argument to specify transport method and protocol. * include/glibtop/netinfo.h (glibtop_get_netinfo): Added `transport' argument to specify the transport method.
* Split netload into netload and netinfo.Martin Baulig1999-11-283-0/+13
| | | | | | | | | | | | | | | | 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 `instance' argument.Martin Baulig1999-11-282-4/+11
| | | | | | | 1999-11-28 Martin Baulig <martin@home-of-linux.org> * include/glibtop/interfaces.h (glibtop_get_interface_names): Added `instance' argument.
* **** Merged from Hardangervidda ****Martin Baulig1999-11-282-0/+7
| | | | | | | 1999-11-28 Martin Baulig <martin@home-of-linux.org> * gnuserv.c (setup_table): Don't dump core when the table of permitted host names contains a NULL pointer.
* Implement GLIBTOP_CMND_INTERFACE_NAMES.Martin Baulig1999-11-212-0/+39
|
* Added new feature to get a list of network interface names.Martin Baulig1999-11-211-0/+1
| | | | | | | | | | | | | | | 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.
* Added additional `int' parameter for the retval from the sysdepsMartin Baulig1999-10-245-72/+97
| | | | | | | 1999-10-24 Martin Baulig <martin@home-of-linux.org> * io.c (do_output): Added additional `int' parameter for the retval from the sysdeps functions.
* Add braces to fix ambiguity.Elliot Lee1999-08-161-1/+2
| | | | Add braces to fix ambiguity.
* Fixed all warnings.Martin Baulig1999-07-302-8/+8
|
* Link the `libgtop_daemon' and the `libgtop_server' statically if possible.Martin Baulig1999-07-292-0/+13
| | | | | | | 1999-07-29 Martin Baulig <martin@home-of-linux.org> * Makefile.am: Link the `libgtop_daemon' and the `libgtop_server' statically if possible.
* Remove the `GLIBTOP_SYSDEPS_FEATURES' and `GLIBTOP_SYSDEPS_POINTER_SIZE'Martin Baulig1999-05-281-2/+1
| | | | | | | | 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'.
* There's some problem with uname () - some systems like Solaris or DigitalMartin Baulig1999-05-073-1/+10
| | | | | | | | | | 1999-05-07 Martin Baulig <martin@home-of-linux.org> * server.c (main): There's some problem with uname () - some systems like Solaris or Digital Unix return a nonnegative value on success, some others like Linux return 0. Since all known systems seem to return a negative value on failure, we simply check whether the return value is not negative here.
* Applied a patch from David Kaelbling:Martin Baulig1999-05-061-1/+5
| | | | | some compilers (like the SGI IRIX 6.x native one) enfore the "casts are not lvalues" maxim.
* Use `(1L << feature)' instead of `(1 << feature)' to avoid problemsMartin Baulig1999-05-061-1/+1
| | | | with integer overflows when we add more fields.
* Added `pointer_size' which is the number of bits of a `void *'.Martin Baulig1999-05-061-0/+1
| | | | | | | 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 *'.
* Set the copyright of LibGTop to the GNU General Public License.Martin Baulig1999-02-238-122/+138
| | | | | | | | | 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.
* Moved some things around in the ChangeLog.Martin Baulig1999-02-191-0/+3
|
* Hardcoded system name. (LIBGTOP_COMPILE_RELEASE): Hardcoded systemMartin Baulig1999-02-193-3/+30
| | | | | | | | | | | 1999-02-19 Martin Baulig <martin@home-of-linux.org> * Makefile.am (LIBGTOP_COMPILE_SYSTEM): Hardcoded system name. (LIBGTOP_COMPILE_RELEASE): Hardcoded system release. (LIBGTOP_COMPILE_MACHINE): Hardcoded machine type. * server.c (main): Abort if not running on the system the server was compiled on.
* Reverted my last brain-dead commit.Martin Baulig1999-02-191-14/+7
| | | | | | | | Logical error: we need to check whether the server runs on the system it was compiled on and not whether the client uses a server that was compiled on the clients system.
* For suid/sgid servers the operating system version must match the one theMartin Baulig1999-02-191-7/+14
| | | | | | | | 1999-02-19 Martin Baulig <martin@home-of-linux.org> * lib/open.c, src/daemon/version.c: For suid/sgid servers the operating system version must match the one the server was compiled on.
* Don't include <glib.h>. Use `int' not `gint'.Martin Baulig1999-02-191-1/+1
| | | | | | | 1999-02-19 Martin Baulig <martin@home-of-linux.org> * include/glibtop/error.h: Don't include <glib.h>. * sysdeps/common/error.c: Use `int' not `gint'.
* Sometimes @LIBSUPPORT@ references symbols from @INTLLIBS@ so we needMartin Baulig1999-02-192-4/+4
| | | | to put @INTLLIBS@ last.
* Make it work with Digital Unix native cc.Martin Baulig1999-02-193-7/+8
|
* *** empty log message ***Martin Baulig1999-02-191-0/+1
|