• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/lib/

Lines Matching defs:conn

95 static int  _ldap_url_parse (const struct connectdata *conn,
115 static CURLcode Curl_ldap(struct connectdata *conn, bool *done);
168 static CURLcode Curl_ldap(struct connectdata *conn, bool *done)
177 struct SessionHandle *data=conn->data;
195 rc = _ldap_url_parse(conn, &ludp);
204 if(conn->given->flags & PROTOPT_SSL)
218 server = ldap_sslinit(conn->host.name, (int)conn->port, 1);
264 server = ldapssl_init(conn->host.name, (int)conn->port, 1);
267 conn->host.name, conn->port);
305 server = ldap_init(conn->host.name, (int)conn->port);
308 conn->host.name, conn->port);
341 server = ldap_init(conn->host.name, (int)conn->port);
344 conn->host.name, conn->port);
354 conn->bits.user_passwd ? conn->user : NULL,
355 conn->bits.user_passwd ? conn->passwd : NULL);
360 conn->bits.user_passwd ? conn->user : NULL,
361 conn->bits.user_passwd ? conn->passwd : NULL);
386 Curl_client_write(conn, CLIENTWRITE_BODY, (char *)"DN: ", 4);
387 Curl_client_write(conn, CLIENTWRITE_BODY, (char *)dn, 0);
388 Curl_client_write(conn, CLIENTWRITE_BODY, (char *)"\n", 1);
399 Curl_client_write(conn, CLIENTWRITE_BODY, (char *)"\t", 1);
400 Curl_client_write(conn, CLIENTWRITE_BODY, (char *) attribute, 0);
401 Curl_client_write(conn, CLIENTWRITE_BODY, (char *)": ", 2);
424 Curl_client_write(conn, CLIENTWRITE_BODY, val_b64, val_b64_sz);
430 Curl_client_write(conn, CLIENTWRITE_BODY, vals[i]->bv_val,
434 Curl_client_write(conn, CLIENTWRITE_BODY, (char *)"\n", 0);
441 Curl_client_write(conn, CLIENTWRITE_BODY, (char *)"\n", 1);
468 Curl_setup_transfer(conn, -1, -1, FALSE, NULL, -1, NULL);
469 conn->bits.close = TRUE;
573 * <hostname> already known from 'conn->host.name'.
574 * <port> already known from 'conn->remote_port'.
575 * extract the rest from 'conn->data->state.path+1'. All fields are optional.
582 static int _ldap_url_parse2 (const struct connectdata *conn, LDAPURLDesc *ludp)
587 if(!conn->data ||
588 !conn->data->state.path ||
589 conn->data->state.path[0] != '/' ||
590 !checkprefix("LDAP", conn->data->change.url))
594 ludp->lud_port = conn->remote_port;
595 ludp->lud_host = conn->host.name;
599 ludp->lud_dn = strdup(conn->data->state.path+1);
662 if(!unescape_elements(conn->data, ludp))
667 static int _ldap_url_parse (const struct connectdata *conn,
677 rc = _ldap_url_parse2 (conn, ludp);