2017-05-25 12:01:56 +00:00
|
|
|
#ifndef OD_INSTANCE_H_
|
|
|
|
#define OD_INSTANCE_H_
|
2017-05-25 10:53:48 +00:00
|
|
|
|
|
|
|
/*
|
2017-07-05 12:42:49 +00:00
|
|
|
* Odissey.
|
2017-05-25 10:53:48 +00:00
|
|
|
*
|
2017-07-05 12:42:49 +00:00
|
|
|
* Advanced PostgreSQL connection pooler.
|
2017-05-25 10:53:48 +00:00
|
|
|
*/
|
|
|
|
|
2017-05-25 12:01:56 +00:00
|
|
|
typedef struct od_instance od_instance_t;
|
2017-05-25 10:53:48 +00:00
|
|
|
|
2017-05-25 12:01:56 +00:00
|
|
|
struct od_instance
|
2017-05-25 10:53:48 +00:00
|
|
|
{
|
2017-07-14 13:40:31 +00:00
|
|
|
od_pid_t pid;
|
|
|
|
od_syslog_t syslog;
|
|
|
|
od_log_t log;
|
|
|
|
od_schememgr_t scheme_mgr;
|
|
|
|
od_scheme_t scheme;
|
|
|
|
od_idmgr_t id_mgr;
|
2017-05-25 10:53:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
void od_instance_init(od_instance_t*);
|
|
|
|
void od_instance_free(od_instance_t*);
|
|
|
|
int od_instance_main(od_instance_t*, int, char**);
|
|
|
|
|
2017-05-25 12:01:56 +00:00
|
|
|
#endif /* OD_INSTANCE_H */
|