~clint-fewbar/ubuntu/precise/squid3/ignore-sighup-early

« back to all changes in this revision

Viewing changes to src/DiskIO/modules.sh

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2010-05-04 11:15:49 UTC
  • mfrom: (1.3.1 upstream)
  • mto: (20.3.1 squeeze) (21.2.1 sid)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20100504111549-1apjh2g5sndki4te
Tags: upstream-3.1.3
ImportĀ upstreamĀ versionĀ 3.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
echo "/* automatically generated by $0 $*"
 
3
echo " * do not edit"
 
4
echo " */"
 
5
echo "#include \"squid.h\""
 
6
echo "#include \"DiskIO/DiskIOModule.h\""
 
7
for module in "$@"; do
 
8
   echo "#include \"DiskIO/${module}/${module}DiskIOModule.h\""
 
9
done
 
10
echo ""
 
11
echo "void DiskIOModule::PokeAllModules(void)"
 
12
echo "{"
 
13
for module in "$@"; do
 
14
   echo "    ${module}DiskIOModule::GetInstance();"
 
15
done
 
16
echo "}"