Commit Graph

84 Commits

Author SHA1 Message Date
Federico Mena Quintero
44f28a486b #include <locale.h>
1998-06-02  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* src/server/main.c: #include <locale.h>
1998-06-03 04:30:15 +00:00
Martin Baulig
4aeb33b2b9 Removed this file.
* examples/third.scm: Removed this file.
1998-06-02 22:48:32 +00:00
Martin Baulig
3728e4c34e renamed all functions implementing features to '__p' (since they need to
*  sysdeps/sun4/*.c: renamed all functions implementing
   features to '__p' (since they need to be SGID kmem on SunOS).
1998-06-02 22:23:45 +00:00
Martin Baulig
e71eb0e75b *** empty log message *** 1998-06-02 19:42:53 +00:00
Martin Baulig
f233a1673f renamed to `glibtop_open__r'.
* sysdeps/linux/open.c (glibtop_open): renamed to
`glibtop_open__r'.
1998-06-02 19:41:29 +00:00
Martin Baulig
b96843a960 renamed to `glibtop_open__l'.
* lib/open.c (glibtop_open): renamed to `glibtop_open__l'.
1998-06-02 19:40:53 +00:00
Martin Baulig
eb69a5547f *** empty log message *** 1998-06-02 16:26:07 +00:00
Martin Baulig
7f39d62371 tells `glibtop_open' to use the default server and not to check the
* include/glibtop/open.h (GLIBTOP_OPEN_NO_OVERRIDE):
tells `glibtop_open' to use the default server and not
to check the environment variables.

* include/glibtop/sysdeps.h (_glibtop_sysdeps):
renamed 'dummy' member to 'features'.

* include/glibtop/command.h (GLIBTOP_CMND_SYSDEPS):
added definition here.
1998-06-02 16:20:15 +00:00
Martin Baulig
6f179a3141 swapped lib and src directories. 1998-06-02 16:14:49 +00:00
Martin Baulig
cad4b8f2f5 new directory - proxy server.
* src/proxy/*: new directory - proxy server.
1998-06-02 16:13:31 +00:00
Martin Baulig
beb68e2fc4 new command to get glibtop_server_features.
* src/server/main.c (GLIBTOP_CMND_SYSDEPS): new
command to get glibtop_server_features.
1998-06-02 16:12:28 +00:00
Martin Baulig
b4a16ccd89 If someone needs a stable version of libgtop, please fetch the one from May 27,
stuff is _really_ unstable and under development at the moment and only works
under Linux. Please look in the ChangeLog and NEWS for a more detailed description
of the latest changes.

I'm going to town now. Have fun,

Martin
1998-06-01 15:54:49 +00:00
Martin Baulig
15e73d9b7d *** empty log message *** 1998-06-01 15:25:11 +00:00
Martin Baulig
344bdd330f now using '__r' functions, they are #defined either as the '__p' or the
* sysdeps/common/sysdeps.c: now using '__r' functions,
they are #defined either as the '__p' or the '__s' ones.
1998-06-01 15:22:00 +00:00
Martin Baulig
2546fa37eb changed call of 'glibtop_init__r', it now takes two additional arguments.
* sysdeps/linux/*.c: changed call of 'glibtop_init__r',
it now takes two additional arguments.
1998-06-01 15:21:19 +00:00
Martin Baulig
080dd0850b now using 'glibtop_init' instead of 'glibtop_init__r'.
* examples/{first.c, second.c}: now using 'glibtop_init'
instead of 'glibtop_init__r'.
1998-06-01 15:15:56 +00:00
Martin Baulig
b7be9a7141 added 'dummy' member so 'GLIBTOP_SYSDEPS_<feature>' now start with 1.
* include/glibtop/sysdeps.h: added 'dummy' member so
'GLIBTOP_SYSDEPS_<feature>' now start with 1.

* include/glibtop/*.h: we now #define 'glibtop_get_<feature>'
as 'glibtop_get_<feature>__l' and 'glibtop_get_<feature>__r'
either as the '__p' or the '__s' function.
1998-06-01 15:14:50 +00:00
Martin Baulig
67798e0d7d removed #if's - we now decide at runtime whether to use the server or to
* 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.
1998-06-01 15:09:03 +00:00
Vincent Renardias
6de9ad750b Sun, 31 May 1998 22:52:48 +0200 [Vincent]
* Yet more .FR translations. (and fixed a typo in gxsnmp ;)
1998-05-31 20:54:43 +00:00
Martin Baulig
68162783dc always use `-I$(top_srcdir)/sysdeps/@sysdeps_dir@'; it's no longer
* configure.in (@machine_incs@): always use
`-I$(top_srcdir)/sysdeps/@sysdeps_dir@'; it's no
longer conditional.

* examples/Makefile.am: removed the '_linux' examples.

* src/server/main.c: we now use the '__p' functions,
but only if the appropriate 'GLIBTOP_SUID_<feature>'
has a non-zero value.
1998-05-28 19:29:29 +00:00
Martin Baulig
95b9d824ea renamed all functions implementing features to '__s'.
* sysdeps/linux/*.c: renamed all functions implementing
features to '__s'.
1998-05-28 19:24:24 +00:00
Martin Baulig
7dd0c2eac3 renamed all functions that implementing features to '__l'; we only emit
* 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.
1998-05-28 19:22:48 +00:00
Martin Baulig
62dda3b782 added some new function suffixes: '__l' is a function defined in the
* sysdeps/linux/*.h: added some new function suffixes:
'__l' is a function defined in the client part;
'__s' is a function defined in the sysdeps part and
'__p' is a function that needs special priviledges.
'__r' is mapped either on '__l' or on '__s'.

* sysdeps/linux/glibtop_server.h: New file -
defines system dependent constants 'GLIBTOP_SUID_<feature>'
being either 'GLIBTOP_SYSDEPS_<feature>'+1 depending upon
whether or not this feature requires using the server.

Things may now temporarily get instable; I'm currently implementing some
suggestions Sebastian Wilhelmi has made.
1998-05-28 19:19:49 +00:00
Martin Baulig
4e1e1ccb9f removed that file; it is no longer needed.
* lib/sysdeps.c: removed that file; it is no longer
needed.
1998-05-28 19:08:35 +00:00
Martin Baulig
dd0258acf9 Fixed `broken pipe' error when server is running SUID; accidentally uses
* src/server/main.c: Fixed `broken pipe' error when server
is running SUID; accidentally uses setreuid () instead of
setregid ().
1998-05-25 17:13:16 +00:00
Martin Baulig
15caaaf34f added memory statistics.
* sysdeps/sun4/{open.c, mem.c, glibtop_machine.h}: added
memory statistics.
1998-05-24 16:16:59 +00:00
Martin Baulig
ff3aced01e added `locked' member to this structure for SunOS.
* include/glibtop/mem.h (_glibtop_mem): added `locked'
member to this structure for SunOS.
1998-05-24 16:15:24 +00:00
Martin Baulig
b281735ba7 *** empty log message *** 1998-05-23 23:06:34 +00:00
Martin Baulig
109f8dc608 Started porting. Getting CPU usage now working. Took a lot of code from
* sysdeps/sun4/{open.c, cpu.c}: Started porting.
Getting CPU usage now working. Took a lot of code
from top-3.4.
1998-05-23 23:05:08 +00:00
Martin Baulig
37e161bcec New file. System dependend header file for SunOS.
* sysdeps/sun4/glibtop_machine.h: New file.
System dependend header file for SunOS.
1998-05-23 23:03:59 +00:00
Martin Baulig
00176cd6e8 Added 'machine_incs' again. 1998-05-23 23:00:46 +00:00
Martin Baulig
40b6a23c63 Fixed 'need_gnome_support' typo. 1998-05-23 16:08:27 +00:00
Martin Baulig
e5ad7e782f *** empty log message *** 1998-05-23 13:51:28 +00:00
Martin Baulig
977a3695f6 removed -I$(includedir).
* */Makefile.am (INCLUDES): removed -I$(includedir).
1998-05-23 13:50:46 +00:00
Martin Baulig
39be9f45bb added -D_IN_LIBGTOP
* configure.in (CFLAGS): added -D_IN_LIBGTOP
1998-05-23 13:46:31 +00:00
Martin Baulig
7cd525974a Added information about struct fields. 1998-05-22 23:56:06 +00:00
Martin Baulig
29ba1a484b Fixed typo. 1998-05-22 23:55:35 +00:00
Martin Baulig
cd9d6bbb39 *** empty log message *** 1998-05-22 23:35:09 +00:00
Martin Baulig
1e541ba56c New files. This is a reference manual that gets automatically build from
* doc/{libgtop-ref.sgml, libgtop-ref.dsl}: New files.
This is a reference manual that gets automatically
build from make-docbook.scm.
1998-05-22 23:33:23 +00:00
Martin Baulig
c67ba32006 Small bugfixes. 1998-05-22 23:24:06 +00:00
Martin Baulig
26628a6214 New file. Uses the guile interface of libgtop to create docbook
* guile/make-docbook.scm: New file. Uses the guile
interface of libgtop to create docbook documentation
for all functions.
1998-05-22 23:22:03 +00:00
Martin Baulig
33f52f01b8 *** empty log message *** 1998-05-22 00:42:47 +00:00
Martin Baulig
bee25bc218 *** empty log message *** 1998-05-21 23:30:35 +00:00
Martin Baulig
022369f08a 'gtopConf.sh' has been renamed to 'libgtopConf.sh'; variables in this
* Makefile.am: 'gtopConf.sh' has been renamed to
'libgtopConf.sh'; variables in this script have changed.
1998-05-21 23:29:00 +00:00
Martin Baulig
1d47b76ea1 uses '@LIBGTOP_SERVER@' instead of '@GTOP_SERVER@'.
* lib/Makefile.am: uses '@LIBGTOP_SERVER@' instead of
'@GTOP_SERVER@'.
1998-05-21 23:26:18 +00:00
Martin Baulig
37efa42ec6 renamed variables for 'libgtopConf.sh.in'.
* configure.in: renamed variables for 'libgtopConf.sh.in'.
1998-05-21 23:24:53 +00:00
Martin Baulig
f0f9b51b47 added 'NEED_LIBGTOP'.
* acconfig.h: added 'NEED_LIBGTOP'.
1998-05-21 23:22:59 +00:00
Martin Baulig
7e13eec9f6 rewrote that macro - moved some of the code to
* acinclude.m4 (AC_LC_SYSDEPS): rewrote that macro -
moved some of the code to 'macros/gnome-libgtop-sysdeps.m4';
renamed variables: look at the ChangeLog entry for the
new 'libgtopConf.sh.in' for details.
1998-05-21 23:21:25 +00:00
Martin Baulig
6241c3c65f renamed from 'gtopConf.sh.in'; we now define 'LIBGTOP_LIBDIR',
* libgtopConf.sh.in: renamed from 'gtopConf.sh.in';
we now define 'LIBGTOP_LIBDIR', 'LIBGTOP_INCLUDEDIR',
'LIBGTOP_LIBS', 'LIBGTOP_INCS', 'LIBGTOP_GUILE_LIBS',
'LIBGTOP_GUILE_INCS', 'LIBGTOP_BINDIR', 'LIBGTOP_SERVER',
'libgtop_sysdeps_dir', 'libgtop_need_server',
'libgtop_use_machine_h', 'libgtop_guile_found',
'libgtop_want_names', 'libgtop_want_guile_names',
'libgtop_want_examples'.

* gtopConf.sh.in: renamed to 'libgtopConf.sh.in'.
1998-05-21 23:20:07 +00:00
Martin Baulig
10a7ef87b9 *** empty log message *** 1998-05-21 20:37:06 +00:00