]>
Commit | Line | Data |
---|---|---|
cee18a41 AM |
1 | |
2 | #define _GNU_SOURCE 1 | |
3 | ||
4 | #ifndef INITLOG_H | |
5 | #define INITLOG_H | |
6 | ||
7 | struct logInfo { | |
8 | char *cmd; | |
9 | char *line; | |
10 | int fac; | |
11 | int pri; | |
12 | }; | |
13 | ||
14 | char *getLine(char **data); | |
15 | int logString(char *cmd, char *string); | |
16 | int processArgs(int argc, char **argv, int silent); | |
17 | ||
18 | #define DDEBUG if (debug) printf | |
19 | ||
20 | #endif |