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

version» Context lines:

pike.git/lib/modules/Protocols.pmod/LDAP.pmod/protocol.pike:1:   // LDAP client protocol implementation for Pike.   // - // $Id: protocol.pike,v 1.1 1999/08/12 00:44:16 marcus fake $ + // $Id: protocol.pike,v 1.2 1999/08/25 05:04:33 hubbe Exp $   //   // Honza Petrous, hop@unibase.cz   //   // ----------------------------------------------------------------------   //   // History:   //   // v1.9 1999-02-19 created separate file   // - 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.asn1_integer)    -  +    #include "ldap_globals.h"      #include "ldap_errors.h"       inherit Stdio.File : ldap;       // private variables    int next_id = 1; // message id counter    int ldap_version = LDAP_DEFAULT_VERSION; // actually used protocol vers.    string ldap_rem_errstr = LDAP_SUCCESS_STR; // last remote error description
pike.git/lib/modules/Protocols.pmod/LDAP.pmod/protocol.pike:461:    seterr (LDAP_SERVER_DOWN);    THROW(({"LDAP: connection closed by server.\n",backtrace()}));    return(-ldap_errno);    }    DWRITE(sprintf("protocol.writemsg: write OK [%d bytes].\n",rv));    msgval = 0; msgid = 0;    return (msgnum);    }       + #endif