]> git.ipfire.org Git - thirdparty/squid.git/blame - src/repl_modules.sh
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / repl_modules.sh
CommitLineData
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 10echo "/* automatically generated by $0 $*"
11echo " * do not edit"
12echo " */"
13echo "#include \"squid.h\""
e6ccf245 14echo "#include \"Store.h\""
22d38e05 15echo ""
6c625a31 16for module in "$@"; do
22d38e05 17 echo "extern REMOVALPOLICYCREATE createRemovalPolicy_${module};"
6c625a31 18done
22d38e05 19echo "void storeReplSetup(void)"
20echo "{"
6c625a31 21for module in "$@"; do
22d38e05 22 echo " storeReplAdd(\"$module\", createRemovalPolicy_${module});"
6c625a31 23done
22d38e05 24echo "}"