src/inc/udc.h 1.17
1.17 2009/11/20 17:45:32 angie
Added udcParseUrlFull, which returns http auth portion instead of silently skipping it.
Index: src/inc/udc.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/udc.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -b -B -U 4 -r1.16 -r1.17
--- src/inc/udc.h 13 Nov 2009 06:42:43 -0000 1.16
+++ src/inc/udc.h 20 Nov 2009 17:45:32 -0000 1.17
@@ -77,12 +77,13 @@
/* Remove cached files older than maxDays old. If testOnly is set
* no clean up is done, but the size of the files that would be
* cleaned up is still. */
-void udcParseUrl(char *url, char **retProtocol, char **retAfterProtocol, char **retColon);
+void udcParseUrlFull(char *url, char **retProtocol, char **retAfterProtocol, char **retColon,
+ char **retAuth);
/* Parse the URL into components that udc treats separately.
* *retAfterProtocol is Q-encoded to keep special chars out of filenames.
- * Free *retProtocol and *retAfterProtocol but not *retColon when done. */
+ * Free all *ret's except *retColon when done. */
char *udcDefaultDir();
/* Get default directory for cache. Use this for the udcFileOpen call if you
* don't have anything better.... */