NDSVerifyServerInfo

Verifies that the server you are trying to restore information to is the same server that is in the servdat.nds file.

NetWare Server:4.x, 5.x, 6.x
Platform:NLM
Service:NDS

Syntax

    #include <ndsback.h> 
     
    int NDSVerifyServerInfo  ( 
      void  *(*memAlloc)(unsigned size),   
      void   (*memFree)(void *p),  
      int   *serverStatus,  
      int   *reasonCode);
    

Parameters

memAlloc
(IN) Points to the address of the function to use to allocate memory.
memFree
(IN) Points to the address of the function to use to free memory allocated with the memAlloc parameter.
serverStatus
(OUT) Points to the server flag that indicates whether the server and the data in the servdata.nds file match (see Section 3.2, eDirectory Server Flags).
reasonCode
(OUT) Points to the reason the server and the data in the servdata.nds file do not match (see Section 3.1, eDirectory Reason Flags).

Return Values

These are common return values.

0x0000

SUCCESSFUL

Nonzero

Nonzero values indicate errors. See NDS Return Values (001 to 799).

Remarks

This function is an exported symbol from the DSBACKER NLM. To use it, you will need to create an import file.

To prevent user error, call this function before calling the NDSSYSVolumeRecovery function.

NCP Calls

See Also

NDSSYSVolumeRecovery