first non-sucking version of rocksock_peek()
[rofl0r-rocksock.git] / rocksock_ssl_internal.h
blobdfa7d069ee004fb3e4513fac9034e9dcb5f0958e
1 #ifndef ROCKSOCK_SSL_PRIVATE_H
2 #define ROCKSOCK_SSL_PRIVATE_H
4 #include "rocksock.h"
6 const char* rocksock_ssl_strerror(rocksock *sock, int error);
7 int rocksock_ssl_send(rocksock* sock, char* buf, size_t sz);
8 int rocksock_ssl_recv(rocksock* sock, char* buf, size_t sz);
9 int rocksock_ssl_connect_fd(rocksock* sock);
10 void rocksock_ssl_free_context(rocksock *sock);
11 int rocksock_ssl_peek(rocksock* sock, int *result);
13 //RcB: DEP "rocksock_ssl.c"
15 #endif