2016-11-07 09:59:06 +00:00
|
|
|
|
2016-11-07 11:18:11 +00:00
|
|
|
/*
|
2016-11-08 11:18:58 +00:00
|
|
|
* odissey.
|
|
|
|
*
|
|
|
|
* PostgreSQL connection pooler and request router.
|
2016-11-07 11:18:11 +00:00
|
|
|
*/
|
|
|
|
|
2016-11-07 09:59:06 +00:00
|
|
|
#include <stdlib.h>
|
2016-11-15 11:38:31 +00:00
|
|
|
#include <stdarg.h>
|
2016-11-07 11:18:11 +00:00
|
|
|
#include <stdint.h>
|
2016-11-07 09:59:06 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
|
2016-11-25 12:38:52 +00:00
|
|
|
#include <machinarium.h>
|
2016-11-09 11:33:25 +00:00
|
|
|
|
2016-11-07 10:07:23 +00:00
|
|
|
#include "od_macro.h"
|
2016-11-07 10:21:18 +00:00
|
|
|
#include "od_list.h"
|
2016-11-28 13:03:09 +00:00
|
|
|
#include "od_pid.h"
|
2016-11-28 14:47:39 +00:00
|
|
|
#include "od_syslog.h"
|
2016-11-07 11:29:49 +00:00
|
|
|
#include "od_log.h"
|
2016-11-07 10:59:09 +00:00
|
|
|
#include "od_scheme.h"
|
2016-11-07 11:18:11 +00:00
|
|
|
#include "od_lex.h"
|
2016-11-07 11:29:49 +00:00
|
|
|
#include "od_config.h"
|
2016-11-07 15:01:15 +00:00
|
|
|
#include "od.h"
|
2016-11-07 10:07:23 +00:00
|
|
|
|
2016-11-07 09:59:06 +00:00
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
2016-11-07 15:01:15 +00:00
|
|
|
od_t odissey;
|
|
|
|
od_init(&odissey);
|
|
|
|
int rc = od_main(&odissey, argc, argv);
|
|
|
|
od_free(&odissey);
|
|
|
|
return rc;
|
2016-11-07 09:59:06 +00:00
|
|
|
}
|