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
96e87339
Commit
96e87339
authored
May 10, 2023
by
Dag Haavi Finstad
Committed by
Nils Goroll
May 22, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vsl: Expose vsl_tag_is_masked
parent
ace59ccf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
cache.h
bin/varnishd/cache/cache.h
+1
-0
cache_shmlog.c
bin/varnishd/cache/cache_shmlog.c
+6
-0
No files found.
bin/varnishd/cache/cache.h
View file @
96e87339
...
@@ -783,6 +783,7 @@ void VSLbs(struct vsl_log *, enum VSL_tag_e tag, const struct strands *s);
...
@@ -783,6 +783,7 @@ void VSLbs(struct vsl_log *, enum VSL_tag_e tag, const struct strands *s);
void
VSLb_ts
(
struct
vsl_log
*
,
const
char
*
event
,
vtim_real
first
,
void
VSLb_ts
(
struct
vsl_log
*
,
const
char
*
event
,
vtim_real
first
,
vtim_real
*
pprev
,
vtim_real
now
);
vtim_real
*
pprev
,
vtim_real
now
);
void
VSLb_bin
(
struct
vsl_log
*
,
enum
VSL_tag_e
,
ssize_t
,
const
void
*
);
void
VSLb_bin
(
struct
vsl_log
*
,
enum
VSL_tag_e
,
ssize_t
,
const
void
*
);
int
VSL_tag_is_masked
(
enum
VSL_tag_e
tag
);
static
inline
void
static
inline
void
VSLb_ts_req
(
struct
req
*
req
,
const
char
*
event
,
vtim_real
now
)
VSLb_ts_req
(
struct
req
*
req
,
const
char
*
event
,
vtim_real
now
)
...
...
bin/varnishd/cache/cache_shmlog.c
View file @
96e87339
...
@@ -130,6 +130,12 @@ vsl_tag_is_masked(enum VSL_tag_e tag)
...
@@ -130,6 +130,12 @@ vsl_tag_is_masked(enum VSL_tag_e tag)
return
(
*
bm
&
b
);
return
(
*
bm
&
b
);
}
}
int
VSL_tag_is_masked
(
enum
VSL_tag_e
tag
)
{
return
(
vsl_tag_is_masked
(
tag
));
}
/*--------------------------------------------------------------------
/*--------------------------------------------------------------------
* Lay down a header fields, and return pointer to the next record
* Lay down a header fields, and return pointer to the next record
*/
*/
...
...
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