summaryrefslogtreecommitdiff
path: root/lib/command.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert "New API to retrieve disk stats in Linux"Michael Catanzaro2020-11-061-1/+0
| | | | This reverts commit 9e62440b314fbf87bbeca865a4223311314c52a3.
* New API to retrieve disk stats in LinuxJames Dominic P. Guana2020-11-041-0/+1
|
* Renamed procdiskio to procioRobert Roth2017-05-121-1/+1
|
* New API to retrieve process io stats, with Linux implementationRobert Roth2017-02-121-0/+1
|
* Check the command value even if !LIBGTOP_ENABLE_DEBUG.Benoit Dejean2015-07-151-38/+37
|
* Convert lots of fprintf(stderr, ...) to glibtop_debug*().Benoit Dejean2015-07-151-4/+2
|
* Better debug message.Benoit Dejean2015-06-261-1/+1
|
* Add command tracing in glibtop_call_l when debugging.Benoit Dejean2015-06-261-0/+39
|
* The DEBUG macro enabled by --enable-debug is actually LIBGTOP_ENABLE_DEBUG.Benoit Dejean2015-06-261-1/+1
|
* Update old FSF address.Robert Roth2014-08-201-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=721514
* 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
* remove unused file.James Henstridge2005-12-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Zeroed all args.Benoît Dejean2004-08-221-4/+2
| | | | * lib/command.c: (glibtop_call_l): Zeroed all args.
* whitespace clean up.Benoît Dejean2004-06-091-1/+1
| | | | * *.{c,h} : whitespace clean up.
* - fixed compilationBastien Nocera2003-10-201-2/+1
|
* - replace all the xmalloc crap by glib memory management functionsBastien Nocera2003-10-201-1/+1
|
* Reverted libgtop changes. It's a common module and I should not modify it.Carlos Perelló Marín2003-10-191-0/+77
| | | | | | | | 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.
* New directory. New directory. New directory.Martin Baulig2000-01-011-85/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-261-31/+33
| | | | | | | | find . -name \*.[ch] | xargs -i emacs -batch {} \ -l /gnome/compile/libgtop/misc/format.el -f save-buffer December 26, 1999 Martin
* Use `retval' for the default retval.Martin Baulig1999-10-241-1/+7
| | | | | | | | | | 1999-10-24 Martin Baulig <martin@home-of-linux.org> * features.def: Use `retval' for the default retval. * include/glibtop/command.h (glibtop_command_h): Added `int *retval_ptr' parameter to return the retval from the sysdeps functions.
* 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.
* Third argument is now `const void *'.Martin Baulig1998-08-251-1/+1
| | | | | | | | | | 1998-08-25 Martin Baulig <martin@home-of-linux.org> * include/glibtop/command.h (glibtop_call): Third argument is now `const void *'. * include/glibtop/xmalloc.h (glibtop_free): Now taking a `const void *'.
* Using `u_int64_t' instead of `unsigned long' and `long' to avoid problemsMartin Baulig1998-07-301-2/+0
| | | | | | | | 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.
* Fixed type in debugging statement.Martin Baulig1998-07-131-1/+1
|
* Changed indentation, removed some lines already commented out.Martin Baulig1998-07-131-10/+8
| | | | Enclosed debugging statement in '#ifdef DEBUG'.
* Some more daemon stuff.Martin Baulig1998-06-181-11/+20
|
* Changed client <-> server interface to make less system calls.Martin Baulig1998-06-181-13/+29
| | | | | | | | | | | | 1998-06-18 Martin Baulig <baulig@taurus.uni-trier.de> * lib/{command, write, read}.c: Changed client <-> server interface to make less system calls. * src/daemon/main.c: Changed server side of interface. * include/glibtop/command.h (struct _glibtop_response): New structure to return data from the server to the client.
* Using single underscore instead of two underscores for function prefixesMartin Baulig1998-06-071-8/+8
| | | | | | | | 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.
* removed #if's - we now decide at runtime whether to use the server or toMartin Baulig1998-06-011-1/+1
| | | | | | * lib/*.c: removed #if's - we now decide at runtime whether to use the server or to call the appropriate function for the sysdeps directory.
* renamed all functions that implementing features to '__l'; we only emitMartin Baulig1998-05-281-5/+5
| | | | | | * lib/*.c: renamed all functions that implementing features to '__l'; we only emit code for those functions if the corresponding 'GLIBTOP_SUID_<feature>' has a positive value.
* Initial revisionMartin Baulig1998-05-191-0/+54