49ba5b9081440aaf210605cf61c748aff9a6ddc7 braney Fri Nov 6 14:47:15 2015 -0800 a very basic instrumentation of UDC (no redmine) diff --git src/inc/udc.h src/inc/udc.h index e7e5517..ae3e026 100644 --- src/inc/udc.h +++ src/inc/udc.h @@ -153,16 +153,18 @@ /* return udc->updateTime */ boolean udcFastReadString(struct udcFile *f, char buf[256]); /* Read a string into buffer, which must be long enough * to hold it. String is in 'writeString' format. */ off_t udcFileSize(char *url); /* fetch remote or loca file size from given URL or path */ boolean udcExists(char *url); /* return true if a remote or local file exists */ boolean udcIsLocal(char *url); /* return true if url is not a http or ftp file, just a normal local file path */ +void udcSetLog(FILE *fp); +/* Tell UDC where to log its statistics. */ #endif /* UDC_H */