r221 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Wed Jun 21 12:28:26 CEST 2006


Author: phk
Date: 2006-06-21 12:28:26 +0200 (Wed, 21 Jun 2006)
New Revision: 221

Added:
   trunk/varnish-cache/bin/varnishd/cache_expire.c
Modified:
   trunk/varnish-cache/bin/varnishd/Makefile.am
   trunk/varnish-cache/bin/varnishd/cache.h
   trunk/varnish-cache/bin/varnishd/cache_main.c
Log:
Add (empty) source file for expiry/pretech code


Modified: trunk/varnish-cache/bin/varnishd/Makefile.am
===================================================================
--- trunk/varnish-cache/bin/varnishd/Makefile.am	2006-06-21 10:21:14 UTC (rev 220)
+++ trunk/varnish-cache/bin/varnishd/Makefile.am	2006-06-21 10:28:26 UTC (rev 221)
@@ -7,6 +7,7 @@
 varnishd_SOURCES = \
 	cache_acceptor.c \
 	cache_backend.c \
+	cache_expire.c \
 	cache_fetch.c \
 	cache_http.c \
 	cache_main.c \

Modified: trunk/varnish-cache/bin/varnishd/cache.h
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache.h	2006-06-21 10:21:14 UTC (rev 220)
+++ trunk/varnish-cache/bin/varnishd/cache.h	2006-06-21 10:28:26 UTC (rev 221)
@@ -142,6 +142,9 @@
 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);
 

Added: trunk/varnish-cache/bin/varnishd/cache_expire.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_expire.c	2006-06-21 10:21:14 UTC (rev 220)
+++ trunk/varnish-cache/bin/varnishd/cache_expire.c	2006-06-21 10:28:26 UTC (rev 221)
@@ -0,0 +1,10 @@
+/*
+ * $Id$
+ *
+ * Expiry of cached objects and execution of prefetcher
+ */
+
+void
+EXP_Init(void)
+{
+}

Modified: trunk/varnish-cache/bin/varnishd/cache_main.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_main.c	2006-06-21 10:21:14 UTC (rev 220)
+++ trunk/varnish-cache/bin/varnishd/cache_main.c	2006-06-21 10:28:26 UTC (rev 221)
@@ -114,6 +114,7 @@
 	CacheInitPool();
 
 	VCA_Init();
+	EXP_Init();
 
 	eb = event_init();
 	assert(eb != NULL);




More information about the varnish-commit mailing list