Rev 8195 | Rev 8342 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8195 | Rev 8251 | ||
---|---|---|---|
Line 103... | Line 103... | ||
103 | /* from options.c */ |
103 | /* from options.c */ |
104 | extern int options(void); |
104 | extern int options(void); |
105 | extern char opt_user[MAX_FNAME+1]; |
105 | extern char opt_user[MAX_FNAME+1]; |
106 | void cmd(void); |
106 | void cmd(void); |
107 | 107 | ||
108 | /* from |
108 | /* from wimslogdscore.c */ |
109 | void cmd_getscore(char *p); |
109 | void cmd_getscore(char *p); |
110 | void cmd_scorelog(char *p); |
110 | void cmd_scorelog(char *p); |
111 | 111 | ||
112 | /* from socket.c */ |
112 | /* from socket.c */ |
113 | void sockerror(int type, char *p,...); |
113 | void sockerror(int type, char *p,...); |
Line 125... | Line 125... | ||
125 | extern int idle_time, idle_time2, idle_time3, anti_time; |
125 | extern int idle_time, idle_time2, idle_time3, anti_time; |
126 | extern char keepdate[32]; |
126 | extern char keepdate[32]; |
127 | extern char nowstr[64]; |
127 | extern char nowstr[64]; |
128 | extern char mupdate[32], backdate[32]; |
128 | extern char mupdate[32], backdate[32]; |
129 | extern int GEN_LOG_LIMIT, MODULE_LOG_LIMIT, OLD_LOG_FILES; |
129 | extern int GEN_LOG_LIMIT, MODULE_LOG_LIMIT, OLD_LOG_FILES; |
- | 130 | ||
130 | /* from fork.c */ |
131 | /* from fork.c */ |
131 | extern int forkcnt; |
132 | extern int forkcnt; |
132 | void addfork(pid_t pid, int type); |
133 | void addfork(pid_t pid, int type); |
133 | void forkman(int kz); |
134 | void forkman(int kz); |
134 | void wait_children(void); |
135 | void wait_children(void); |
135 | void dispatch_log(void); |
136 | void dispatch_log(void); |
- | 137 | ||
136 | /*from files.c */ |
138 | /*from files.c */ |
137 | /* read the content of a file */ |
- | |
138 | void readfile(char *fname, char buf[], long int buflen); |
139 | void readfile(char *fname, char buf[], long int buflen); /* read the content of a file */ |
139 | /* datafile structure: number of records. |
140 | /* datafile structure: number of records. |
140 | * tag=1 if direct access |
141 | * tag=1 if direct access |
141 | */ |
142 | */ |
142 | unsigned int datafile_recordnum(char *p); |
143 | unsigned int datafile_recordnum(char *p); |
143 | /* datafile structure: find record n, starting from 1 */ |
144 | char *datafile_fnd_record(char *p, int n, char bf[]); /* datafile structure: find record n, starting from 1 */ |
144 | char *datafile_fnd_record(char *p, int n, char bf[]); |
- | |
145 | int ftest(char *fname); |
145 | int ftest(char *fname); |
146 | enum{is_file, is_dir, is_exec, is_fifo, is_socket, is_unknown}; |
146 | enum{is_file, is_dir, is_exec, is_fifo, is_socket, is_unknown}; |
147 | 147 | ||
148 | /* from wimslogdlines.c */ |
148 | /* from wimslogdlines.c */ |
149 | void wimslogd_error(char *msg); |
149 | void wimslogd_error(char *msg); |