]> granicus.if.org Git - apache/commitdiff
Add support for the proxy modules to
authorRainer Jung <rjung@apache.org>
Fri, 5 Feb 2016 00:18:26 +0000 (00:18 +0000)
committerRainer Jung <rjung@apache.org>
Fri, 5 Feb 2016 00:18:26 +0000 (00:18 +0000)
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

build/make_nw_export.awk

index d3564693b38b6ef99f87dd5df0a7488490ae0b65..ccfb0dc8646de79564ce723a34199899c2b668a4 100644 (file)
@@ -28,8 +28,8 @@ function add_symbol(sym_name) {
 # 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)
@@ -87,6 +87,12 @@ function add_symbol(sym_name) {
     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"