pike.git / lib / modules / Protocols.pmod / LDAP.pmod / protocol.pike

version» Context lines:

pike.git/lib/modules/Protocols.pmod/LDAP.pmod/protocol.pike:12:   // - improved checking of readed bytes in 'readmsg'   // v1.9.1.1   // 1999-03-21 - changed FILE to File (unbuffered)   // - some inactive code   //   // v1.10 1999-03-28 - rewritten methods 'readmsg' & 'writemsg'   // to new method 'xchgmsg'   // - added core for async operation   //    - #if constant(Standards.ASN1.Types) -  +    import Protocols.LDAP;      #include "ldap_globals.h"       // private variables    int next_id = 1; // message id counter    int ldap_version = LDAP_DEFAULT_VERSION; // actually used protocol vers.    string ldap_rem_errstr = ldap_error_strings[LDAP_SUCCESS]; // last remote error description    int ldap_errno = LDAP_SUCCESS; // last error code   
pike.git/lib/modules/Protocols.pmod/LDAP.pmod/protocol.pike:329:    if (rv < 2) {    seterr (LDAP_SERVER_DOWN, strerror (ldapfd->errno()));    ERROR ("LDAP write error: %s\n", ldap_rem_errstr);    return -ldap_errno;    }    DWRITE(sprintf("protocol.writemsg: write OK [%d bytes].\n",rv));    msgval = 0; msgid = 0;    last_io_time = time();    return msgnum;    } -  - #else - constant this_program_does_not_exist=1; - #endif +