summaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>2000-01-08 21:26:18 +0000
committerMartin Baulig <martin@src.gnome.org>2000-01-08 21:26:18 +0000
commitec5b8790ec41790dd8aee1497efe2c82811432fd (patch)
treedead6e2d612ad8919d6681083fb5f3e39e87a9fa /backends
parentd9105dfe8a29c43e572d9871629cd416e1ba8502 (diff)
downloadlibgtop-ec5b8790ec41790dd8aee1497efe2c82811432fd.tar.gz
New structure.
2000-01-08 Martin Baulig <martin@home-of-linux.org> * command.h.in (glibtop_response): New structure.
Diffstat (limited to 'backends')
-rw-r--r--backends/server/ChangeLog4
-rw-r--r--backends/server/command.h.in8
2 files changed, 12 insertions, 0 deletions
diff --git a/backends/server/ChangeLog b/backends/server/ChangeLog
index 6cad3e97..5eeb5b69 100644
--- a/backends/server/ChangeLog
+++ b/backends/server/ChangeLog
@@ -1,3 +1,7 @@
+2000-01-08 Martin Baulig <martin@home-of-linux.org>
+
+ * command.h.in (glibtop_response): New structure.
+
2000-01-02 Martin Baulig <martin@home-of-linux.org>
* command.pl: New file. Creates `command.h' from `command.h.in'.
diff --git a/backends/server/command.h.in b/backends/server/command.h.in
index e5aad0f6..4be0a9d3 100644
--- a/backends/server/command.h.in
+++ b/backends/server/command.h.in
@@ -38,6 +38,7 @@ BEGIN_LIBGTOP_DECLS
#define _GLIBTOP_PARAM_SIZE 16
typedef struct _glibtop_command glibtop_command;
+typedef struct _glibtop_response glibtop_response;
struct _glibtop_command
{
@@ -46,6 +47,13 @@ struct _glibtop_command
char parameter [_GLIBTOP_PARAM_SIZE];
};
+struct _glibtop_response
+{
+ int retval;
+ int glibtop_errno;
+ u_int64_t recv_size, data_size;
+};
+
END_LIBGTOP_DECLS
#endif