summaryrefslogtreecommitdiff
path: root/src/include/tls_timeoutio.h
blob: fe3cd865817b097d1d048ae870632b4c949944fd (plain)
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