summaryrefslogtreecommitdiff
path: root/src/include/tls_timeoutio.h
blob: 175757ea33f49406b2b115cfffc5233154f51209 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef TLS_TIMEOUTIO_H
#define TLS_TIMEOUTIO_H

#include <openssl/ssl.h>

int tls_timeoutconn(int t, int rfd, int wfd, SSL *tls);
int tls_timeoutaccept(int t, int rfd, int wfd, SSL *tls);
int tsl_timeoutrehandshake(int t, int rfd, int wfd, SSL *tls);

int tls_timeoutread(int t, int rfd, int wfd, SSL *tls, char *buf, int len);
int tls_timeoutwrite(int t, int rfd, int wfd, SSL *tls, char *buf, int len);

int tls_timeoutio(int (*fun)(), int t, int rfd, int wfd, SSL *tls, char *buf, int len);

#endif