mirror of https://github.com/yandex/odyssey.git
25 lines
331 B
C
25 lines
331 B
C
#ifndef OD_H_
|
|
#define OD_H_
|
|
|
|
/*
|
|
* odissey.
|
|
*
|
|
* PostgreSQL connection pooler and request router.
|
|
*/
|
|
|
|
typedef struct od_t od_t;
|
|
|
|
struct od_t {
|
|
od_pid_t pid;
|
|
od_syslog_t syslog;
|
|
od_log_t log;
|
|
od_config_t config;
|
|
od_scheme_t scheme;
|
|
};
|
|
|
|
void od_init(od_t*);
|
|
void od_free(od_t*);
|
|
int od_main(od_t*, int, char**);
|
|
|
|
#endif
|