Returns a pointer to the Traffic Server configuration.
INKConfig INKConfigGet (unsigned int
id
)
Retrieves the current configuration pointer associated
with the configuration identifier
. The function
id
INKConfigDataGet
can then be used to
retrieve the data pointer from within the configuration.
INKConfigGet
increments the reference count
inside the configuration. It is important to call
INKConfigRelease
to decrement the reference
count when the user is done with the configuration
pointer.
Before you call INKConfigGet
, you
must set the identifier
to some plugin
configuration data using id
INKConfigSet
(see
the code snippet in the previous section).
A pointer to the current Traffic Server configuration.