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
3674aa86
Unverified
Commit
3674aa86
authored
Jan 24, 2022
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish: Use named structs for VTAILQ consistently
parent
5f19d9b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
vsl_dispatch.c
lib/libvarnishapi/vsl_dispatch.c
+6
-5
No files found.
lib/libvarnishapi/vsl_dispatch.c
View file @
3674aa86
...
...
@@ -76,6 +76,7 @@ static const char * const vsl_r_names[VSL_r__MAX] = {
};
struct
vtx
;
VTAILQ_HEAD
(
vtxhead
,
vtx
);
struct
vslc_raw
{
unsigned
magic
;
...
...
@@ -161,12 +162,12 @@ struct vtx {
enum
VSL_reason_e
reason
;
struct
vtx
*
parent
;
VTAILQ_HEAD
(,
vtx
)
child
;
struct
vtxhead
child
;
unsigned
n_child
;
unsigned
n_childready
;
unsigned
n_descend
;
VTAILQ_HEAD
(,
synth
)
synth
;
struct
synthhead
synth
;
struct
chunk
shmchunks
[
VTX_SHMCHUNKS
];
struct
chunkhead
shmchunks_free
;
...
...
@@ -189,11 +190,11 @@ struct VSLQ {
/* Structured mode */
struct
vtx_tree
tree
;
VTAILQ_HEAD
(,
vtx
)
ready
;
VTAILQ_HEAD
(,
vtx
)
incomplete
;
struct
vtxhead
ready
;
struct
vtxhead
incomplete
;
int
n_outstanding
;
struct
chunkhead
shmrefs
;
VTAILQ_HEAD
(,
vtx
)
cache
;
struct
vtxhead
cache
;
unsigned
n_cache
;
/* Rate limiting */
...
...
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