You may select any name for the function.
Set the VCSAgValidateAndSetEntryPoint() parameter to the name of the entry point's function.
In the following example, the function res_shutdown is defined as the Shutdown entry point.
// Agent-specific de-initialization, if any.
VCSAG_LOG_INIT("VCSAgStartup");
VCSAgInitEntryPointStruct(V50);
VCSAgValidateAndSetEntryPoint(VCSAgEPShutdown, res_shutdown);
VCSAgValidateAndSetEntryPoint(VCSAgEPMonitor, res_monitor);
VCSAgValidateAndSetEntryPoint(VCSAgEPOnline, res_online);
VCSAgValidateAndSetEntryPoint(VCSAgEPOffline, res_offline);