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

Function register_plugin

plugins/compress/misc.cc:179–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179int
180register_plugin()
181{
182 TSPluginRegistrationInfo info;
183
184 info.plugin_name = (char *)"compress";
185 info.vendor_name = (char *)"Apache Software Foundation";
186 info.support_email = (char *)"dev@trafficserver.apache.org";
187
188 if (TSPluginRegister(&info) != TS_SUCCESS) {
189 return 0;
190 }
191 return 1;
192}
193
194void
195log_compression_ratio(int64_t in, int64_t out)

Callers 1

TSPluginInitFunction · 0.70

Calls 1

TSPluginRegisterFunction · 0.85

Tested by

no test coverage detected