7961614621bd2ac2c38a77a7094c79410e519543
hiram
  Sun May 1 21:45:44 2011 -0700
beginning to get some measurements, watch out for divide by zero
diff --git src/hg/inc/customPp.h src/hg/inc/customPp.h
index 1472ff5..ce7bfc3 100644
--- src/hg/inc/customPp.h
+++ src/hg/inc/customPp.h
@@ -8,30 +8,33 @@
  * it's in. */
 
 #ifndef CUSTOMPP_H
 #define CUSTOMPP_H
 
 struct customPp
 /* Custom track preprocessor. */
     {
     struct customPp *next;	 /* Next customPp in list */
     struct lineFile *fileStack;  /* Keep track of files we're included from */
     struct slName *browserLines; /* Lines seen so far that start w/ browser */
     struct slName *reusedLines;  /* Lines pushed back by customPpReuse. */
     struct slName *inReuse;	 /* Line in process of being reused. */
     boolean ignoreBrowserLines;  /* Flag to suppress removal of browser lines */
                                  /*   so preprocessor can be used with docs */
+#ifdef PROGRESS_METER
+    off_t remoteFileSize;	/* reported size from URL */
+#endif
     };
 
 struct customPp *customPpNew(struct lineFile *lf);
 /* Return customPp on lineFile */
 
 void customPpFree(struct customPp **pCpp);
 /* Close files and free up customPp. */
 
 char *customPpNext(struct customPp *cpp);
 /* Return next line. */
 
 char *customPpNextReal(struct customPp *cpp);
 /* Return next line that's nonempty and non-space. */
 
 void customPpReuse(struct customPp *cpp, char *line);