1f9f00f4a0fd0bf3a1a8840fe661a6f28e9d4a96
galt
  Wed Feb 13 15:11:47 2013 -0800
adding capability to run md5sum against an entire file
diff --git src/inc/md5.h src/inc/md5.h
index a97e435..ec36d3c 100644
--- src/inc/md5.h
+++ src/inc/md5.h
@@ -4,18 +4,29 @@
 #define uint8  unsigned char
 #define uint32 unsigned long int
 #define uint64 unsigned long long int
 
 struct md5_context
 {
     uint64 total;
     uint32 state[4];
     uint8 buffer[64];
 };
 
 void md5_starts( struct md5_context *ctx );
 void md5_update( struct md5_context *ctx, uint8 *input, uint32 length );
 void md5_finish( struct md5_context *ctx, uint8 digest[16] );
 
+#define MD5READBUFSIZE 256 * 1024
+
+void md5ForFile(char * fileName, unsigned char md5[16]);
+/* read f in buffer pieces and update md5 hash */
+
+char *md5ToHex(unsigned char md5[16]);
+/* return md5 as hex string */
+
+char *md5HexForFile(char * fileName);
+/* read f in buffer pieces and return hex string for md5sum */
+
 #endif /* MD5_H */