the awk script used to generate Netware
symbol import and export files.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1728573 13f79535-47bb-0310-9956-
ffa450edef68
# List of functions that we don't support, yet??
#/ap_some_name/{next}
-/^[ \t]*(AP|DAV|CACHE)([RU]|REQ|_CORE)?_DECLARE[^(]*[(][^)]*[)]([^ ]* )*[^(]+[(]/ {
- sub("[ \t]*(AP|DAV|CACHE)([RU]|REQ|_CORE)?_DECLARE[^(]*[(][^)]*[)][ \t]*", "")
+/^[ \t]*(AP|DAV|CACHE|PROXY)([RU]|REQ|_CORE)?_DECLARE[^(]*[(][^)]*[)]([^ ]* )*[^(]+[(]/ {
+ sub("[ \t]*(AP|DAV|CACHE|PROXY)([RU]|REQ|_CORE)?_DECLARE[^(]*[(][^)]*[)][ \t]*", "")
sub("[(].*", "")
sub("([^ ]* (^([ \t]*[(])))+", "")
add_symbol($0)
add_symbol($NF)
}
+/^[ \t]*PROXY_DECLARE_DATA (extern[ \t]+)?.*;/ {
+ gsub(/[*;\n\r]/, "")
+ gsub(/\[.*\]/, "")
+ add_symbol($NF)
+}
+
END {
printf("Added %d symbols to export list.\n", idx) > "/dev/stderr"