2018-08-28 14:43:46 +00:00
|
|
|
#ifndef ODYSSEY_CONSOLE_H
|
|
|
|
#define ODYSSEY_CONSOLE_H
|
2017-06-24 14:57:55 +00:00
|
|
|
|
|
|
|
/*
|
2018-03-12 14:03:15 +00:00
|
|
|
* Odyssey.
|
2017-06-24 14:57:55 +00:00
|
|
|
*
|
2018-04-04 13:19:58 +00:00
|
|
|
* Scalable PostgreSQL connection pooler.
|
2017-06-24 14:57:55 +00:00
|
|
|
*/
|
|
|
|
|
2018-08-28 14:43:46 +00:00
|
|
|
typedef struct od_console od_console_t;
|
2017-06-24 14:57:55 +00:00
|
|
|
|
2018-08-28 14:43:46 +00:00
|
|
|
struct od_console
|
2017-06-24 14:57:55 +00:00
|
|
|
{
|
2018-02-02 11:49:10 +00:00
|
|
|
machine_channel_t *channel;
|
2018-03-13 13:17:27 +00:00
|
|
|
od_global_t *global;
|
2017-06-24 14:57:55 +00:00
|
|
|
};
|
|
|
|
|
2018-03-13 13:17:27 +00:00
|
|
|
void od_console_init(od_console_t*, od_global_t*);
|
2018-02-02 12:50:23 +00:00
|
|
|
int od_console_start(od_console_t*);
|
2018-08-28 14:43:46 +00:00
|
|
|
int od_console_request(od_client_t*, machine_channel_t*, machine_msg_t*);
|
2017-06-24 14:57:55 +00:00
|
|
|
|
2018-08-28 14:43:46 +00:00
|
|
|
#endif /* ODYSSEY_CONSOLE_H */
|