]> err.no Git - varnish/commitdiff
Add (empty) source file for expiry/pretech code
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 21 Jun 2006 10:28:26 +0000 (10:28 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 21 Jun 2006 10:28:26 +0000 (10:28 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@221 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/Makefile.am
varnish-cache/bin/varnishd/cache.h
varnish-cache/bin/varnishd/cache_expire.c [new file with mode: 0644]
varnish-cache/bin/varnishd/cache_main.c

index 23287109b3e05b08bc5aa001b8281e40e831ff2d..3fcb4416ae7e031e77d9133c5a1b80d99528092c 100644 (file)
@@ -7,6 +7,7 @@ bin_PROGRAMS = varnishd
 varnishd_SOURCES = \
        cache_acceptor.c \
        cache_backend.c \
+       cache_expire.c \
        cache_fetch.c \
        cache_http.c \
        cache_main.c \
index 9014fa89283ccf76173fe50842f91f4a0a08a89d..cc6369891550b0d7b4a7d1e21e5d648a313e8690 100644 (file)
@@ -142,6 +142,9 @@ int VBE_GetFd(struct backend *bp, void **ptr);
 void VBE_ClosedFd(void *ptr);
 void VBE_RecycleFd(void *ptr);
 
+/* cache_expiry.c */
+void EXP_Init(void);
+
 /* cache_fetch.c */
 int FetchSession(struct worker *w, struct sess *sp);
 
diff --git a/varnish-cache/bin/varnishd/cache_expire.c b/varnish-cache/bin/varnishd/cache_expire.c
new file mode 100644 (file)
index 0000000..0ff4e6c
--- /dev/null
@@ -0,0 +1,10 @@
+/*
+ * $Id$
+ *
+ * Expiry of cached objects and execution of prefetcher
+ */
+
+void
+EXP_Init(void)
+{
+}
index 8183e14eeb2a2f3717b1ae78156af5c0f299d8aa..46b0136b47021bb025456ea932ddc5a5888bbea6 100644 (file)
@@ -114,6 +114,7 @@ child_main(void)
        CacheInitPool();
 
        VCA_Init();
+       EXP_Init();
 
        eb = event_init();
        assert(eb != NULL);