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 /structures.def | |
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 'structures.def')
-rw-r--r-- | structures.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/structures.def b/structures.def index c12ce3a3..5c6d883d 100644 --- a/structures.def +++ b/structures.def @@ -1,3 +1,4 @@ glibtop_map_entry|ulong(flags,start,end,offset,perm,inode,device):string(filename) glibtop_mountentry|ulong(dev):string(devname,mountdir,type) glibtop_interface|ulong(flags,if_flags,transport,type,number,instance,num_logical):string(name) +glibtop_sysdeps|ulong(features,pointer_size,cpu,mem,swap,uptime,loadavg,shm_limits,msg_limits,sem_limits,proclist,proc_state,proc_uid,proc_mem,proc_time,proc_signal,proc_kernel,proc_segment,proc_args,proc_map,mountlist,fsusage,interface_names,netinfo,netload,ppp) |