7466d1654758a960990796f5c049e09e475f7766
tdreszer
  Thu Dec 1 17:12:06 2011 -0800
More timing in hgFileUi and hgFileSearch led to important efficiency changes.  Most notable, I am relying upon cached rsync results now to improve speed.
diff --git src/hg/inc/fileUi.h src/hg/inc/fileUi.h
index 1a6432a..2f1f575 100644
--- src/hg/inc/fileUi.h
+++ src/hg/inc/fileUi.h
@@ -26,19 +26,19 @@
     };
 
 
 struct fileDb *fileDbGet(char *db, char *dir, char *subDir, char *fileName);
 // Returns NULL or if found a fileDb struct with name, size and date filled in.
 
 void fileDbFree(struct fileDb **pFileList);
 // free one or more fileDb objects
 
 void filesDownloadUi(char *db, struct cart *cart, struct trackDb *tdb);
 // UI for a "composite like" track: This will list downloadable files associated with
 // a single trackDb entry (composite or of type "downloadsOnly". The list of files
 // will have links to their download and have metadata information associated.
 // The list will be a sortable table and there may be filtering controls.
 
-int fileSearchResults(char *db, struct sqlConnection *conn, struct slPair *varValPairs, char *fileType);
+int fileSearchResults(char *db, struct sqlConnection *conn, struct cart *cart, struct slPair *varValPairs, char *fileType);
 // Prints list of files in downloads directories matching mdb search terms. Returns count
 
 #endif /* FILEUI_H */