void res_open(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_open is defined as the Open entry point.
void res_open(const char *res_name, void **attr_val) {
// Perform resource initialization, if any.
// Register for attribute change notification, if needed.
VCSAG_LOG_INIT("VCSAgStartup");
VCSAgInitEntryPointStruct(V50);
VCSAgValidateAndSetEntryPoint(VCSAgEPOpen, res_open);
VCSAgValidateAndSetEntryPoint(VCSAgEPMonitor, res_monitor);
VCSAgValidateAndSetEntryPoint(VCSAgEPOnline, res_online);
VCSAgValidateAndSetEntryPoint(VCSAgEPOffline, res_offline);