aboutsummaryrefslogtreecommitdiff
path: root/common/md5.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-05-15 13:57:58 +0000
committerTorbjörn Andersson2005-05-15 13:57:58 +0000
commitd91c687619fc9a79c9ce0b701fe23851b47648ee (patch)
tree92007754667dbe0248a76aadcb8e4535e4e518d8 /common/md5.h
parentaf462aceaac51ad82033be2c348a8b9c488950ea (diff)
downloadscummvm-rg350-d91c687619fc9a79c9ce0b701fe23851b47648ee.tar.gz
scummvm-rg350-d91c687619fc9a79c9ce0b701fe23851b47648ee.tar.bz2
scummvm-rg350-d91c687619fc9a79c9ce0b701fe23851b47648ee.zip
Indentation and whitespace.
svn-id: r18107
Diffstat (limited to 'common/md5.h')
-rw-r--r--common/md5.h24
1 files changed, 11 insertions, 13 deletions
diff --git a/common/md5.h b/common/md5.h
index b795bfa963..2a8cde5b0e 100644
--- a/common/md5.h
+++ b/common/md5.h
@@ -25,19 +25,17 @@
namespace Common {
-typedef struct
-{
- uint32 total[2];
- uint32 state[4];
- uint8 buffer[64];
-}
-md5_context;
-
-void md5_starts( md5_context *ctx );
-void md5_update( md5_context *ctx, const uint8 *input, uint32 length );
-void md5_finish( md5_context *ctx, uint8 digest[16] );
-
-bool md5_file( const char *name, uint8 digest[16], const char *directory = NULL, uint32 length = 0 );
+typedef struct {
+ uint32 total[2];
+ uint32 state[4];
+ uint8 buffer[64];
+} md5_context;
+
+void md5_starts(md5_context *ctx);
+void md5_update(md5_context *ctx, const uint8 *input, uint32 length);
+void md5_finish(md5_context *ctx, uint8 digest[16]);
+
+bool md5_file(const char *name, uint8 digest[16], const char *directory = NULL, uint32 length = 0);
} // End of namespace Common