New structure.
2000-01-08 Martin Baulig <martin@home-of-linux.org> * command.h.in (glibtop_response): New structure.
This commit is contained in:
committed by
Martin Baulig
parent
d9105dfe8a
commit
ec5b8790ec
@@ -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'.
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user