Branch: Tag:

2002-07-22

2002-07-22 16:15:40 by H. William Welliver III <bill@welliver.org>

added autodocs for error_number and error_string in protocol
fixed return type for get_referrals (should be array not mapping)

Rev: lib/modules/Protocols.pmod/LDAP.pmod/client.pike:1.41
Rev: lib/modules/Protocols.pmod/LDAP.pmod/protocol.pike:1.8

2:      // LDAP client protocol implementation for Pike.   // - // $Id: client.pike,v 1.40 2002/07/13 16:45:24 hop Exp $ + // $Id: client.pike,v 1.41 2002/07/22 16:15:40 bill Exp $   //   // Honza Petrous, hop@unibase.cz   //
358:    void create(string|void url, object|void context)    {    -  info = ([ "code_revision" : ("$Revision: 1.40 $"/" ")[1] ]); +  info = ([ "code_revision" : ("$Revision: 1.41 $"/" ")[1] ]);       if(!url || !sizeof(url))    url = LDAP_DEFAULT_URL;
1277:    //! Gets referrals.    //!    //! @returns -  //! Returns mapping of referrals or @tt{0@}. -  mapping|int get_referrals() { +  //! Returns array of referrals or @tt{0@}. +  array|int get_referrals() {    if(last_rv->referrals)    return last_rv->referrals;    return 0;