Commit 96e87339 authored by Dag Haavi Finstad's avatar Dag Haavi Finstad Committed by Nils Goroll

vsl: Expose vsl_tag_is_masked

parent ace59ccf
...@@ -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)
......
...@@ -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
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment