mirror of https://github.com/yandex/odyssey.git
22 lines
323 B
C
22 lines
323 B
C
![]() |
#ifndef OD_RELAY_H
|
||
|
#define OD_RELAY_H
|
||
|
|
||
|
/*
|
||
|
* odissey.
|
||
|
*
|
||
|
* PostgreSQL connection pooler and request router.
|
||
|
*/
|
||
|
|
||
|
typedef struct od_relay od_relay_t;
|
||
|
|
||
|
struct od_relay
|
||
|
{
|
||
|
int64_t machine;
|
||
|
od_pooler_t *pooler;
|
||
|
};
|
||
|
|
||
|
void od_relay_init(od_relay_t*, od_pooler_t*);
|
||
|
int od_relay_start(od_relay_t*);
|
||
|
|
||
|
#endif /* OD_RELAY_H */
|