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
commit5ed33e549e322fa6ebca07263c78263ed7514063 (patch)
treec5dd340a09a075d06a70fed0556e127c470cc125 /src/string.h
parentf2e5e604fb671a1b86a942ea9bb480c03b5efa9d (diff)
downloadopenttd-5ed33e549e322fa6ebca07263c78263ed7514063.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;