563e8c19187e14db5892151af576c16bfe756405
kent
  Sat Apr 13 17:48:42 2013 -0700
Adding a separate parameter for file name to report errors on for benefit of edwSubmit which want's to report pre-upload URL where error occurs.
diff --git src/inc/fieldedTable.h src/inc/fieldedTable.h
index 15a592a..c212ce3 100644
--- src/inc/fieldedTable.h
+++ src/inc/fieldedTable.h
@@ -22,21 +22,23 @@
     int fieldCount; /* Number of fields. */
     char **fields;  /* Names of fields. */
     struct fieldedRow *rowList;  /* list of parsed out fields. */
     struct fieldedRow **cursor;  /* Pointer to where we add next item to list. */
     };
 
 struct fieldedTable *fieldedTableNew(char *name, char **fields, int fieldCount);
 /* Create a new empty fieldedTable with given name, often a file name. */
 
 void fieldedTableFree(struct fieldedTable **pTable);
 /* Free up memory resources associated with table. */
 
 struct fieldedRow *fieldedTableAdd(struct fieldedTable *table,  char **row, int rowSize, int id);
 /* Create a new row and add it to table.  Return row. */
 
-struct fieldedTable *fieldedTableFromTabFile(char *url, char *requiredFields[], int requiredCount);
+struct fieldedTable *fieldedTableFromTabFile(char *fileName, char *url, char *requiredFields[], int requiredCount);
 /* Read table from tab-separated file with a #header line that defines the fields.  Ensures
- * all requiredFields (if any) are present. */
+ * all requiredFields (if any) are present.  The url is just used for error reporting and 
+ * should be the same as fileName for most purposes.  This is used by edwSubmit though which
+ * first copies to a local file, and we want to report errors from the url. */
 
 #endif /* FIELDEDTABLE_H */