Initialize data structures

The example code in this chapter collects directory objects in a data structure called SERVER_INFO_LIST, which can be implemented as an array or list of CS_DS_OBJECT pointers.

The code calls the following example routines to collect directory object structures:

These routines simply manage a list of CS_DS_OBJECT pointers. Their implementation is not shown here, but complete code can be found in the usedir.c sample file in the Client-Library sample programs.