Rename the V1L VDP to get in line with oder VDPs

parent b5d8e571
...@@ -65,4 +65,4 @@ void V1L_Open(struct worker *, struct ws *, int *fd, struct vsl_log *, ...@@ -65,4 +65,4 @@ void V1L_Open(struct worker *, struct ws *, int *fd, struct vsl_log *,
stream_close_t V1L_Flush(const struct worker *w); stream_close_t V1L_Flush(const struct worker *w);
stream_close_t V1L_Close(struct worker *w, uint64_t *cnt); stream_close_t V1L_Close(struct worker *w, uint64_t *cnt);
size_t V1L_Write(const struct worker *w, const void *ptr, ssize_t len); size_t V1L_Write(const struct worker *w, const void *ptr, ssize_t len);
extern const struct vdp * const v1l_vdp; extern const struct vdp * const VDP_v1l;
...@@ -97,7 +97,7 @@ V1D_Deliver(struct req *req, struct boc *boc, int sendbody) ...@@ -97,7 +97,7 @@ V1D_Deliver(struct req *req, struct boc *boc, int sendbody)
} }
INIT_OBJ(ctx, VRT_CTX_MAGIC); INIT_OBJ(ctx, VRT_CTX_MAGIC);
VCL_Req2Ctx(ctx, req); VCL_Req2Ctx(ctx, req);
if (VDP_Push(ctx, req->vdc, req->ws, v1l_vdp, NULL)) { if (VDP_Push(ctx, req->vdc, req->ws, VDP_v1l, NULL)) {
v1d_error(req, "Failure to push v1d processor"); v1d_error(req, "Failure to push v1d processor");
return; return;
} }
......
...@@ -365,7 +365,7 @@ v1l_bytes(struct vdp_ctx *vdc, enum vdp_action act, void **priv, ...@@ -365,7 +365,7 @@ v1l_bytes(struct vdp_ctx *vdc, enum vdp_action act, void **priv,
return (0); return (0);
} }
const struct vdp * const v1l_vdp = &(struct vdp){ const struct vdp * const VDP_v1l = &(struct vdp){
.name = "V1B", .name = "V1B",
.bytes = v1l_bytes, .bytes = v1l_bytes,
}; };
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