Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-objvar
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
uplex-varnish
varnish-objvar
Commits
d5a54c12
Commit
d5a54c12
authored
Feb 05, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update to recent vmodtool changes and remove $Prefix ...
... now that the name clash is resolved
parent
1072cd21
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
9 additions
and
12 deletions
+9
-12
Makefile.am
src/Makefile.am
+2
-1
tasktop.h
src/tasktop.h
+1
-1
vmod_constant.c
src/vmod_constant.c
+2
-2
vmod_constant.vcctpl
src/vmod_constant.vcctpl
+0
-1
vmod_globalvar.c
src/vmod_globalvar.c
+2
-2
vmod_globalvar.vcctpl
src/vmod_globalvar.vcctpl
+0
-1
vmod_taskvar.c
src/vmod_taskvar.c
+1
-1
vmod_taskvar.vcctpl
src/vmod_taskvar.vcctpl
+0
-1
vmod_topvar.c
src/vmod_topvar.c
+1
-1
vmod_topvar.vcctpl
src/vmod_topvar.vcctpl
+0
-1
No files found.
src/Makefile.am
View file @
d5a54c12
...
...
@@ -53,7 +53,8 @@ TESTS = \
vtc/vmod_constant.vtc
\
vtc/vmod_globalvar.vtc
\
vtc/vmod_taskvar.vtc
\
vtc/vmod_topvar.vtc
vtc/vmod_topvar.vtc
\
vtc/clash.vtc
$(CS)
:
type_magics.h type_cp.h tbl_types.h
...
...
src/tasktop.h
View file @
d5a54c12
...
...
@@ -38,7 +38,7 @@
vmod_ ## type ## __init(VRT_CTX, \
struct vmodpfx_ ## type **vp, \
const char *vcl_name, \
struct
vmod_ ## type ##__init_arg *args)
\
struct
VARGS(type ##__init) *args)
\
{ \
struct vmodpfx_ ## type *v; \
\
...
...
src/vmod_constant.c
View file @
d5a54c12
...
...
@@ -72,7 +72,7 @@
vmod_ ## type ## __init(VRT_CTX, \
struct vmodpfx_ ## type **vp, \
const char *vcl_name, \
struct
vmod_ ## type ##__init_arg *args)
\
struct
VARGS(type ##__init) *args)
\
{ \
struct vmodpfx_ ## type *v; \
\
...
...
@@ -126,5 +126,5 @@
return (!!v->defined); \
}
#define VCC_TYPE(TYPE, type) var_code(
constant_, VMOD_CONSTANT_, constant
_constant_, TYPE, type)
#define VCC_TYPE(TYPE, type) var_code(
vmod_, VMOD_CONSTANT_, vmod
_constant_, TYPE, type)
#include "tbl_types.h"
src/vmod_constant.vcctpl
View file @
d5a54c12
$Module constant 3 "constants for VCL"
$Prefix constant
DESCRIPTION
===========
...
...
src/vmod_globalvar.c
View file @
d5a54c12
...
...
@@ -282,7 +282,7 @@ task_ref_var(VRT_CTX, struct vmod_globalvar_var *v, unsigned magic) {
vmod_ ## type ## __init(VRT_CTX, \
struct vmodpfx_ ## type **vp, \
const char *vcl_name, \
struct
vmod_ ## type ##__init_arg *args)
\
struct
VARGS(type ##__init) *args)
\
{ \
struct vmodpfx_ ## type *v; \
\
...
...
@@ -348,5 +348,5 @@ task_ref_var(VRT_CTX, struct vmod_globalvar_var *v, unsigned magic) {
}
#define VCC_TYPE(TYPE, type) var_code(
globalvar_, VMOD_GLOBALVAR_, globalvar
_globalvar_, TYPE, type)
#define VCC_TYPE(TYPE, type) var_code(
vmod_, VMOD_GLOBALVAR_, vmod
_globalvar_, TYPE, type)
#include "tbl_types.h"
src/vmod_globalvar.vcctpl
View file @
d5a54c12
$Module globalvar 3 "global variables as objects for VCL"
$Prefix globalvar
DESCRIPTION
===========
...
...
src/vmod_taskvar.c
View file @
d5a54c12
...
...
@@ -104,5 +104,5 @@ state_l(VRT_CTX, void *v, size_t sz)
#define VMOD_TASKVAR_STRING_MAGIC (tv_magic | OBJVAR_STRING_MAGIC)
#define VMOD_TASKVAR_TIME_MAGIC (tv_magic | OBJVAR_TIME_MAGIC)
#define VCC_TYPE(TYPE, type) var_code(
taskvar_, VMOD_TASKVAR_, taskvar
_taskvar_, TYPE, type)
#define VCC_TYPE(TYPE, type) var_code(
vmod_, VMOD_TASKVAR_, vmod
_taskvar_, TYPE, type)
#include "tbl_types.h"
src/vmod_taskvar.vcctpl
View file @
d5a54c12
$Module taskvar 3 "task variables as objects for VCL"
$Prefix taskvar
DESCRIPTION
===========
...
...
src/vmod_topvar.c
View file @
d5a54c12
...
...
@@ -109,5 +109,5 @@ state_l(VRT_CTX, void *v, size_t sz)
#define VMOD_TOPVAR_STRING_MAGIC (tv_magic | OBJVAR_STRING_MAGIC)
#define VMOD_TOPVAR_TIME_MAGIC (tv_magic | OBJVAR_TIME_MAGIC)
#define VCC_TYPE(TYPE, type) var_code(
topvar_, VMOD_TOPVAR_, topvar
_topvar_, TYPE, type)
#define VCC_TYPE(TYPE, type) var_code(
vmod_, VMOD_TOPVAR_, vmod
_topvar_, TYPE, type)
#include "tbl_types.h"
src/vmod_topvar.vcctpl
View file @
d5a54c12
$Module topvar 3 "cross-ESI (top) variables as objects for VCL"
$Prefix topvar
DESCRIPTION
===========
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment