summaryrefslogtreecommitdiff
path: root/sysdeps/stub
Commit message (Collapse)AuthorAgeFilesLines
* Revert "New API to retrieve disk stats in Linux"Michael Catanzaro2020-11-062-43/+0
| | | | This reverts commit 9e62440b314fbf87bbeca865a4223311314c52a3.
* Revert "Code clean up and add example"Michael Catanzaro2020-11-061-1/+1
| | | | This reverts commit 7396970afe2290488fd072612a650353dd13a16d.
* Code clean up and add exampleJames Dominic P. Guana2020-11-041-1/+1
|
* New API to retrieve disk stats in LinuxJames Dominic P. Guana2020-11-042-0/+43
|
* Renamed procdiskio to procioRobert Roth2017-05-121-6/+6
|
* New API to retrieve process io stats, with Linux implementationRobert Roth2017-02-121-0/+43
|
* Fix autotools deprecation warning with s/INCLUDES/AM_CPPFLAGS/g.Benoit Dejean2015-07-151-1/+1
|
* stub sysdep: add some missing filesRyan Lortie2015-01-034-1/+100
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=724196
* stub sysdep: add missing definesRyan Lortie2015-01-031-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=724196
* stub sysdep: fix mismatched function vs. prototypeRyan Lortie2015-01-031-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=724196
* Update old FSF address.Robert Roth2014-08-2026-52/+52
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=721514
* Renamed all glibtop_init_xxx functions to _glibtop_init_xxx so they getBenoît Dejean2007-04-1122-22/+22
| | | | | | | | | | | | | | | 2007-04-11 Benoît Dejean <benoit@placenet.org> * *: Renamed all glibtop_init_xxx functions to _glibtop_init_xxx so they get internal visibility. * configure.in: Bumped version number. svn path=/trunk/; revision=2569
* Removed noisy $Id$.Benoît Dejean2007-02-1926-52/+0
| | | | | | | | | | 2007-02-20 Benoît Dejean <benoit@placenet.org> * *: Removed noisy $Id$. svn path=/trunk/; revision=2558
* Bumped version number to 2.14.6.Benoît Dejean2007-01-111-27/+0
| | | | | | | | | | | | | | 2007-01-11 Benoît Dejean <benoit@placenet.org> * configure.in: Bumped version number to 2.14.6. * *: Got rid of CVS admin files. svn path=/trunk/; revision=2545
* Synch the list of GLIBTOP_SUID_* constants with those expected by theJulio M. Merino Vidal2006-04-041-0/+1
| | | | | | | | | | | | | | | | 2006-04-04 Julio M. Merino Vidal <jmmv@NetBSD.org> * sysdeps/aix/glibtop_server.h: * sysdeps/freebsd/glibtop_server.h: * sysdeps/osf1/glibtop_server.h: * sysdeps/stub/glibtop_server.h: * sysdeps/stub_suid/glibtop_server.h: Synch the list of GLIBTOP_SUID_* constants with those expected by the lib/sysdeps.c file. Fixes the build under, at least, NetBSD and FreeBSD. Fixes bug #337246.
* remove unused file.James Henstridge2005-12-1225-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-12-12 James Henstridge <james@jamesh.id.au> * doc/auto-macros.texi.in: remove unused file. * doc/libgtop2.texi: don't include auto-macros.texi. * doc/Makefile.am: don't build auto-macros.texi, since none of its macros are used in the documentation any more. * include/glibtop/global.h: don't include <config.h> from headers. * .../*.c: make sure <config.h> is the first thing included. * acinclude.m4: m4_include() libgtop-sysdeps.m4 rather than inlining it. * acinclude.m4, libgtop-sysdeps.m4: use third argument to AC_DEFINE() to set the comment. * configure.in: modernise a bit. * acconfig.h: remove file, since it is deprecated * autogen.sh: require automake 1.9 instead of 1.4.
* Fixed typo. Closes #166090Benoît Dejean2005-02-022-1/+5
| | | | * procopenfiles.c: Fixed typo. Closes #166090
* UTF-8-ified.Benoît Dejean2005-01-241-1/+1
| | | | | | * include/glibtop/procopenfiles.h: * sysdeps/linux/procopenfiles.c: * sysdeps/stub/procopenfiles.c: UTF-8-ified.
* New feature by nick@reloco.com.ar (Nicolás Lichtmaier).Benoît Dejean2005-01-102-1/+49
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Fixed.Benoît Dejean2004-12-232-7/+8
| | | | * netlist.c: (glibtop_get_netlist_s): Fixed.
* Added stub for glibtop_get_netlist.Benoît Dejean2004-11-133-1/+50
| | | | | | * Makefile.am: * netlist.c: (glibtop_init_netlist_s), (glibtop_get_netlist_s): Added stub for glibtop_get_netlist.
* Glibify a bit more. Closes #147618.Benoît Dejean2004-07-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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-091-2/+2
| | | | * *.{c,h} : whitespace clean up.
* install only one library, libgtop-2.0 Fix build-time warnings due to theBastien Nocera2003-10-212-2/+6
| | | | | | | | | | | 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
* - fixed compilationBastien Nocera2003-10-204-4/+8
|
* Reverted libgtop changes. It's a common module and I should not modify it.Carlos Perelló Marín2003-10-1927-0/+1099
| | | | | | | | 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.
* Moved all sysdeps code to the new libgtop-backends module.Martin Baulig2001-04-2029-1354/+0
| | | | | | | | | | | | | | | 2001-04-20 Martin Baulig <baulig@suse.de> Moved all sysdeps code to the new libgtop-backends module. * sysdeps/freesd/*: Removed. * sysdeps/kernel/*: Removed. * sysdeps/linux/*: Removed. * sysdeps/osf1/*: Removed. * sysdeps/solaris/*: Removed. * sysdeps/stub/*: Removed. * sysdeps/stub_suid/*: Removed. * sysdeps/sun4/*: Removed.
* Don't call glibtop_init_s(), this is deprecated.Martin Baulig2000-11-2223-45/+63
| | | | | | | | 2000-11-22 Martin Baulig <martin@home-of-linux.org> * *.c: Don't call glibtop_init_s(), this is deprecated. * netinfo.c: New file.
* Started with the big rewrite for GNOME 2.0:Martin Baulig2000-11-2026-53/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2022-22/+22
| | | | | | | | | 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.
* Make it compile.Martin Baulig2000-11-203-10/+11
|
* Added `Process current working directory' feature (proc_cwd).Martin Baulig2000-04-241-0/+51
| | | | | | | | | | | | | | | 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.
* *** empty log message ***Martin Baulig2000-02-241-0/+1
|
* Moved here from the sysdeps directories.Martin Baulig2000-02-062-31/+1
| | | | | | | | | 2000-02-06 Martin Baulig <martin@home-of-linux.org> * lib/sysdeps-init-*.c (glibtop_sys_siglist): Moved here from the sysdeps directories. * sysdeps/*/siglist.c: Removed.
* Removed the `lockfile' argument; we now use a configure check to determineMartin Baulig2000-02-061-1/+1
| | | | | | | | | | | | | | | | 2000-02-06 Martin Baulig <martin@home-of-linux.org> * include/glibtop/ppp.h (glibtop_get_ppp): Removed the `lockfile' argument; we now use a configure check to determine the modem lockfile. * include/glibtop/error.h (GLIBTOP_ERROR_NEED_MODEM_LOCKFILE): Removed this now obsolete error constant again. * configure.in (--with-modem-lockfile): New configure parameter to manually specify the modem lockfile. (LIBGTOP_MODEM_LOCKFILE): Define this to be a printf-format string for the modem lockfile; takes the interface number as argument.
* Added `use_isdn' and `lockfile' arguments. When `use_isdn' is TRUE, weMartin Baulig2000-01-221-1/+2
| | | | | | | | | | | | | | | | | | 2000-01-22 Martin Baulig <martin@home-of-linux.org> * include/glibtop/ppp.h (glibtop_get_ppp): Added `use_isdn' and `lockfile' arguments. When `use_isdn' is TRUE, we return ISDN statistics, otherwise `lockfile' is expected to be the modem lockfile and we return PPP statistics for that Modem. Note that for Modem statistics, you need to set both `device' and `lockfile' for some sysdeps ports; so if you have more than one PPP connection active and want to get statistics on the second one you need to set `device' to 1 and `lockfile' to the correct modem lockfile. * include/glibtop/error.h (GLIBTOP_ERROR_NEED_MODEM_LOCKFILE): New error constant; this is returned when you call glibtop_get_ppp () without a modem lockfile and the current sysdeps port requires it.
* *** empty log message ***Martin Baulig2000-01-141-19/+0
|
* The indentation in LibGTop was done with the following command:Martin Baulig1999-12-2625-82/+132
| | | | | | | | find . -name \*.[ch] | xargs -i emacs -batch {} \ -l /gnome/compile/libgtop/misc/format.el -f save-buffer December 26, 1999 Martin
* Added `instance' argument.Martin Baulig1999-11-281-1/+1
| | | | | | | 1999-11-28 Martin Baulig <martin@home-of-linux.org> * include/glibtop/interfaces.h (glibtop_get_interface_names): Added `instance' argument.
* Reflect latest interface changes.Martin Baulig1999-11-2122-1/+129
|
* This is a very big an possibly breaking commit.Martin Baulig1999-10-2420-37/+37
| | | | | | | | | | | | | | | | | | It changes the return values of all sysdeps functions which were previosly returning void to int. This is the first step to implement better error handling in LibGTop. Martin 1999-10-24 Martin Baulig <martin@home-of-linux.org> * include/glibtop/*.h (glibtop_get_*, glibtop_init*): Changed the return value of all `glibtop_get_<feature>_* ()' and all `glibtop_init_<feature>_* ()' functions from void to int. * features.def: Reflect changes of the return values. * sysdeps/*/*.c: Reflect changes of the return values.
* Set the copyright of LibGTop to the GNU General Public License.Martin Baulig1999-02-2324-190/+195
| | | | | | | | | 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-2222-286/+330
| | | | | | | | | | 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.
* *** empty log message ***Martin Baulig1999-02-191-0/+1
|
* *** empty log message ***Martin Baulig1999-02-191-0/+1
|
* 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.
* Initialize INCLUDES to `@INCLUDES@' to make it clear that it is set inMartin Baulig1999-02-161-0/+2
| | | | | | | | | | | | | | 1999-02-16 Martin Baulig <martin@home-of-linux.org> * examples/Makefile.am, lib/Makefile.am, src/daemon/Makefile.am, sysdeps/common/Makefile.am, sysdeps/guile/Makefile.am, sysdeps/guile/names/Makefile.am, sysdeps/kernel/Makefile.am, sysdeps/linux/Makefile.am, sysdeps/names/Makefile.am, sysdeps/osf1/Makefile.am, sysdeps/stub/Makefile.am, sysdeps/stub_suid/Makefile.am, sysdeps/sun4/Makefile.am: Initialize INCLUDES to `@INCLUDES@' to make it clear that it is set in configure.in. It is ok to add things there, but you must not remove the `@INCLUDES@'.
* Removed hardcoded gcc arguments. Converted remaining CFLAGS settings toJeff Garzik1999-02-151-2/+0
| | | | | | | | | | | | | | | | | 1999-02-15 Jeff Garzik <jgarzik@pobox.com> * examples/Makefile.am, lib/Makefile.am, src/daemon/Makefile.am, sysdeps/common/Makefile.am, sysdeps/guile/Makefile.am, sysdeps/guile/names/Makefile.am, sysdeps/kernel/Makefile.am, sysdeps/linux/Makefile.am, sysdeps/names/Makefile.am, sysdeps/osf1/Makefile.am, sysdeps/stub/Makefile.am, sysdeps/stub_suid/Makefile.am, sysdeps/sun4/Makefile.am: Removed hardcoded gcc arguments. Converted remaining CFLAGS settings to use correct INCLUDES. * include/glibtop/error.h: Added FIXME comment about varargs macros breaking Sun cc compilation.
* Make the return value a `char *' instead of a `const char *'.Martin Baulig1998-12-091-1/+1
| | | | | | | 1998-12-09 Martin Baulig <martin@home-of-linux.org> * include/glibtop/procargs.h (glibtop_get_proc_args): Make the return value a `char *' instead of a `const char *'.