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()
parent d921b1f2
...@@ -87,6 +87,7 @@ struct vfp_ctx { ...@@ -87,6 +87,7 @@ struct vfp_ctx {
unsigned obj_flags; 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_Suck(struct vfp_ctx *, void *p, ssize_t *lp);
enum vfp_status VFP_Error(struct vfp_ctx *, const char *fmt, ...) enum vfp_status VFP_Error(struct vfp_ctx *, const char *fmt, ...)
v_printflike_(2, 3); v_printflike_(2, 3);
......
...@@ -248,7 +248,6 @@ void Bereq_Rollback(struct busyobj *); ...@@ -248,7 +248,6 @@ void Bereq_Rollback(struct busyobj *);
void VFP_Init(void); void VFP_Init(void);
enum vfp_status VFP_GetStorage(struct vfp_ctx *, ssize_t *sz, uint8_t **ptr); enum vfp_status VFP_GetStorage(struct vfp_ctx *, ssize_t *sz, uint8_t **ptr);
void VFP_Extend(const struct vfp_ctx *, ssize_t sz); 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); void VFP_Setup(struct vfp_ctx *vc, struct worker *wrk);
int VFP_Open(struct vfp_ctx *bo); int VFP_Open(struct vfp_ctx *bo);
void VFP_Close(struct vfp_ctx *bo); void VFP_Close(struct vfp_ctx *bo);
......
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