void res_close(const char *res_name, void **attr_val);
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_close is defined as the Close entry point.
void res_close(const char *res_name,void **attr_val) {
// Resource-specific de-initialization, if needed.
// Unregister for attribute change notification, if any.
VCSAG_LOG_INIT("VCSAgStartup");
VCSAgInitEntryPointStruct(V50);
VCSAgSetEntryPoint(VCSAgEPClose, res_close);
VCSAgSetEntryPoint(VCSAgEPMonitor, res_monitor);
VCSAgSetEntryPoint(VCSAgEPOnline, res_online);
VCSAgSetEntryPoint(VCSAgEPOffline, res_offline);
VCSAgSetEntryPoint(VCSAgEPClean, res_clean);