]> git.ipfire.org Git - thirdparty/squid.git/commit - src/repl_modules.sh
Complete rewrite of the removal policy list, to work along the
authorhno <>
Tue, 27 Jun 2000 14:41:30 +0000 (14:41 +0000)
committerhno <>
Tue, 27 Jun 2000 14:41:30 +0000 (14:41 +0000)
commit22d38e05dc4fdd9f73bc14438d457a3df204295d
treec5acc981c2061501b6b9574c6492277d36c36213
parentbdb0148af3150bcf2822ce6a4c819eb65603735e
Complete rewrite of the removal policy list, to work along the
same lines as the filesystem list. Now a list of calls to
storeReplAdd() is generated, which adds the policies to a dynamic
list, and storeCreateRemovalPolicy searches this list for the
requested policy name.

This also allows for a seemless integration of loadable modules
at any time. All that is needed to have filesystems or policies
in loadable modules is to write the few lines of code required
to bring in the shared object, and to call the appropriate
registering function (storeFsAdd or storeReplAdd).
src/globals.h
src/protos.h
src/repl_modules.sh
src/store.cc
src/structs.h
src/typedefs.h