MCPcopy Create free account
hub / github.com/apache/trafficserver / init_invalidate_t

Function init_invalidate_t

plugins/regex_revalidate/regex_revalidate.cc:136–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134} plugin_state_t;
135
136static invalidate_t *
137init_invalidate_t(invalidate_t *i)
138{
139 i->regex_text = nullptr;
140 i->regex = nullptr;
141 i->regex_extra = nullptr;
142 i->epoch = 0;
143 i->expiry = 0;
144 i->new_result = TS_CACHE_LOOKUP_HIT_STALE;
145 i->next = nullptr;
146 return i;
147}
148
149static void
150free_invalidate_t(invalidate_t *i)

Callers 2

load_stateFunction · 0.85
load_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected