summaryrefslogtreecommitdiff
path: root/include/glibtop/command.h
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1998-07-13 23:27:10 +0000
committerMartin Baulig <martin@src.gnome.org>1998-07-13 23:27:10 +0000
commit345a657d2c5bbfae11b848016f012c199a6b328d (patch)
tree09de1593d93eb206bc2afbfc757aae705343cc77 /include/glibtop/command.h
parentda7d7ff1163371de85e4735b94d1749fe12e0860 (diff)
downloadlibgtop-345a657d2c5bbfae11b848016f012c199a6b328d.tar.gz
New file.
1998-07-14 Martin Baulig <martin@home-of-linux.org> * src/daemon/slave.c: New file. * src/daemon/*.c: Done some more work on the daemon. * sysdeps/common/gnuslib.c: Removed IPC stuff. * include/glibtop/gnuserv.h: Removed IPC stuff. * include/glibtop/command.h (glibtop_response_unit): Added typedef for `struct _glibtop_response_unit'. * lib/Makefile.am: Using `$(top_srcdir)/features.def' instead of `$(top_builddir)/features.def'. * sysdeps/guile/Makefile.am: Using `$(top_srcdir)/features.def' instead of `$(top_builddir)/features.def'. * sysdeps/guile/names/Makefile.am: Dito. * sysdeps/stub/*.c: changed suffix of all functions from '_s' to '_r'; see also ChangeLog entry from Jun 6.
Diffstat (limited to 'include/glibtop/command.h')
-rw-r--r--include/glibtop/command.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/glibtop/command.h b/include/glibtop/command.h
index 1987e5d1..c76ed0ed 100644
--- a/include/glibtop/command.h
+++ b/include/glibtop/command.h
@@ -53,7 +53,9 @@ __BEGIN_DECLS
#define _GLIBTOP_PARAM_SIZE 16
typedef struct _glibtop_command glibtop_command;
+
typedef struct _glibtop_response glibtop_response;
+typedef union _glibtop_response_union glibtop_response_union;
struct _glibtop_command
{
@@ -73,7 +75,7 @@ struct _glibtop_response
{
off_t offset;
size_t size, data_size;
- union _glibtop_response_union u;
+ glibtop_response_union u;
};
#define glibtop_call(p1, p2, p3, p4) glibtop_call_r(glibtop_global_server, p1, p2, p3, p4)