odyssey/sources/tls.h

20 lines
421 B
C
Raw Normal View History

#ifndef ODYSSEY_TLS_H
#define ODYSSEY_TLS_H
/*
2018-03-12 14:03:15 +00:00
* Odyssey.
*
2018-04-04 13:19:58 +00:00
* Scalable PostgreSQL connection pooler.
*/
machine_tls_t *od_tls_frontend(od_config_listen_t *);
int od_tls_frontend_accept(od_client_t *, od_logger_t *, od_config_listen_t *,
machine_tls_t *);
machine_tls_t *od_tls_backend(od_tls_opts_t *);
int od_tls_backend_connect(od_server_t *, od_logger_t *, od_tls_opts_t *);
#endif /* ODYSSEY_TLS_H */