odyssey/core/od_pooler.h

23 lines
329 B
C
Raw Normal View History

2016-11-09 11:30:06 +00:00
#ifndef OD_POOLER_H_
#define OD_POOLER_H_
/*
* odissey.
*
* PostgreSQL connection pooler and request router.
*/
2016-11-09 11:42:52 +00:00
typedef struct odpooler_t odpooler_t;
struct odpooler_t {
ft_t env;
ftio_t server;
odpool_t pool;
od_t *od;
};
int od_pooler_init(odpooler_t*, od_t*);
int od_pooler_start(odpooler_t*);
2016-11-09 11:30:06 +00:00
#endif