You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rj...@apache.org on 2016/02/05 01:18:26 UTC

svn commit: r1728573 - /httpd/httpd/trunk/build/make_nw_export.awk

Author: rjung
Date: Fri Feb  5 00:18:26 2016
New Revision: 1728573

URL: http://svn.apache.org/viewvc?rev=1728573&view=rev
Log:
Add support for the proxy modules to
the awk script used to generate Netware
symbol import and export files.

Modified:
    httpd/httpd/trunk/build/make_nw_export.awk

Modified: httpd/httpd/trunk/build/make_nw_export.awk
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/build/make_nw_export.awk?rev=1728573&r1=1728572&r2=1728573&view=diff
==============================================================================
--- httpd/httpd/trunk/build/make_nw_export.awk (original)
+++ httpd/httpd/trunk/build/make_nw_export.awk Fri Feb  5 00:18:26 2016
@@ -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)
@@ -85,6 +85,12 @@ function add_symbol(sym_name) {
     gsub(/[*;\n\r]/, "")
     gsub(/\[.*\]/, "")
     add_symbol($NF)
+}
+
+/^[ \t]*PROXY_DECLARE_DATA (extern[ \t]+)?.*;/ {
+    gsub(/[*;\n\r]/, "")
+    gsub(/\[.*\]/, "")
+    add_symbol($NF)
 }