Commit a36ad636 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Move the cache_waiter stuff from cache.h to waiter.h

parent a6ad0ea2
......@@ -1063,12 +1063,6 @@ void ESI_DeliverChild(struct req *, struct busyobj *);
/* cache_vrt_vmod.c */
void VMOD_Init(void);
/* cache_waiter.c */
void WAIT_Enter(struct sess *sp);
void WAIT_Init(void);
const char *WAIT_GetName(void);
void WAIT_Write_Session(struct sess *sp, int fd);
/* cache_wrk.c */
void WRK_Thread(struct pool *qp, size_t stacksize, unsigned thread_workspace);
......
......@@ -503,7 +503,7 @@ vbe_dir_http1pipe(const struct director *d, struct req *req, struct busyobj *bo)
void
VRT_init_vbe(VRT_CTX, struct director **bp, int idx,
const struct vrt_backend *t)
const struct vrt_backend *t)
{
struct vbe_dir *vs;
......
......@@ -47,6 +47,7 @@
#include "cache_backend.h"
#include "storage/storage.h"
#include "vcl.h"
#include "waiter/waiter.h"
/*
* The panic string is constructed in memory, then copied to the
......
......@@ -44,6 +44,7 @@
#include "vcl.h"
#include "vtcp.h"
#include "vtim.h"
#include "waiter/waiter.h"
/*----------------------------------------------------------------------
* Collect a request from the client.
......
......@@ -41,6 +41,12 @@ struct waiter {
waiter_pass_f *pass;
};
/* cache_waiter.c */
void WAIT_Enter(struct sess *sp);
void WAIT_Init(void);
const char *WAIT_GetName(void);
void WAIT_Write_Session(struct sess *sp, int fd);
/* mgt_waiter.c */
extern struct waiter const * waiter;
int WAIT_tweak_waiter(struct vsb *vsb, const char *arg);
......
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