0544059f3df004f2d54e8978809ddfcbdee23645
braney
  Mon Feb 25 14:36:53 2013 -0800
modify twoBit library to auto-recognize whether it's dealing with a URL or local file (per code review #10237)
diff --git src/inc/common.h src/inc/common.h
index b2a1376..c204fbf 100644
--- src/inc/common.h
+++ src/inc/common.h
@@ -1431,16 +1431,18 @@
 
 
 time_t dateToSeconds(const char *date,const char*format);
 // Convert a string date to time_t
 
 boolean dateIsOld(const char *date,const char*format);
 // Is this string date older than now?
 
 boolean dateIsOlderBy(const char *date,const char*format, time_t seconds);
 // Is this string date older than now by this many seconds?
 
 char *dateAddTo(char *date,char *format,int addYears,int addMonths,int addDays);
 /* Add years,months,days to a formatted date and returns the new date as a cloned string
 *  format is a strptime/strftime format: %F = yyyy-mm-dd */
 
+boolean hasProtocol(char *urlOrPath);
+/* Return TRUE if it looks like it has http://, ftp:// etc. */
 #endif /* COMMON_H */