mirror of https://github.com/yandex/odyssey.git
21 lines
687 B
C
21 lines
687 B
C
#ifndef ODYSSEY_BACKEND_H
|
|
#define ODYSSEY_BACKEND_H
|
|
|
|
/*
|
|
* Odyssey.
|
|
*
|
|
* Scalable PostgreSQL connection pooler.
|
|
*/
|
|
|
|
int od_backend_connect(od_server_t*, char*, kiwi_params_t*);
|
|
int od_backend_connect_cancel(od_server_t*, od_rule_storage_t*, kiwi_key_t*);
|
|
void od_backend_close_connection(od_server_t*);
|
|
void od_backend_close(od_server_t*);
|
|
void od_backend_error(od_server_t*, char*, char*, uint32_t);
|
|
int od_backend_update_parameter(od_server_t*, char*, char*, uint32_t, int);
|
|
int od_backend_ready(od_server_t*, char*, uint32_t);
|
|
int od_backend_ready_wait(od_server_t*, char*, int, uint32_t);
|
|
int od_backend_query(od_server_t*, char*, char*, int);
|
|
|
|
#endif /* ODYSSEY_BACKEND_H */
|