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
66da449b
Unverified
Commit
66da449b
authored
Jan 06, 2021
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish DEF_* macros
parent
cb2c7d11
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
tbl_types.h
src/tbl_types.h
+6
-7
No files found.
src/tbl_types.h
View file @
66da449b
...
...
@@ -7,9 +7,8 @@
#define DEFDOC_ACL
VCC_TYPE
(
ACL
,
acl
)
#define DEF_BACKEND =
0
#define DEF_BACKEND =
NULL
#define DEFDOC_BACKEND DEFDOC no backend.
#define DEF_BACKEND =0
VCC_TYPE
(
BACKEND
,
backend
)
#define DEF_BLOB
...
...
@@ -28,7 +27,7 @@ VCC_TYPE(BOOL, bool)
#define DEFDOC_BYTES
VCC_TYPE
(
BYTES
,
bytes
)
#define DEF_DURATION =0
#define DEF_DURATION =
0
#define DEFDOC_DURATION DEFDOC 0s.
VCC_TYPE
(
DURATION
,
duration
)
...
...
@@ -41,7 +40,7 @@ VCC_TYPE(HEADER, header)
// VCC_TYPE(HTTP, http)
// VCC_TYPE(INSTANCE, instance)
#define DEF_INT =0
#define DEF_INT =
0
#define DEFDOC_INT DEFDOC 0.
VCC_TYPE
(
INT
,
int
)
...
...
@@ -53,7 +52,7 @@ VCC_TYPE(IP, ip)
#define DEFDOC_PROBE
VCC_TYPE
(
PROBE
,
probe
)
#define DEF_REAL =0.0
#define DEF_REAL =
0.0
#define DEFDOC_REAL DEFDOC 0.0.
VCC_TYPE
(
REAL
,
real
)
...
...
@@ -63,7 +62,7 @@ VCC_TYPE(STEVEDORE, stevedore)
// VCC_TYPE(STRANDS)
#define DEF_STRING =0
#define DEF_STRING =
0
#define DEFDOC_STRING DEFDOC the empty string.
VCC_TYPE
(
STRING
,
string
)
...
...
@@ -71,7 +70,7 @@ VCC_TYPE(STRING, string)
// VCC_TYPE(STRING_LIST)
// VCC_TYPE(SUB)
#define DEF_TIME =0
#define DEF_TIME =
0
#define DEFDOC_TIME DEFDOC the epoch (1970/1/1 0:00:00 GMT).
VCC_TYPE
(
TIME
,
time
)
...
...
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