]> git.ipfire.org Git - thirdparty/squid.git/blame_incremental - src/repl_modules.sh
Simplify appending SBuf to String (#2108)
[thirdparty/squid.git] / src / repl_modules.sh
... / ...
CommitLineData
1#!/bin/sh
2#
3## Copyright (C) 1996-2025 The Squid Software Foundation and contributors
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
10echo "/* automatically generated by $0 $*"
11echo " * do not edit"
12echo " */"
13echo "#include \"squid.h\""
14echo "#include \"repl_modules.h\""
15echo "#include \"Store.h\""
16echo ""
17for module in "$@"; do
18 echo "extern REMOVALPOLICYCREATE createRemovalPolicy_${module};"
19done
20echo "void storeReplSetup(void)"
21echo "{"
22for module in "$@"; do
23 echo " storeReplAdd(\"$module\", createRemovalPolicy_${module});"
24done
25echo "}"