r2053 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Fri Sep 28 15:04:53 CEST 2007


Author: phk
Date: 2007-09-28 15:04:53 +0200 (Fri, 28 Sep 2007)
New Revision: 2053

Modified:
   trunk/varnish-cache/bin/varnishd/cache.h
Log:
Move the WS_ prototypes down where they belong.


Modified: trunk/varnish-cache/bin/varnishd/cache.h
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache.h	2007-09-28 11:07:14 UTC (rev 2052)
+++ trunk/varnish-cache/bin/varnishd/cache.h	2007-09-28 13:04:53 UTC (rev 2053)
@@ -90,14 +90,6 @@
 	char			*r;		/* (R)eserved length */
 };
 
-void WS_Init(struct ws *ws, void *space, unsigned len);
-unsigned WS_Reserve(struct ws *ws, unsigned bytes);
-void WS_Release(struct ws *ws, unsigned bytes);
-void WS_ReleaseP(struct ws *ws, char *ptr);
-void WS_Assert(const struct ws *ws);
-void WS_Reset(struct ws *ws);
-char *WS_Alloc(struct ws *ws, unsigned bytes);
-
 /*--------------------------------------------------------------------
  * HTTP Request/Response/Header handling structure.
  */
@@ -554,6 +546,16 @@
 cli_func_t	cli_func_dump_pool;
 #endif
 
+/* cache_ws.c */
+
+void WS_Init(struct ws *ws, void *space, unsigned len);
+unsigned WS_Reserve(struct ws *ws, unsigned bytes);
+void WS_Release(struct ws *ws, unsigned bytes);
+void WS_ReleaseP(struct ws *ws, char *ptr);
+void WS_Assert(const struct ws *ws);
+void WS_Reset(struct ws *ws);
+char *WS_Alloc(struct ws *ws, unsigned bytes);
+
 /* rfc2616.c */
 int RFC2616_cache_policy(const struct sess *sp, const struct http *hp);
 




More information about the varnish-commit mailing list