[master] 056765e52 move VFP_Push() declaration
Nils Goroll
nils.goroll at uplex.de
Sun Apr 12 12:20:08 UTC 2020
commit 056765e527e9e562003772073de1111caf7b95e2
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Sun Apr 12 14:11:46 2020 +0200
move VFP_Push() declaration
it is part of the filter side of things, while the remaining
declarations in cache_varnishd concern the interface between filters and
the rest of the code.
This also parallels the location of VDP_Push()
diff --git a/bin/varnishd/cache/cache_filter.h b/bin/varnishd/cache/cache_filter.h
index 4d0c7640d..5887ef01e 100644
--- a/bin/varnishd/cache/cache_filter.h
+++ b/bin/varnishd/cache/cache_filter.h
@@ -87,6 +87,7 @@ struct vfp_ctx {
unsigned obj_flags;
};
+struct vfp_entry *VFP_Push(struct vfp_ctx *, const struct vfp *);
enum vfp_status VFP_Suck(struct vfp_ctx *, void *p, ssize_t *lp);
enum vfp_status VFP_Error(struct vfp_ctx *, const char *fmt, ...)
v_printflike_(2, 3);
diff --git a/bin/varnishd/cache/cache_varnishd.h b/bin/varnishd/cache/cache_varnishd.h
index a9050a099..b0a6a1930 100644
--- a/bin/varnishd/cache/cache_varnishd.h
+++ b/bin/varnishd/cache/cache_varnishd.h
@@ -248,7 +248,6 @@ void Bereq_Rollback(struct busyobj *);
void VFP_Init(void);
enum vfp_status VFP_GetStorage(struct vfp_ctx *, ssize_t *sz, uint8_t **ptr);
void VFP_Extend(const struct vfp_ctx *, ssize_t sz);
-struct vfp_entry *VFP_Push(struct vfp_ctx *, const struct vfp *);
void VFP_Setup(struct vfp_ctx *vc, struct worker *wrk);
int VFP_Open(struct vfp_ctx *bo);
void VFP_Close(struct vfp_ctx *bo);
More information about the varnish-commit
mailing list