mirror of https://github.com/yandex/odyssey.git
21 lines
586 B
C
21 lines
586 B
C
#ifndef OD_BACKEND_H
|
|
#define OD_BACKEND_H
|
|
|
|
/*
|
|
* Odissey.
|
|
*
|
|
* Advanced PostgreSQL connection pooler.
|
|
*/
|
|
|
|
int od_backend_connect(od_server_t*);
|
|
int od_backend_connect_cancel(od_server_t*, od_schemestorage_t*, shapito_key_t*);
|
|
void od_backend_close(od_server_t*);
|
|
int od_backend_terminate(od_server_t*);
|
|
int od_backend_reset(od_server_t*);
|
|
void od_backend_error(od_server_t*, char*, char*, int);
|
|
int od_backend_ready(od_server_t*, char*, char*, int);
|
|
int od_backend_configure(od_server_t*, shapito_be_startup_t*);
|
|
int od_backend_discard(od_server_t*);
|
|
|
|
#endif /* OD_BACKEND_H */
|