odyssey/sources/pid.h

24 lines
312 B
C
Raw Normal View History

#ifndef OD_PID_H
#define OD_PID_H
/*
2017-07-05 12:42:49 +00:00
* Odissey.
*
2017-07-05 12:42:49 +00:00
* Advanced PostgreSQL connection pooler.
*/
typedef struct od_pid od_pid_t;
struct od_pid
{
pid_t pid;
2017-07-26 14:05:29 +00:00
char pid_sz[16];
int pid_len;
};
2017-05-24 12:13:44 +00:00
void od_pid_init(od_pid_t*);
int od_pid_create(od_pid_t*, char*);
int od_pid_unlink(od_pid_t*, char*);
#endif