1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
11 * Copyright (C) 2007 Dominik Wenger
13 * All files in this archive are subject to the GNU General Public License.
14 * See the file COPYING in the source tree root for full license agreement.
16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17 * KIND, either express or implied.
19 ****************************************************************************/
22 #ifndef MD5SUM_H_INCLUDED
23 #define MD5SUM_H_INCLUDED
26 #define uint8 unsigned char
31 #define uint32 unsigned long int
44 void md5_starts( md5_context
*ctx
);
45 void md5_update( md5_context
*ctx
, uint8
*input
, uint32 length
);
46 void md5_finish( md5_context
*ctx
, uint8 digest
[16] );
48 int FileMD5(QString name
, char *md5
);
50 #endif // MD5SUM_H_INCLUDED