chiark / gitweb /
make individual events in Counts into an array
[innduct.git] / innduct.h
index 919b734abfc986b829226a7c89b58eb6277b7829..d6dc8dd033c6516b26cfdc68785cb3efac50aabc 100644 (file)
--- 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 {