res_online(const char *res_name, void **attr_val);
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_online is defined as the Online entry point.
res_online(const char *res_name, void **attr_val) {
// Implement the code to online a resource here.
// If monitor can check the state of the resource
// immediately, return 0. Otherwise, return the
// appropriate number of seconds to wait before
VCSAG_LOG_INIT("VCSAgStartup");
VCSAgInitEntryPointStruct(V51);