diff options
author | Martin Baulig <martin@home-of-linux.org> | 1999-12-19 00:30:18 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1999-12-19 00:30:18 +0000 |
commit | d2d8d38db402132df3baefc828233278f2ccfa9f (patch) | |
tree | f232bcbbbf2f771d281efee8038e1ae596ffc272 /glibtop.h | |
parent | 0dee417e1d60108ce8b49e10e3639f6ed8f51f77 (diff) | |
download | libgtop-d2d8d38db402132df3baefc828233278f2ccfa9f.tar.gz |
New file. We define `GLIBTOP_ERROR_*' error constants here.
1999-12-19 Martin Baulig <martin@home-of-linux.org>
* 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.
Diffstat (limited to 'glibtop.h')
-rw-r--r-- | glibtop.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -41,6 +41,7 @@ typedef struct _glibtop glibtop; #include <glibtop/sysdeps.h> +#include <glibtop/errors.h> struct _glibtop { |