~ubuntu-branches/ubuntu/raring/flac/raring

« back to all changes in this revision

Viewing changes to src/libFLAC/include/private/md5.h

  • Committer: Bazaar Package Importer
  • Author(s): Joshua Kwan
  • Date: 2007-05-29 22:56:36 UTC
  • mto: (8.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20070529225636-p8lkii0r0kp50pns
Tags: upstream-1.1.4
ImportĀ upstreamĀ versionĀ 1.1.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
#define md5byte unsigned char
30
30
 
31
 
/*
32
 
 * Due to an unholy abomination in libOggFLAC (it requires access to
33
 
 * these internal MD5 functions) we have to #include "FLAC/export.h"
34
 
 * and export them when building a DLL
35
 
 */
36
 
#include "FLAC/export.h"
37
31
#include "FLAC/ordinals.h"
38
32
 
39
33
struct FLAC__MD5Context {
44
38
        unsigned capacity;
45
39
};
46
40
 
47
 
FLAC_API void FLAC__MD5Init(struct FLAC__MD5Context *context);
48
 
FLAC_API void FLAC__MD5Update(struct FLAC__MD5Context *context, md5byte const *buf, unsigned len);
49
 
FLAC_API void FLAC__MD5Final(md5byte digest[16], struct FLAC__MD5Context *context);
 
41
void FLAC__MD5Init(struct FLAC__MD5Context *context);
 
42
void FLAC__MD5Update(struct FLAC__MD5Context *context, md5byte const *buf, unsigned len);
 
43
void FLAC__MD5Final(md5byte digest[16], struct FLAC__MD5Context *context);
50
44
void FLAC__MD5Transform(FLAC__uint32 buf[4], FLAC__uint32 const in[16]);
51
45
 
52
 
FLAC_API FLAC__bool FLAC__MD5Accumulate(struct FLAC__MD5Context *ctx, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample);
 
46
FLAC__bool FLAC__MD5Accumulate(struct FLAC__MD5Context *ctx, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample);
53
47
 
54
48
#endif /* !MD5_H */