res_clean(const char *res_name, VCSAgWhyClean reason, void
You may select any name for the function.
Set the VCSAgEPInfo parameter of VCSAgSetEntryPoint() primitive to the name of the entry point's function.
In the following example, the function res_clean is defined as the Clean entry point.
res_clean(const char *res_name, VCSAgWhyClean reason,
// Code to forcibly offline a resource.
// If the procedure is successful, return 0; else
VCSAG_LOG_INIT("VCSAgStartup");
VCSAgInitEntryPointStruct(V50);
VCSAgSetEntryPoint(VCSAgEPMonitor, res_monitor);
VCSAgSetEntryPoint(VCSAgEPOnline, res_online);
VCSAgSetEntryPoint(VCSAgEPOffline, res_offline);
VCSAgSetEntryPoint(VCSAgEPClean, res_clean);