chiark / gitweb /
Group counters into struct
[innduct.git] / innduct.h
index 65077d66b865a80f19d6fbe4a0e2be735ed3d4c6..919b734abfc986b829226a7c89b58eb6277b7829 100644 (file)
--- a/innduct.h
+++ b/innduct.h
@@ -237,6 +237,11 @@ struct XmitDetails {
 
 /*----- core operational data structure types -----*/
 
+typedef struct {
+  int counts[art_MaxState][RCI_max];
+  int read_ok, read_blank, read_err, nooffer_missing;
+} Counts;
+
 struct InputFile {
   /* This is also an instance of struct oop_readable */
   struct oop_readable readable; /* first */
@@ -254,8 +259,7 @@ struct InputFile {
   long inprogress; /* includes queue.count and also articles in conns */
   long autodefer; /* -1 means not doing autodefer */
 
-  int counts[art_MaxState][RCI_max];
-  int readcount_ok, readcount_blank, readcount_err, count_nooffer_missing;
+  Counts counts;
   char path[];
 };