Example: mldap_get_next_entry

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

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

In the following example, the mldap_get_next_entry function retrieves the entry andsaves it to parameter xyz.

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