]>
Commit | Line | Data |
---|---|---|
1 | int rb_setup_ssl_server(const char *cert, const char *keyfile, const char *dhfile); | |
2 | int rb_init_ssl(void); | |
3 | ||
4 | int rb_ssl_listen(rb_fde_t *F, int backlog); | |
5 | int rb_init_prng(const char *path, prng_seed_t seed_type); | |
6 | ||
7 | int rb_get_random(void *buf, size_t length); | |
8 | const char *rb_get_ssl_strerror(rb_fde_t *F); | |
9 | void rb_ssl_start_accepted(rb_fde_t *new_F, ACCB *cb, void *data, int timeout); | |
10 | void rb_ssl_start_connected(rb_fde_t *F, CNCB *callback, void *data, int timeout); | |
11 | void rb_connect_tcp_ssl(rb_fde_t *F, struct sockaddr *dest, struct sockaddr *clocal, int socklen, CNCB *callback, void *data, int timeout); | |
12 | void rb_ssl_accept_setup(rb_fde_t *F, int new_fd, struct sockaddr *st, int addrlen); | |
13 | void rb_ssl_shutdown(rb_fde_t *F); | |
14 | ssize_t rb_ssl_read(rb_fde_t *F, void *buf, size_t count); | |
15 | ssize_t rb_ssl_write(rb_fde_t *F, const void *buf, size_t count); | |
16 | ||
17 |