diff options
author | Martin Baulig <martin@home-of-linux.org> | 2000-02-06 14:43:55 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 2000-02-06 14:43:55 +0000 |
commit | 55ff827b504712f3806b21d250695b33ed96114e (patch) | |
tree | efa71396bce1bcedebe9cde8e83eeee2d354faaa /lib/lib.pl | |
parent | 0daf65ef73ec2089aa16c12e2cd4e1c109f3a865 (diff) | |
download | libgtop-55ff827b504712f3806b21d250695b33ed96114e.tar.gz |
Removed `method', `server_command', `server_host', `server_user' and
2000-02-06 Martin Baulig <martin@home-of-linux.org>
* glibtop.h (glibtop): Removed `method', `server_command',
`server_host', `server_user' and `server_rsh'.
Added `glibtop_parameter _param' field and moved `error_method'
there.
* include/glibtop/parameter.h (glibtop_parameter): New structure.
(GLIBTOP_PARAM_METHOD, GLIBTOP_PARAM_COMMAND): Removed.
(GLIBTOP_PARAM_HOST, GLIBTOP_PARAM_PORT): Removed.
(GLIBTOP_PARAM_REMOTE_USER, GLIBTOP_PARAM_PATH_RSH): Removed.
(GLIBTOP_PARAM_NCPU, GLIBTOP_PARAM_OS_VERSION_CODE): Added.
Diffstat (limited to 'lib/lib.pl')
-rwxr-xr-x | lib/lib.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,7 @@ print "\tu_int64_t old_required = *required;\n"; print "\t/* Return if we have all required fields. */"; print "\tif ((~present & old_required) == 0)"; print "\t\treturn;\n"; -print "\tswitch (server->error_method) {"; +print "\tswitch (server->_param.error_method) {"; print "\tcase GLIBTOP_ERROR_METHOD_WARN_ONCE:"; print "\t\t*required &= present;"; print "\tcase GLIBTOP_ERROR_METHOD_WARN:"; |