Previous  |  Next  >  
Product: Cluster Server Guides   
Manual: Cluster Server 4.1 Agent Developer's Guide   

close


 void res_close(const char *res_name, void **attr_val);

You may select any name for the function.

The close field of VCSAgV40EntryPointStruct passed to VCSAgRegisterEPStruct() must be assigned a pointer to this function.

For example:


 #include "VCSAgApi.h"

 void  res_close(const char *res_name,void **attr_val) {
  // Resource-specific de-initialization, if needed.
  // Unregister for attribute change notification, if any.
 }

 void VCSAgStartup() {
   VCSAgV40EntryPointStruct ep;
   ...
   ep.close =  res_close;
   ...
   VCSAgRegisterEPStruct(V40, &ep);
 }
 ^ Return to Top Previous  |  Next  >  
Product: Cluster Server Guides  
Manual: Cluster Server 4.1 Agent Developer's Guide  
VERITAS Software Corporation
www.veritas.com