Specifies to Traffic Server that a license key is required for a plugin.
int INKPluginLicenseRequired(void)
Determines if a license is required. If a license is required, then Traffic
Server looks in the plugin.db
file for the license key. If this
function is simply not defined, then the plugin does not require a license.
#include <stdio.h> #include "InkAPI.h" void INKPluginInit (int argc, const char *argv[]) { printf ("hello world\n"); } int INKPluginLicenseRequired(void) { return 1; }
Returns 0
if a license is not required.
Returns 1
if a license is required.