odyssey/sources/pid.h

24 lines
312 B
C

#ifndef OD_PID_H
#define OD_PID_H
/*
* Odissey.
*
* Advanced PostgreSQL connection pooler.
*/
typedef struct od_pid od_pid_t;
struct od_pid
{
pid_t pid;
char pid_sz[16];
int pid_len;
};
void od_pid_init(od_pid_t*);
int od_pid_create(od_pid_t*, char*);
int od_pid_unlink(od_pid_t*, char*);
#endif