Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
321b3b46
Commit
321b3b46
authored
Jun 01, 2015
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure all "table" .h files, and only those, have FlexeLint
shutuppery about indentation.
parent
8b122caa
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
18 additions
and
2 deletions
+18
-2
acct_fields_req.h
include/tbl/acct_fields_req.h
+2
-0
backend_poll.h
include/tbl/backend_poll.h
+2
-0
ban_vars.h
include/tbl/ban_vars.h
+2
-0
debug_bits.h
include/tbl/debug_bits.h
+2
-0
feature_bits.h
include/tbl/feature_bits.h
+2
-0
http_response.h
include/tbl/http_response.h
+2
-0
vsc_all.h
include/tbl/vsc_all.h
+2
-0
vsl_tags.h
include/tbl/vsl_tags.h
+2
-0
vsl_tags_http.h
include/tbl/vsl_tags_http.h
+2
-0
vsc.c
lib/libvarnishapi/vsc.c
+0
-2
No files found.
include/tbl/acct_fields_req.h
View file @
321b3b46
...
...
@@ -30,7 +30,9 @@
* NB: Remember to mark those in vsc_fields.h to be included in struct dstat.
*/
/*lint -save -e525 -e539 */
ACCT
(
req_hdrbytes
)
ACCT
(
req_bodybytes
)
ACCT
(
resp_hdrbytes
)
ACCT
(
resp_bodybytes
)
/*lint -restore */
include/tbl/backend_poll.h
View file @
321b3b46
...
...
@@ -27,6 +27,7 @@
*
*/
/*lint -save -e525 -e539 */
BITMAP
(
good_ipv4
,
'4'
,
"Good IPv4"
,
0
)
BITMAP
(
good_ipv6
,
'6'
,
"Good IPv6"
,
0
)
BITMAP
(
err_xmit
,
'x'
,
"Error Xmit"
,
0
)
...
...
@@ -34,3 +35,4 @@ BITMAP(good_xmit, 'X', "Good Xmit", 0)
BITMAP
(
err_recv
,
'r'
,
"Error Recv"
,
0
)
BITMAP
(
good_recv
,
'R'
,
"Good Recv"
,
0
)
BITMAP
(
happy
,
'H'
,
"Happy"
,
1
)
/* lint -restore */
include/tbl/ban_vars.h
View file @
321b3b46
...
...
@@ -29,7 +29,9 @@
*
*/
/*lint -save -e525 -e539 */
PVAR
(
"req.url"
,
BANS_FLAG_REQ
,
BANS_ARG_URL
)
PVAR
(
"req.http."
,
BANS_FLAG_REQ
|
BANS_FLAG_HTTP
,
BANS_ARG_REQHTTP
)
PVAR
(
"obj.status"
,
BANS_FLAG_OBJ
,
BANS_ARG_OBJSTATUS
)
PVAR
(
"obj.http."
,
BANS_FLAG_OBJ
|
BANS_FLAG_HTTP
,
BANS_ARG_OBJHTTP
)
/*lint -restore */
include/tbl/debug_bits.h
View file @
321b3b46
...
...
@@ -29,6 +29,7 @@
*
*/
/*lint -save -e525 -e539 */
DEBUG_BIT
(
REQ_STATE
,
req_state
,
"VSL Request state engine"
)
DEBUG_BIT
(
WORKSPACE
,
workspace
,
"VSL Workspace operations"
)
DEBUG_BIT
(
WAITER
,
waiter
,
"VSL Waiter internals"
)
...
...
@@ -40,3 +41,4 @@ DEBUG_BIT(LURKER, lurker, "VSL Ban lurker")
DEBUG_BIT
(
ESI_CHOP
,
esi_chop
,
"Chop ESI fetch to bits"
)
DEBUG_BIT
(
FLUSH_HEAD
,
flush_head
,
"Flush after http1 head"
)
DEBUG_BIT
(
VTC_MODE
,
vtc_mode
,
"Varnishtest Mode"
)
/*lint -restore */
include/tbl/feature_bits.h
View file @
321b3b46
...
...
@@ -29,6 +29,7 @@
*
*/
/*lint -save -e525 -e539 */
FEATURE_BIT
(
SHORT_PANIC
,
short_panic
,
"Short panic message."
,
"Reduce level of detail for panic messages."
...
...
@@ -58,3 +59,4 @@ FEATURE_BIT(ESI_REMOVE_BOM, esi_remove_bom,
"Remove UTF-8 BOM from front of object."
"Ignore and remove the UTF-8 BOM (0xeb 0xbb 0xbf) from front of object."
)
/*lint -restore */
include/tbl/http_response.h
View file @
321b3b46
...
...
@@ -28,6 +28,7 @@
*
*/
/*lint -save -e525 -e539 */
HTTP_RESP
(
101
,
"Switching Protocols"
)
HTTP_RESP
(
200
,
"OK"
)
HTTP_RESP
(
201
,
"Created"
)
...
...
@@ -68,3 +69,4 @@ HTTP_RESP(502, "Bad Gateway")
HTTP_RESP
(
503
,
"Service Unavailable"
)
HTTP_RESP
(
504
,
"Gateway Timeout"
)
HTTP_RESP
(
505
,
"HTTP Version Not Supported"
)
/*lint -restore */
include/tbl/vsc_all.h
View file @
321b3b46
...
...
@@ -28,6 +28,7 @@
*/
/*lint -save -e525 -e539 */
VSC_DO
(
MAIN
,
main
,
VSC_type_main
)
#include "tbl/vsc_f_main.h"
VSC_DONE
(
MAIN
,
main
,
VSC_type_main
)
...
...
@@ -67,3 +68,4 @@ VSC_DO(LCK, lck, VSC_type_lck)
#include "tbl/vsc_fields.h"
#undef VSC_DO_LCK
VSC_DONE
(
LCK
,
lck
,
VSC_type_lck
)
/*lint -restore */
include/tbl/vsl_tags.h
View file @
321b3b46
...
...
@@ -42,6 +42,7 @@
* Long Description (in RST "definition list" format)
*/
/*lint -save -e525 -e539 */
#define NODEF_NOTICE \
"NB: This log record is masked by default.\n\n"
...
...
@@ -518,3 +519,4 @@ SLTM(VfpAcct, 0, "Fetch filter accounting",
)
#undef NODEF_NOTICE
/*lint -restore */
include/tbl/vsl_tags_http.h
View file @
321b3b46
...
...
@@ -43,6 +43,7 @@
*
*/
/*lint -save -e525 -e539 */
SLTH
(
Method
,
HTTP_HDR_METHOD
,
1
,
0
,
"method"
,
"The HTTP request method used.
\n\n
"
)
...
...
@@ -79,3 +80,4 @@ SLTH(Unset, HTTP_HDR_UNSET, 0, 0, "unset header",
SLTH
(
Lost
,
HTTP_HDR_LOST
,
0
,
0
,
"lost header"
,
""
)
/*lint -restore */
lib/libvarnishapi/vsc.c
View file @
321b3b46
...
...
@@ -432,7 +432,6 @@ vsc_build_pt_list(struct VSM_data *vd)
vsc_delete_pt_list
(
vsc
);
VTAILQ_FOREACH
(
vf
,
&
vsc
->
vf_list
,
list
)
{
/*lint -save -e525 -e539 */
#define VSC_DO(U,l,t) \
CHECK_OBJ_NOTNULL(vf, VSC_VF_MAGIC); \
if (!strcmp(vf->fantom.type, t)) \
...
...
@@ -443,7 +442,6 @@ vsc_build_pt_list(struct VSM_data *vd)
#undef VSC_DO
#undef VSC_F
#undef VSC_DONE
/*lint -restore */
}
}
...
...
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