Fix reading broken BER in gcrypt/rsa.c
[tinc] / src / pidfile.h
1 #ifndef TINC_PIDFILE_H
2 #define TINC_PIDFILE_H
3
4 #include "system.h"
5
6 typedef struct pidfile_t {
7         int pid;
8         char host[129];
9         char port[129];
10         char cookie[65];
11 } pidfile_t;
12
13 extern pidfile_t *read_pidfile(void) ATTR_MALLOC;
14 extern bool write_pidfile(const char *controlcookie, const char *address);
15
16 #endif // TINC_PIDFILE_H