|
atscppapi
1.0.9
C++ wrapper for Apache Traffic Server API
|
Provides hooks that plugins have to implement. ATS will invoke these when loading the plugin .so files. More...
Go to the source code of this file.
Enumerations | |
| enum | TsReturnCode { TS_ERROR = -1, TS_SUCCESS = 0 } |
Functions | |
| void | TSPluginInit (int argc, const char *argv[]) |
| TsReturnCode | TSRemapNewInstance (int argc, char *argv[], void **instance_handle, char *errbuf, int errbuf_size) |
Provides hooks that plugins have to implement. ATS will invoke these when loading the plugin .so files.
| void TSPluginInit | ( | int | argc, |
| const char * | argv[] | ||
| ) |
Invoked for "general" plugins - listed in plugin.config. The arguments in the plugin.config line are provided in this invocation.
| argc | Count of arguments |
| argv | Array of pointers pointing to arguments |
| TsReturnCode TSRemapNewInstance | ( | int | argc, |
| char * | argv[], | ||
| void ** | instance_handle, | ||
| char * | errbuf, | ||
| int | errbuf_size | ||
| ) |
Invoked for remap plugins - listed in remap.config. The arguments provided as in the remap.config line are provided in this invocation.
| argc | Count of arguments |
| argv | Array of pointers pointing to arguments |
| instance_handle | Should be passed to the RemapPlugin constructor |
| errbuf | Not used |
| errbuf_size | Not used |
1.8.3.1