diff --git a/free-sa/src/work/w_log_operations.c b/free-sa/src/work/w_log_operations.c index 0dbe94d..46519cb 100644 --- a/free-sa/src/work/w_log_operations.c +++ b/free-sa/src/work/w_log_operations.c @@ -1,5 +1,10 @@ #include "global.h" +struct MailRecord *(* READ_RECORDM)(FILE *iLog); +char (* READ_RECORDI)(FILE *Log, time_t *ttime, double *tSeconds, char *tip, short int *tcode, double *tBytes, char *tmethod, char *turl, char *tname, char *tstat); +char (* READ_DTI)(FILE *Log, time_t *ttime); +char (* READ_FULLDTI)(FILE *Log, time_t *ttime, char *tbuf); +void (* READ_ALIGN)(FILE *Log); double ccBytes = 0, allmBytes[5] = { 0, 0, 0, 0, 0 }, allmSeconds[5] = { 0, 0, 0, 0, 0 }; int ccCount = 0; diff --git a/free-sa/src/work/w_log_operations.h b/free-sa/src/work/w_log_operations.h index f6ff0bd..dc62cad 100644 --- a/free-sa/src/work/w_log_operations.h +++ b/free-sa/src/work/w_log_operations.h @@ -10,11 +10,11 @@ extern double ccBytes, allmBytes[5], allmSeconds[5]; extern int ccCount; -struct MailRecord *(* READ_RECORDM)(FILE *iLog); -char (* READ_RECORDI)(FILE *Log, time_t *ttime, double *tSeconds, char *tip, short int *tcode, double *tBytes, char *tmethod, char *turl, char *tname, char *tstat); -char (* READ_DTI)(FILE *Log, time_t *ttime); -char (* READ_FULLDTI)(FILE *Log, time_t *ttime, char *tbuf); -void (* READ_ALIGN)(FILE *Log); +extern struct MailRecord *(* READ_RECORDM)(FILE *iLog); +extern char (* READ_RECORDI)(FILE *Log, time_t *ttime, double *tSeconds, char *tip, short int *tcode, double *tBytes, char *tmethod, char *turl, char *tname, char *tstat); +extern char (* READ_DTI)(FILE *Log, time_t *ttime); +extern char (* READ_FULLDTI)(FILE *Log, time_t *ttime, char *tbuf); +extern void (* READ_ALIGN)(FILE *Log); extern short int ComputeIndics(short int tcode, char tmethod, char *turl, char *tstat, char *iname, double tbytes);