summaryrefslogtreecommitdiff
path: root/glibtop.h
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1999-12-19 00:30:18 +0000
committerMartin Baulig <martin@src.gnome.org>1999-12-19 00:30:18 +0000
commitd2d8d38db402132df3baefc828233278f2ccfa9f (patch)
treef232bcbbbf2f771d281efee8038e1ae596ffc272 /glibtop.h
parent0dee417e1d60108ce8b49e10e3639f6ed8f51f77 (diff)
downloadlibgtop-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.h1
1 files changed, 1 insertions, 0 deletions
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 <glibtop/sysdeps.h>
+#include <glibtop/errors.h>
struct _glibtop
{