diff options
Diffstat (limited to 'ssl.h')
-rw-r--r-- | ssl.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -0,0 +1,7 @@ +struct ctx; + +extern struct ctx *sslinit(int fd,char *cacert); +extern void sslexit(struct ctx *ctx); +extern int sslready(struct ctx *ctx); +extern ssize_t sslread(struct ctx *ctx,void *buf,size_t count); +extern ssize_t sslwrite(struct ctx *ctx,const void *buf,size_t count); |