summaryrefslogtreecommitdiff
path: root/sysdeps/osf1
Commit message (Collapse)AuthorAgeFilesLines
* glibtop_machine is defined in glibtop.h.Benoit Dejean2015-08-151-2/+0
| | | | Don't duplicate the typedef (error unless C11).
* server->machine is now a pointer, so propagate the change from . to ->.Benoît Dejean2015-08-083-10/+10
|
* Fix autotools deprecation warning with s/INCLUDES/AM_CPPFLAGS/g.Benoit Dejean2015-07-151-1/+1
|
* Update old FSF address.Robert Roth2014-08-2029-58/+58
| | | | 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-1121-21/+21
| | | | | | | | | | | | | | | 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-1929-58/+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-21/+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-1224-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Moved _glibtop_init_hook_[sp] declaration to private glibtop/init_hooks.h.Benoît Dejean2005-08-021-2/+2
| | | | | | | | | | | | | | | | | | | | | * 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.
* 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-0918-171/+171
| | | | * *.{c,h} : whitespace clean up.
* Removed duplicated memset. Replaced strncpy by g_strlcpy.Benoît Dejean2004-06-063-5/+6
| | | | | * procdata.c: (glibtop_get_procdata_r): Removed duplicated memset. * procstate.c: (glibtop_get_proc_state_p): Replaced strncpy by g_strlcpy.
* Added missing const qualifiers.Benoît Dejean2004-05-255-9/+16
| | | | | | | | * sem_limits.c: * shm_limits.c: * swap.c: Added missing const qualifiers. * uptime.c: (glibtop_get_uptime_s): Cleaned up. Added boot_time.
* 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-207-9/+14
|
* - replace all the xmalloc crap by glib memory management functionsBastien Nocera2003-10-202-6/+11
|
* Reverted libgtop changes. It's a common module and I should not modify it.Carlos Perelló Marín2003-10-1932-0/+2260
| | | | | | | | 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-2034-2450/+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.
* Applied a patch from Aron Griffis <agriffis@bigfoot.com>.Martin Baulig2000-02-244-7/+15
| | | | | | | | | 2000-02-24 Martin Baulig <martin@home-of-linux.org> Applied a patch from Aron Griffis <agriffis@bigfoot.com>. * glibtop_machine.h: Don't declare table () here. * netinfo.c: Reflect latest interface changes.
* Moved here from the sysdeps directories.Martin Baulig2000-02-062-63/+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.
* Reflect latest interface changes.Martin Baulig2000-01-1812-16/+162
|
* perl -pni -e 's,server->machine,server->_priv->machine,g' *.c *.hMartin Baulig2000-01-182-9/+9
|
* Reflect latest interface changes.Martin Baulig2000-01-181-0/+2
|
* perl -pni -e 's,server->machine,server->_priv->machine,g' *.c *.hMartin Baulig2000-01-181-1/+1
|
* Reflect latest interface changes.Martin Baulig2000-01-1211-22/+63
|
* The indentation in LibGTop was done with the following command:Martin Baulig1999-12-2629-533/+591
| | | | | | | | find . -name \*.[ch] | xargs -i emacs -batch {} \ -l /gnome/compile/libgtop/misc/format.el -f save-buffer December 26, 1999 Martin
* This is a larger source-incompatible commit, but it'll make it easier toMartin Baulig1999-12-113-22/+22
| | | | | | | | | | | | | | | | | 1999-12-11 Martin Baulig <martin@home-of-linux.org> This is a larger source-incompatible commit, but it'll make it easier to write automatically generated code (for instance for scripting languages). Renamed all constants for the flags field to match the field names from the features.def and structures.def where this was not already the case. * include/glibtop/cpu.h: s/GLIBTOP_XCPU_/GLIBTOP_CPU_XCPU_/g. * include/glibtop/shm_limits.h: s/GLIBTOP_IPC_/GLIBTOP_SHM_LIMITS_/g. * include/glibtop/sem_limits.h: s/GLIBTOP_IPC_/GLIBTOP_SEM_LIMITS_/g. * include/glibtop/msg_limits.h: s/GLIBTOP_IPC_/GLIBTOP_MSG_LIMITS_/g.
* 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.
* Added/updated sysdeps AUTHORS files (each sysdeps port should haveMartin Baulig1999-06-151-0/+1
| | | | | | | | | its own AUTHORS file) and updated the top-level AUTHORS and MAINTAINERS files (for people who have done good work all over LibGTop). If you feel discriminated, please feel free to add yourself :-) Martin
* Fixed implementation of the `state' field; added `ruid' and `rgid' fields.Martin Baulig1999-05-112-6/+88
| | | | | | | 1999-05-11 Martin Baulig <martin@home-of-linux.org> * procstate.c: Fixed implementation of the `state' field; added `ruid' and `rgid' fields.
* Use `(1L << feature)' instead of `(1 << feature)' to avoid problemsMartin Baulig1999-05-0616-57/+57
| | | | with integer overflows when we add more fields.
* Set the copyright of LibGTop to the GNU General Public License.Martin Baulig1999-02-2329-225/+229
| | | | | | | | | 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-2227-351/+405
| | | | | | | | | | 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/+2
|
* Copied from stub_suid.Martin Baulig1999-02-197-5/+150
| | | | | | | | 1999-02-19 Martin Baulig <martin@home-of-linux.org> * procmap.c, procargs.c, netload.c: Copied from stub_suid. * proclist.c, procsegment.c: Make them compile again.
* Added `which' and `arg' arguments.Martin Baulig1999-02-191-1/+2
|
* Replace all __BEGIN_DELCS with LIBGTOP_BEGIN_DECLS and all __END_DECLSMartin Baulig1999-02-193-10/+14
| | | | | | | | 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.
* Minor `make distcheck' fixes.Martin Baulig1999-01-031-0/+2
|
* Added new feature to get PPP/ISDN support:Martin Baulig1998-10-253-1/+48
| | | | | | | | | | | | | | | | | | 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
* Use a 2-element-array of type `u_int64_t' for all signal masks instead ofMartin Baulig1998-10-201-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1998-10-20 Martin Baulig <martin@home-of-linux.org> * include/glibtop/proc_signal.h: Use a 2-element-array of type `u_int64_t' for all signal masks instead of just scalar numbers. This avoids problems on systems with more than 64 signals. If there is any operating system out there with even more than 128 signals, we can simply increase the number of array elements here. [NOTE for people porting libgtop: Please use all 64 bits of the `u_int64_t' and not just 32 - the signal number (as it is used in calls to kill () ...) should be a bit-index into this field; if a process ignores for instance signal 64, it has the 0-bit of sigcatch[1] set, if it ignores 63, this is the 63-bit of sigcatch[0] and so on ... The mapping between signal numbers and their names is done via the glibtop_sys_siglist [] field which should be declared in sysdeps/@sysdeps_dir@/siglist.c - see linux for an example. ] * features.def: It's now safe to put things like `loadavg[3]' here - the awk skripts should correctly threat this as an array.
* Added. AC_SUBST. (LT_RELEASE, LT_CURRENT, LT_REVISION, LT_AGE): AC_SUBST.Martin Baulig1998-08-291-0/+2
| | | | | | | | | | | | 1998-08-29 Martin Baulig <martin@home-of-linux.org> * LIBGTOP-VERSION (LIBGTOP_INTERFACE_AGE, LIBGTOP_BINARY_AGE): Added. * configure.in (LIBGTOP_INTERFACE_AGE, LIBGTOP_BINARY_AGE): AC_SUBST. (LT_RELEASE, LT_CURRENT, LT_REVISION, LT_AGE): AC_SUBST. (LT_VERSION_INFO): Sets `-version-info' for libtool. * */Makefile.am: We now use the correct `-version-info' parameter for libtool.
* `make distcheck' cleanups - Hey, it really works, guys !Martin Baulig1998-08-161-0/+2
|
* Removed. New files. Added `libgtop_server'; this has been moved here fromMartin Baulig1998-08-0717-18/+164
| | | | | | | | | | | | | | | | | | | | | | | | | 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 file.Martin Baulig1998-07-291-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1998-07-29 Martin Baulig <martin@home-of-linux.org> * guile/ChangeLog: New file. * features.def: New format - now includes type of return value and parameters. * lib/lib.awk: Changed to use new `features.def'. * sysdeps/guile/guile.awk: Dito; * sysdeps/guile/names/guile-names.awk: Dito. * libgtopConf.sh.in: Added `LIBGTOP_NAMES_LIBS', `LIBGTOP_NAMES_INCS', `LIBGTOP_GUILE_NAMES_LIBS', `LIBGTOP_GUILE_NAMES_INCS', `LIBGTOP_MAJOR_VERSION', `LIBGTOP_MINOR_VERSION' `LIBGTOP_VERSION', `libgtop_sysdeps_dir'. * acinclude.m4 (AC_LC_SYSDEPS): Removed since this has been replaced with `GNOME_LIBGTOP_SYSDEPS' long ago. * LIBGTOP-VERSION: New file. * */Makefile.am (INCLUDES): Removed; now defined in `configure.in'. * sysdeps/names/mountlist.c: New file. * lib/{init, open}.c (GTOP_SERVER): Renamed to `LIBGTOP_SERVER'. * configure.in (INCLUDES): Added definition. (libgtop_want_names): Always true; `libgtop_names.la' is now always created since some other programs rely upon it - but have to use `LIBGTOP_NAMES_LIBS' and `LIBGTOP_NAMES_INCS' to use it in your application. (libgtop_want_guile_names): Always true; but you have to use `LIBGTOP_GUILE_NAMES_LIBS' and `LIBGTOP_GUILE_NAMES_INCS' to use it in your application. (LIBGTOP_LIBS): Removed `-lgtop_names' and `-lgtop_guile_names'. (LIBGTOP_NAMES_LIBS): New variable. Use it to link your application with the names interface. (LIBGTOP_NAMES_INCS): New variable. Also #defines `GLIBTOP_NAMES' which is now required if your application wants to use the names interface. (LIBGTOP_GUILE_NAMES_LIBS): New variable. Use it to link your application with the guile names interface. (LIBGTOP_GUILE_NAMES_INCS): New variable. Also #defines `GLIBTOP_NAMES' and `GLIBTOP_GUILE_NAMES' which are now required if your application wants to use the guile names interface.