odyssey/sources/io.h

23 lines
461 B
C
Raw Normal View History

#ifndef ODYSSEY_IO_H
#define ODYSSEY_IO_H
/*
2018-03-12 14:03:15 +00:00
* Odyssey.
*
2018-04-04 13:19:58 +00:00
* Scalable PostgreSQL connection pooler.
*/
int od_getaddrname(struct addrinfo*, char*, int, int, int);
int od_getpeername(machine_io_t*, char*, int, int, int);
int od_getsockname(machine_io_t*, char*, int, int, int);
machine_msg_t*
od_read_startup(machine_io_t*, uint32_t);
machine_msg_t*
od_read(machine_io_t*, uint32_t);
2018-11-13 15:29:25 +00:00
int od_flush(machine_io_t*, int, uint32_t);
#endif /* ODYSSEY_IO_H */