New type. (glibtop): Added glibtop_server_info *info', moved
ncpu',
2000-11-20 Martin Baulig <baulig@suse.de> * glibtop.h (glibtop_server_info): New type. (glibtop): Added `glibtop_server_info *info', moved `ncpu', `features', `sysdeps', `required' and `wanted' info glibtop_server_info.
This commit is contained in:
committed by
Martin Baulig
parent
7a7e7d1bc3
commit
c15ff3f342
@@ -222,9 +222,9 @@ sub output {
|
||||
$check_code = "check_missing:\n";
|
||||
$check_code .= "\t/* Make sure that all required fields are present. */\n";
|
||||
if (!(($line_fields[3] eq '') or ($line_fields[3] eq 'array'))) {
|
||||
$check_code .= "\tif (buf->flags & server->required." . $feature . ")\n";
|
||||
$check_code .= "\tif (buf->flags & server->info->required." . $feature . ")\n";
|
||||
$check_code .= "\t\t_glibtop_missing_feature (server, \"" . $feature .
|
||||
"\", buf->flags,\n\t\t\t\t\t &server->required." . $feature . ");\n";
|
||||
"\", buf->flags,\n\t\t\t\t\t &server->info->required." . $feature . ");\n";
|
||||
}
|
||||
|
||||
$total_code .= $check_code."\tgoto do_return;\n\n";
|
||||
|
Reference in New Issue
Block a user