Example: mldap_get_next_entry_ex

In the following example, the mldap_get_next_entry_ex function gets the next entry in a while loop.

while (mldap_get_next_entry_ex(pldap, "LDAP Get Next Entry", 
        LAST)) {         ...     }

In the following example, the mldap_get_next_entry_ex function retrieves the entry and saves it to parameter xyz.

mldap_get_next_entry_ex(pldap, "LDAP Get Next Entry",
     "Timeout=15",
     "Param=xyz",
     LAST );