odyssey/src/od_relay.h

22 lines
323 B
C
Raw Normal View History

2017-05-26 11:49:17 +00:00
#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 */