projects
/
oweals
/
luci.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
nixio:
[oweals/luci.git]
/
libs
/
nixio
/
src
/
nixio-tls.h
1
#ifndef NIXIO_TLS_H_
2
#define NIXIO_TLS_H_
3
4
#include "nixio.h"
5
6
#ifndef WITHOUT_OPENSSL
7
#include <openssl/ssl.h>
8
#endif
9
10
#define NIXIO_TLS_CTX_META "nixio.tls.ctx"
11
#define NIXIO_TLS_SOCK_META "nixio.tls.sock"
12
13
typedef struct nixio_tls_socket {
14
SSL *socket;
15
#ifdef WITH_AXTLS
16
size_t pbufsiz;
17
char *pbufpos;
18
char *pbuffer;
19
#endif
20
} nixio_tls_sock;
21
22
#endif /* NIXIO_TLS_H_ */