Commit 36bec2bb authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Reduce scope of cache_filter.h

parent ac1fe6e8
......@@ -36,7 +36,6 @@
#include "common/common.h"
#include "cache/cache_filter.h"
#include "vapi/vsl_int.h"
#include <sys/socket.h>
......@@ -769,7 +768,6 @@ void VBF_Fetch(struct worker *wrk, struct req *req,
struct objcore *oc, struct objcore *oldoc, enum vbf_fetch_mode_e);
/* cache_fetch_proc.c */
enum vfp_status VFP_GetStorage(struct vfp_ctx *, ssize_t *sz, uint8_t **ptr);
void VFP_Init(void);
/* cache_gzip.c */
......@@ -794,7 +792,6 @@ enum vgzret_e VGZ_Gzip(struct vgz *, const void **, ssize_t *len,
enum vgzret_e VGZ_Gunzip(struct vgz *, const void **, ssize_t *len);
enum vgzret_e VGZ_Destroy(struct vgz **);
void VGZ_UpdateObj(const struct vfp_ctx *, const struct vgz*);
vdp_bytes VDP_gunzip;
int VGZ_WrwInit(struct vgz *vg);
enum vgzret_e VGZ_WrwGunzip(struct req *, struct vgz *, const void *ibuf,
......@@ -1060,7 +1057,6 @@ void VRTPRIV_dynamic_kill(struct sess *sp, uintptr_t id);
void ESI_Deliver(struct req *);
void ESI_DeliverChild(struct req *);
vdp_bytes VED_pretend_gzip;
/* cache_vrt_vmod.c */
void VMOD_Init(void);
......
......@@ -30,7 +30,7 @@
#include "config.h"
#include "cache.h"
//#include "cache_filter.h"
#include "cache_filter.h"
int
VDP_bytes(struct req *req, enum vdp_action act, const void *ptr, ssize_t len)
......
......@@ -34,6 +34,7 @@
#include <stdlib.h>
#include "cache.h"
#include "cache_filter.h"
#include "vtim.h"
#include "cache_esi.h"
......
......@@ -33,6 +33,7 @@
#include <stdlib.h>
#include "cache.h"
#include "cache_filter.h"
#include "cache_esi.h"
......
......@@ -36,6 +36,7 @@
#include "cache.h"
#include "cache_director.h"
#include "cache_filter.h"
#include "vend.h"
#include "hash/hash_slinger.h"
#include "vcl.h"
......
......@@ -35,6 +35,7 @@
#include <stdlib.h>
#include "cache.h"
#include "cache_filter.h"
#include "hash/hash_slinger.h"
......
......@@ -82,6 +82,9 @@ enum vfp_status VFP_Suck(struct vfp_ctx *, void *p, ssize_t *lp);
enum vfp_status VFP_Error(struct vfp_ctx *, const char *fmt, ...)
__printflike(2, 3);
/* cache_fetch_proc.c */
enum vfp_status VFP_GetStorage(struct vfp_ctx *, ssize_t *sz, uint8_t **ptr);
/* Deliver processors ------------------------------------------------*/
enum vdp_action {
......@@ -106,3 +109,7 @@ struct vdp_entry {
int VDP_bytes(struct req *, enum vdp_action act, const void *ptr, ssize_t len);
void VDP_push(struct req *, vdp_bytes *func, void *priv);
void VDP_pop(struct req *, vdp_bytes *func);
vdp_bytes VDP_gunzip;
vdp_bytes VED_pretend_gzip;
......@@ -42,6 +42,7 @@
#include <stdlib.h>
#include "cache.h"
#include "cache_filter.h"
#include "vend.h"
#include "vgz.h"
......
......@@ -39,6 +39,7 @@
#include <stdlib.h>
#include "cache.h"
#include "cache_filter.h"
#include "vend.h"
#include "common/heritage.h"
......
......@@ -34,6 +34,7 @@
#include <stdlib.h>
#include "cache.h"
#include "cache_filter.h"
#include "vtim.h"
#include "storage/storage.h"
#include "hash/hash_slinger.h"
......
......@@ -30,6 +30,7 @@
#include "config.h"
#include "cache/cache.h"
#include "cache/cache_filter.h"
#include "vct.h"
......
......@@ -38,6 +38,7 @@
#include <inttypes.h>
#include "cache/cache.h"
#include "cache/cache_filter.h"
#include "vct.h"
......
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