New structure.

2000-01-08  Martin Baulig  <martin@home-of-linux.org>

	* command.h.in (glibtop_response): New structure.
This commit is contained in:
Martin Baulig
2000-01-08 21:26:18 +00:00
committed by Martin Baulig
parent d9105dfe8a
commit ec5b8790ec
2 changed files with 12 additions and 0 deletions

View File

@@ -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'.

View File

@@ -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