Lines Matching defs:to
5 * <daniel@haxx.se> to make it better applied to curl conditions, and to make
7 * rewrite to work around the paragraph 2 in the BSD licenses as explained
29 * may be used to endorse or promote products derived from this software
93 /* Convert a protocol |level| to its char representation.
94 We take an int to catch programming mistakes. */
112 /* Default to the most secure alternative. */
151 /* Read |len| from the socket |fd| and store it in |to|. Return a CURLcode
154 socket_read(curl_socket_t fd, void *to, size_t len)
156 char *to_p = to;
177 /* Write |len| bytes from the buffer |to| to the socket |fd|. Return a
181 socket_write(struct connectdata *conn, curl_socket_t fd, const void *to,
184 const char *to_p = to;
282 /* Send |length| bytes from |from| to the |fd| socket taking care of encoding
434 infof(conn->data, "Trying to change the protection level after the"
439 /* Bail out if we try to set up the same level */
449 failf(conn->data, "Failed to set the protection's buffer size.");
463 /* Now try to negiociate the protection level. */
470 failf(conn->data, "Failed to set the protection level.");
556 /* Mechanism has dumped the error to stderr, don't error here. */