mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
0fea79cc8f
Likely some new bugs were introduced by this change. The long term goal is clean compilation by g++.
25 lines
391 B
C
25 lines
391 B
C
|
|
#ifndef EL__NETWORK_SSL_SOCKET_H
|
|
#define EL__NETWORK_SSL_SOCKET_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef CONFIG_SSL
|
|
|
|
struct socket;
|
|
|
|
int ssl_connect(struct socket *socket);
|
|
ssize_t ssl_write(struct socket *socket, char *data, int len);
|
|
ssize_t ssl_read(struct socket *socket, char *data, int len);
|
|
int ssl_close(struct socket *socket);
|
|
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|