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

version» Context lines:

pike.git/lib/modules/Protocols.pmod/LDAP.pmod/protocol.pike:1:   #pike __REAL_VERSION__      // LDAP client protocol implementation for Pike.   // - // $Id: protocol.pike,v 1.10 2003/09/01 16:36:47 nilsson Exp $ + // $Id: protocol.pike,v 1.11 2004/01/11 00:49:03 nilsson 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
pike.git/lib/modules/Protocols.pmod/LDAP.pmod/protocol.pike:131:    THROW(({"LDAP: connection closed by server.\n",backtrace()}));    //return -ldap_errno;    return;    }    readbuf += s;    //DWRITE(sprintf("protocol.read_anwer: %s\n", .ldap_privates.ldap_der_decode(readbuf)->debug_string()));    DWRITE("protocol.read_anwer: ok=1.\n");    ok = 1;       if(con_ok) -  con_ok(this_object(), @extra_args); +  con_ok(this, @extra_args);    }       static int is_whole_pdu() {    // ----------------------    // Check if LDAP PDU is complete in 'readbuf'       int msglen, ix, ofs;    string shlp;       if (sizeof(readbuf) < 3)