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: protocol.pike,v 1.7 2001/09/14 08:38:02 hop Exp $ + // $Id: protocol.pike,v 1.8 2002/07/22 16:15:40 bill Exp $   //   // Honza Petrous, hop@unibase.cz   //
55:    return(errno);    }    +  //! +  //! Returns error number of last transaction. +  //! +  //! @seealso +  //! @[LDAP.protocol.error_string]    int error_number() { return(ldap_errno); }    -  +  //! +  //! Returns error description of search result. +  //! +  //! @seealso +  //! @[LDAP.protocol.error_number]    string error_string() { return(ldap_errlist[ldap_errno]); }       array error() { return(({error_number(), error_string()})); }