summaryrefslogtreecommitdiff
path: root/include/glibtop/open.h
diff options
context:
space:
mode:
authorMartin baulig <martin@home-of-linux.org>1998-07-03 17:19:25 +0000
committerMartin Baulig <martin@src.gnome.org>1998-07-03 17:19:25 +0000
commit9532dadc2e391e731be897d25e05a8123192e5fd (patch)
tree528a3d16122db1c5eb30720de6cb85df6867c92f /include/glibtop/open.h
parent94715ef7184e5aa1e8b66d1e4286cd373fa62a5b (diff)
downloadlibgtop-9532dadc2e391e731be897d25e05a8123192e5fd.tar.gz
No longer use `glibtop_machine.h' for Linux.
1998-07-03 Martin baulig <martin@home-of-linux.org> * macros/gnome-libgtop-sysdeps.m4: No longer use `glibtop_machine.h' for Linux. * sysdeps/linux/glibtop_machine.h: Removed. * sysdeps/guile/guile.awk: Using `scm_append' instead of `gh_append'. * sysdeps/guile/names/guile-names.awk: dito. * sysdeps/linux/*.c: Using code from stable branch again. * include/glibtop/parameter.h: New file. * lib/parameter.c: New file. * lib/{open, init}.c: Done some more work on server initialization
Diffstat (limited to 'include/glibtop/open.h')
-rw-r--r--include/glibtop/open.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/glibtop/open.h b/include/glibtop/open.h
index 4e4e5408..a891727d 100644
--- a/include/glibtop/open.h
+++ b/include/glibtop/open.h
@@ -26,8 +26,19 @@
__BEGIN_DECLS
+#define _GLIBTOP_INIT_STATE_INIT 0x10000
+#define _GLIBTOP_INIT_STATE_OPEN 0x20000
+#define _GLIBTOP_INIT_STATE_SERVER 0x40000
+
+#define GLIBTOP_INIT_NO_OPEN 1
+#define GLIBTOP_INIT_NO_INIT 2
+
#define GLIBTOP_OPEN_NO_OVERRIDE 1
+#define GLIBTOP_METHOD_DIRECT 1
+#define GLIBTOP_METHOD_PIPE 2
+#define GLIBTOP_METHOD_INET 3
+
extern void glibtop_open_l __P((glibtop *, const char *, const unsigned long, const unsigned));
extern void glibtop_open_r __P((glibtop *, const char *, const unsigned long, const unsigned));