NDSFreeNameList

Frees the list generated by the NDSGetReplicaNames function.

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

Syntax

    #include <ndsback.h> 
     
    void NDSFreeNameList  ( 
      void            *(*memAlloc)(unsigned size),   
      void             (*memFree)(void *p),   
      unsigned long      count,   
      NAMEID_TYPE    **nameList);
    

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.
count
(IN) Specifies the number of elements in the list.
nameList
(IN) Points to the list of replica structures (see NAMEID_TYPE).

Return Values

None.

Remarks

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

This is a clean up function for the NDSGetReplicaPartitionNames function because it frees the memory allocated by the NDSGetReplicaPartitionNames function.

NCP Calls

See Also

NDSGetReplicaPartitionNames