diff options
author | Darkvater <Darkvater@openttd.org> | 2007-01-13 13:47:57 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2007-01-13 13:47:57 +0000 |
commit | 95024bb21c21c38fde3453c34e7029b6cf3626ea (patch) | |
tree | c5dd340a09a075d06a70fed0556e127c470cc125 /src/string.h | |
parent | 574ded3afdab4c28b892101e550dc89ffd170e71 (diff) | |
download | openttd-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.h | 2 |
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; |