882be7eea9ec10c09a9ac1fc86dfb24c07eabafb
braney
  Thu Feb 28 10:06:39 2013 -0800
move hasProtocol() function from common.c to net.c (code review #10278)
diff --git src/inc/net.h src/inc/net.h
index d84d599..fb68576 100644
--- src/inc/net.h
+++ src/inc/net.h
@@ -236,17 +236,19 @@
  *    netSkipHttpHeaderLine(sd, url, &newSd, &newUrl);
  *    if (newUrl != NULL)
  *          // Update sd with newSd, free url if appropriate and replace it with newUrl, etc.
  *          //  free newUrl when finished.
  * This routine handles up to 5 steps of redirection.
  * The logic to this routine is also complicated a little to make it work in a pipe, which means we
  * can't attach a lineFile since filling the lineFile buffer reads in more than just the http header. */
 
 boolean netGetFtpInfo(char *url, long long *retSize, time_t *retTime);
 /* Return date in UTC and size of ftp url file */
 
 
 boolean parallelFetch(char *url, char *outPath, int numConnections, int numRetries, boolean newer, boolean progress);
 /* Open multiple parallel connections to URL to speed downloading */
 
+boolean hasProtocol(char *urlOrPath);
+/* Return TRUE if it looks like it has http://, ftp:// etc. */
 #endif /* NET_H */