Note that the name of the C++ function must be VCSAgStartup()
.
// This example shows the VCSAgStartup() entry point
// implementation,assuming that the monitor, online, offline
// and clean entry points are implemented in C++ and the
// respective function names are res_monitor, res_online,
VCSAG_LOG_INIT("VCSAgStartup");
VCSAgInitEntryPointStruct(V50);
VCSAgValidateAndSetEntryPoint(VCSAgEPMonitor, res_monitor);
VCSAgValidateAndSetEntryPoint(VCSAgEPOnline, res_online);
VCSAgValidateAndSetEntryPoint(VCSAgEPOffline, res_offline);
VCSAgValidateAndSetEntryPoint(VCSAgEPClean, res_clean);
VCSAgResState res_monitor(const char *res_name, void
**attr_val, int *conf_level) {
unsigned int res_online(const char *res_name,