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

Function TSPluginDSOReloadEnable

src/api/InkAPI.cc:752–767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

750}
751
752TSReturnCode
753TSPluginDSOReloadEnable(int enabled)
754{
755 TSReturnCode ret = TS_SUCCESS;
756 if (!plugin_reg_current) {
757 return TS_ERROR;
758 }
759
760 if (!enabled) {
761 if (!PluginDso::loadedPlugins()->addPluginPathToDsoOptOutTable(plugin_reg_current->plugin_path)) {
762 ret = TS_ERROR;
763 }
764 }
765
766 return ret;
767}
768
769////////////////////////////////////////////////////////////////////
770//

Callers 1

TSPluginInitFunction · 0.85

Calls 1

Tested by

no test coverage detected