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

Function strForResult

plugins/regex_revalidate/regex_revalidate.cc:101–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101static const char *
102strForResult(TSCacheLookupResult const result)
103{
104 switch (result) {
105 case TS_CACHE_LOOKUP_MISS:
106 return RESULT_MISS;
107 break;
108 case TS_CACHE_LOOKUP_HIT_STALE:
109 return RESULT_STALE;
110 break;
111 default:
112 return RESULT_UNKNOWN;
113 break;
114 }
115}
116
117typedef struct invalidate_t {
118 const char *regex_text;

Callers 5

prune_configFunction · 0.85
load_configFunction · 0.85
list_configFunction · 0.85
add_headerFunction · 0.85
main_handlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected