Commit 7aef7a73 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix the typedef for VCL_HEADER

parent 96ac6271
......@@ -54,7 +54,7 @@ typedef unsigned VCL_BOOL;
typedef double VCL_BYTES;
typedef double VCL_DURATION;
typedef const char * VCL_ENUM;
typedef const char * VCL_HEADER;
typedef const struct gethdr_s * VCL_HEADER;
typedef long VCL_INT;
typedef const struct suckaddr * VCL_IP;
typedef double VCL_REAL;
......
......@@ -50,7 +50,7 @@ ctypes = {
'BOOL': "VCL_BOOL",
'DURATION': "VCL_DURATION",
'ENUM': "VCL_ENUM",
'HEADER': "const struct gethdr_s *",
'HEADER': "VCL_HEADER",
'INT': "VCL_INT",
'IP': "VCL_IP",
'PRIV_CALL': "struct vmod_priv *",
......
......@@ -169,7 +169,7 @@ vmod_syslog(const struct vrt_ctx *ctx, VCL_INT fac, const char *fmt, ...)
}
VCL_VOID __match_proto__(td_std_collect)
vmod_collect(const struct vrt_ctx *ctx, const struct gethdr_s *hdr)
vmod_collect(const struct vrt_ctx *ctx, VCL_HEADER hdr)
{
CHECK_OBJ_NOTNULL(ctx, VRT_CTX_MAGIC);
......
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