New CRC32 implementation, from scratch, not copyrighted by somebody else!
[sgt/putty] / ssh.h
diff --git a/ssh.h b/ssh.h
index 2aac856..d154af7 100644 (file)
--- a/ssh.h
+++ b/ssh.h
@@ -21,7 +21,7 @@ void rsastr_fmt(char *str, struct RSAKey *key);
 typedef unsigned int word32;
 typedef unsigned int uint32;
 
-unsigned long crc32(const unsigned char *s, unsigned int len);
+unsigned long crc32(const void *s, size_t len);
 
 struct MD5Context {
         uint32 buf[4];
@@ -44,3 +44,5 @@ void SHATransform(word32 *digest, word32 *data);
 
 int random_byte(void);
 void random_add_noise(void *noise, int length);
+
+void logevent (char *);