root / mainbox / util.h @ master
History | View | Annotate | Download (210 Bytes)
1 | 15928a3d | Tom Mullins | #ifndef UTIL_H
|
---|---|---|---|
2 | #define UTIL_H
|
||
3 | |||
4 | cc7646f9 | Tom Mullins | #include <unistd.h> |
5 | |||
6 | 13fd9e7e | Tom Mullins | #define PIDFILE "/var/run/tooltron.pid" |
7 | |||
8 | 15928a3d | Tom Mullins | char *read_file(const char *filename); |
9 | cc7646f9 | Tom Mullins | int create_pid_file();
|
10 | pid_t read_pid_file(); |
||
11 | void remove_pid_file();
|
||
12 | 15928a3d | Tom Mullins | |
13 | #endif |