X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=innduct.h;h=fc04d8a6688d93ba10c65d352e5ccc57f54077ff;hb=c2ec61d4f426a04f288559c5ad50df822b7dcfb8;hp=919b734abfc986b829226a7c89b58eb6277b7829;hpb=f040b1fe921a666514b59f0374817832e11bca2d;p=innduct.git diff --git a/innduct.h b/innduct.h index 919b734..fc04d8a 100644 --- a/innduct.h +++ b/innduct.h @@ -218,6 +218,10 @@ typedef enum { RCI_max } ResultCountIndex; +typedef enum { + read_ok, read_blank, read_err, nooffer_missing, + ECI_max +} EventCountIndex; /*----- transmission buffers -----*/ @@ -238,8 +242,8 @@ struct XmitDetails { /*----- core operational data structure types -----*/ typedef struct { - int counts[art_MaxState][RCI_max]; - int read_ok, read_blank, read_err, nooffer_missing; + int results[art_MaxState][RCI_max]; + int events[ECI_max]; } Counts; struct InputFile { @@ -493,6 +497,8 @@ extern int until_stats_log; extern StateMachineState sms; extern int until_flush; extern InputFile *main_input_file, *flushing_input_file, *backlog_input_file; +extern Counts backlog_counts; +extern int backlog_counts_report; extern FILE *defer; extern int until_connect, until_backlog_nextscan; extern double accept_proportion;