]>
Commit | Line | Data |
---|---|---|
6c625a31 | 1 | #!/bin/sh |
bbc27441 | 2 | # |
f70aedc4 | 3 | ## Copyright (C) 1996-2021 The Squid Software Foundation and contributors |
bbc27441 AJ |
4 | ## |
5 | ## Squid software is distributed under GPLv2+ license and includes | |
6 | ## contributions from numerous individuals and organizations. | |
7 | ## Please see the COPYING and CONTRIBUTORS files for details. | |
8 | ## | |
9 | ||
22d38e05 | 10 | echo "/* automatically generated by $0 $*" |
11 | echo " * do not edit" | |
12 | echo " */" | |
13 | echo "#include \"squid.h\"" | |
e6ccf245 | 14 | echo "#include \"Store.h\"" |
22d38e05 | 15 | echo "" |
6c625a31 | 16 | for module in "$@"; do |
22d38e05 | 17 | echo "extern REMOVALPOLICYCREATE createRemovalPolicy_${module};" |
6c625a31 | 18 | done |
22d38e05 | 19 | echo "void storeReplSetup(void)" |
20 | echo "{" | |
6c625a31 | 21 | for module in "$@"; do |
22d38e05 | 22 | echo " storeReplAdd(\"$module\", createRemovalPolicy_${module});" |
6c625a31 | 23 | done |
22d38e05 | 24 | echo "}" |