odyssey/sources/config_common.h

23 lines
386 B
C

#ifndef ODYSSEY_CONFIG_COMMON_H
#define ODYSSEY_CONFIG_COMMON_H
/*
* Odyssey.
*
* Scalable PostgreSQL connection pooler.
*/
typedef struct {
od_parser_t parser;
od_config_t *config;
od_global_t *global;
od_rules_t *rules;
od_error_t *error;
char *config_file;
od_hba_rules_t *hba_rules;
char *data;
int data_size;
} od_config_reader_t;
#endif // ODYSSEY_CONFIG_COMMON_H