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

Method init

src/proxy/http/remap/PluginFactory.cc:52–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52RemapPluginInst *
53RemapPluginInst::init(RemapPluginInfo *plugin, int argc, char **argv, std::string &error)
54{
55 RemapPluginInst *inst = new RemapPluginInst(*plugin);
56 if (plugin->initInstance(argc, argv, &(inst->_instance), error)) {
57 plugin->incInstanceCount();
58 return inst;
59 }
60 delete inst;
61 return nullptr;
62}
63
64void
65RemapPluginInst::done()

Callers 1

getRemapPluginMethod · 0.45

Calls 2

initInstanceMethod · 0.80
incInstanceCountMethod · 0.80

Tested by

no test coverage detected