Commit 5d67f5dc authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Move the WS_ prototypes down where they belong.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2053 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 88ccade5
......@@ -90,14 +90,6 @@ struct ws {
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_config_use;
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment