Revision 1108, 302 bytes checked in by daisuke, 14 years ago (diff) |
---|
Line | |
---|---|
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 |