odyssey/sources/instance.h

27 lines
467 B
C
Raw Normal View History

#ifndef OD_INSTANCE_H_
#define OD_INSTANCE_H_
/*
* odissey.
*
* PostgreSQL connection pooler and request router.
*/
typedef struct od_instance od_instance_t;
struct od_instance
{
od_pid_t pid;
od_syslog_t syslog;
od_log_t log;
od_config_t config;
od_scheme_t scheme;
2017-06-20 13:33:20 +00:00
od_idmgr_t id_mgr;
};
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 */