equal
deleted
inserted
replaced
46 * *sock_ptr. In case of errors, additional error information is stored in *err. |
46 * *sock_ptr. In case of errors, additional error information is stored in *err. |
47 * |
47 * |
48 * XXX: blocking |
48 * XXX: blocking |
49 * XXX: doesn't do any certificate verification. |
49 * XXX: doesn't do any certificate verification. |
50 */ |
50 */ |
51 err_t sock_gnutls_connect (struct sock_stream **sock_ptr, const char *host, const char *service, struct error_info *err); |
51 err_t sock_ssl_connect (struct sock_stream **sock_ptr, const char *host, const char *service, struct error_info *err); |
52 |
52 |
53 /* |
53 /* |
54 * The generic read/write API for stream sockets. These are mostly identical to the equivalent read/write syscalls, but |
54 * The generic read/write API for stream sockets. These are mostly identical to the equivalent read/write syscalls, but |
55 * the handling of EOF and EAGAIN is different. Normally, these return the (positive) number of bytes written. For |
55 * the handling of EOF and EAGAIN is different. Normally, these return the (positive) number of bytes written. For |
56 * EAGAIN, these return zero. For EOF, these return -ERR_READ_EOF/ERR_WRITE_EOF. Otherwise, these return the -ERR_* |
56 * EAGAIN, these return zero. For EOF, these return -ERR_READ_EOF/ERR_WRITE_EOF. Otherwise, these return the -ERR_* |