From d2d8d38db402132df3baefc828233278f2ccfa9f Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Sun, 19 Dec 1999 00:30:18 +0000 Subject: New file. We define `GLIBTOP_ERROR_*' error constants here. 1999-12-19 Martin Baulig * include/glibtop/errors.h: New file. We define `GLIBTOP_ERROR_*' error constants here. * lib/errors.c: New file. (glibtop_error_strings): Array of error messages. (glibtop_get_error_string_l): Get error message. * include/glibtop/parameter.h: Added `GLIBTOP_PARAM_REMOTE_USER' and `GLIBTOP_PARAM_PATH_RSH'. * lib/parameter.c (glibtop_get_parameter_l): Changed return value from `size_t' to `ssize_t' and let it return an error constant. (glibtop_get_parameter_size_l): New function. (glibtop_set_parameter_l): Changed return value from `void' to `int' and let it return an error constant on error. * structures.def (glibtop_sysdeps): Added. --- glibtop.h | 1 + 1 file changed, 1 insertion(+) (limited to 'glibtop.h') diff --git a/glibtop.h b/glibtop.h index 2a251108..1ff0006d 100644 --- a/glibtop.h +++ b/glibtop.h @@ -41,6 +41,7 @@ typedef struct _glibtop glibtop; #include +#include struct _glibtop { -- cgit v1.2.1