The following example shows how to build the FileOnOff agent using your own VCSAgStartup
entry point. This example implements the VCSAgStartup
, online
, offline
, and monitor
entry points only.
Example: implementing agent using VCSAgStartup and script entry points
to the directory you created in the previous step:
agent.C
and modify the VCSAgStartup()
function (the last several lines) to match the following example:
VCSAgInitEntryPointStruct(V50);
// Do not configure any entry points because
// this example does not implement any of them
agent.C
and build the agent by invoking make
. (Makefile
is provided.)