Gets the plugin directory.
const char * INKPluginDirGet(void)
Gets the plugin directory relative to Traffic Server’s
install directory. This path (relative to the Traffic Server
install directory) is stored in the
records.config
variable
proxy.config.plugin.plugin_dir
. The default value is config/plugin
.
To open the file
Blacklist/ui/blacklist_config.txt
,
use the following:
INKfopen (“INKInstallDirGet()/INKPluginDirGet()/Blacklist/ui/blacklist_config.txt”);
A pointer to a string containing the plugin directory.