odyssey/src/od_log.h

23 lines
356 B
C
Raw Normal View History

2016-11-07 11:29:49 +00:00
#ifndef OD_LOG_H_
#define OD_LOG_H_
/*
* odissey - PostgreSQL connection pooler and
* request router.
*/
typedef struct odlog_t odlog_t;
struct odlog_t {
int pid;
int fd;
};
int od_loginit(odlog_t*);
int od_logopen(odlog_t*, char*);
int od_logclose(odlog_t*);
int od_log(odlog_t*, char*, ...);
2016-11-08 11:12:05 +00:00
int od_error(odlog_t*, char*, ...);
2016-11-07 11:29:49 +00:00
#endif