File: auth_modules.sh

package info (click to toggle)
squid 2.6.5-6etch5
  • links: PTS
  • area: main
  • in suites: etch
  • size: 12,540 kB
  • ctags: 13,801
  • sloc: ansic: 105,278; sh: 6,083; makefile: 1,297; perl: 1,245; awk: 40
file content (15 lines) | stat: -rw-r--r-- 351 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
echo "/* automatically generated by $0 $*"
echo " * do not edit"
echo " */"
echo "#include \"squid.h\""
echo ""
for module in "$@"; do
   echo "extern AUTHSSETUP authSchemeSetup_${module};"
done
echo "void authSchemeSetup(void)"
echo "{"
for module in "$@"; do
   echo "	authSchemeAdd(\"$module\", authSchemeSetup_${module});"
done
echo "}"