db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding# Licensed to the Apache Software Foundation (ASF) under one or more
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding# contributor license agreements. See the NOTICE file distributed with
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding# this work for additional information regarding copyright ownership.
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding# The ASF licenses this file to You under the Apache License, Version 2.0
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding# (the "License"); you may not use this file except in compliance with
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding# the License. You may obtain a copy of the License at
240b85022b73af58a6d971cd3d05d54037d8f682nd# Unless required by applicable law or agreed to in writing, software
240b85022b73af58a6d971cd3d05d54037d8f682nd# distributed under the License is distributed on an "AS IS" BASIS,
240b85022b73af58a6d971cd3d05d54037d8f682nd# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
240b85022b73af58a6d971cd3d05d54037d8f682nd# See the License for the specific language governing permissions and
240b85022b73af58a6d971cd3d05d54037d8f682nd# limitations under the License.
43aea3e7c517d422b84242bd4474d94802d3b4e3bnicholes# Based on apr's make_export.awk, which is
43aea3e7c517d422b84242bd4474d94802d3b4e3bnicholes# based on Ryan Bloom's make_export.pl
43aea3e7c517d422b84242bd4474d94802d3b4e3bnicholes# List of functions that we don't support, yet??
ccc708e8694746878551e07afab3b9a4f14cee84bnicholes#/ap_some_name/{next}
72a9c5f539fe583767651852c0b53ce81a9054b5fuankg/^[ \t]*(AP|DAV|CACHE)([RU]|REQ|_CORE)?_DECLARE[^(]*[(][^)]*[)]([^ ]* )*[^(]+[(]/ {
72a9c5f539fe583767651852c0b53ce81a9054b5fuankg sub("[ \t]*(AP|DAV|CACHE)([RU]|REQ|_CORE)?_DECLARE[^(]*[(][^)]*[)][ \t]*", "")
7640ae77eade5ef41bb3bf964a9d437e64c55da3bnicholes/^[ \t]*APR_POOL_DECLARE_ACCESSOR[^(]*[(][^)]*[)]/ {
7640ae77eade5ef41bb3bf964a9d437e64c55da3bnicholes sub("[ \t]*APR_POOL_DECLARE_ACCESSOR[^(]*[(]", "", $0)
7640ae77eade5ef41bb3bf964a9d437e64c55da3bnicholes sub("[ \t]*APR_DECLARE_INHERIT_SET[^(]*[(]", "", $0)
7640ae77eade5ef41bb3bf964a9d437e64c55da3bnicholes/^[ \t]*APR_DECLARE_INHERIT_UNSET[^(]*[(][^)]*[)]/ {
7640ae77eade5ef41bb3bf964a9d437e64c55da3bnicholes sub("[ \t]*APR_DECLARE_INHERIT_UNSET[^(]*[(]", "", $0)
9b761068843e8072da6d00a5d59972bdba793426fuankg printf("Added %d symbols to export list.\n", idx) > "/dev/stderr"