void INKPluginInit (int
argc
,
const char *argv[]
)
is a count of the number of
arguments in the argument vector, argc
. The
count has a value of at least one because the first argument in the argument
vector is the plugin’s name, which must exist in order for the
plugin to be loaded.argv
is the vector of arguments. The
number of arguments in the vector is argv
; argc
argv[0]
always contains the name of the
plugin shared library.
This function must be defined by all plugins. Traffic
Server calls this initialization routine when it loads the
plugin and sets argc
and
argv
based on the values in
plugin.config
.