1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef TLS_TIMEOUTIO_H
#define TLS_TIMEOUTIO_H
#include <openssl/ssl.h>
extern int tls_timeoutconn(int t, int rfd, int wfd, SSL *tls);
extern int tls_timeoutaccept(int t, int rfd, int wfd, SSL *tls);
extern int tls_timeoutrehandshake(int t, int rfd, int wfd, SSL *tls);
extern int tls_timeoutread(int t, int rfd, int wfd, SSL *tls, char *buf, int len);
extern int tls_timeoutwrite(int t, int rfd, int wfd, SSL *tls, char *buf, int len);
extern int tls_timeoutio(
int (*fun)(SSL *, void *, int), int t, int rfd, int wfd, SSL *tls, char *buf, int len);
#endif
|