mirror of https://github.com/yandex/odyssey.git
22 lines
308 B
C
22 lines
308 B
C
#ifndef OD_CRON_H
|
|
#define OD_CRON_H
|
|
|
|
/*
|
|
* Odyssey.
|
|
*
|
|
* Scalable PostgreSQL connection pooler.
|
|
*/
|
|
|
|
typedef struct od_cron od_cron_t;
|
|
|
|
struct od_cron
|
|
{
|
|
uint64_t stat_time_us;
|
|
od_global_t *global;
|
|
};
|
|
|
|
void od_cron_init(od_cron_t*, od_global_t*);
|
|
int od_cron_start(od_cron_t*);
|
|
|
|
#endif /* OD_CRON_H */
|