summaryrefslogtreecommitdiff
path: root/src/string.h
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2007-01-13 13:47:57 +0000
committerDarkvater <Darkvater@openttd.org>2007-01-13 13:47:57 +0000
commit95024bb21c21c38fde3453c34e7029b6cf3626ea (patch)
treec5dd340a09a075d06a70fed0556e127c470cc125 /src/string.h
parent574ded3afdab4c28b892101e550dc89ffd170e71 (diff)
downloadopenttd-95024bb21c21c38fde3453c34e7029b6cf3626ea.tar.xz
(svn r8093) -Codechange: Add a function to get a string representation of an MD5SUM and use it.
Diffstat (limited to 'src/string.h')
-rw-r--r--src/string.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/string.h b/src/string.h
index 2dbc06eee..c3bc45280 100644
--- a/src/string.h
+++ b/src/string.h
@@ -55,6 +55,8 @@ static inline int ttd_strnlen(const char *str, int maxlen)
return t - str;
}
+/** Convert the md5sum number to a 'hexadecimal' string, return next pos in buffer */
+char *md5sumToString(char *buf, const char *last, const uint8 md5sum[16]);
typedef uint32 WChar;