odyssey/sources/instance.h

27 lines
493 B
C
Raw Normal View History

#ifndef OD_INSTANCE_H_
#define OD_INSTANCE_H_
/*
2017-07-05 12:42:49 +00:00
* Odissey.
*
2017-07-05 12:42:49 +00:00
* Advanced PostgreSQL connection pooler.
*/
typedef struct od_instance od_instance_t;
struct od_instance
{
od_pid_t pid;
2017-07-26 14:05:29 +00:00
od_logger_t logger;
od_idmgr_t id_mgr;
od_schememgr_t scheme_mgr;
od_scheme_t scheme;
char *config_file;
};
void od_instance_init(od_instance_t*);
void od_instance_free(od_instance_t*);
int od_instance_main(od_instance_t*, int, char**);
#endif /* OD_INSTANCE_H */