<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">print "#include \"squid.h\"\n";
while (&lt;&gt;) {
	$init = undef;
	next if (/ SQUID_GLOBALS_H/);
	if (/^#/) {
		print;
		next;
	}
	if (/^.\*/) {
		print;
		next;
	}
	if (/extern \"C\"/) {
		print;
		next;
	}
	if (/^}/) {
		print;
		next;
	}
	if (/^{/) {
		print;
		next;
	}
	next unless (/./);
	next if (/\[\];$/);
#
# Check exactly for lines beginning with "    extern", generated
# from astyle (grrrrr ...)
#
	die unless (/^    extern\s+([^;]+);(.*)$/);
	$var = $1;
	$comments = $2;
	if ($comments =~ m+/\*\s*(.*)\s*\*/+) {
		$init = $1;
		$init =~ s/\s$// while ($init =~ /\s$/);
	}
	print $var;
	print " = $init" if (defined $init);
	print ";\n";
}
exit 0;
</pre></body></html>