TSInstallDirGet
include <ts/ts.h>
const char * (void)
const char * TSConfigDirGet
(void)
const char * TSRuntimeDirGet
(void)
returns the path to the root of the Traffic Server installation. TSConfigDirGet()
, and TSRuntimeDirGet()
return the complete, absolute path to the configuration directory, the plugin installation directory and the runtime directory, respectively.
To load a file that is located in the Traffic Server configuration directory:
TSAPI(3ts)