~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
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070529225636-ljeff8xxip09qaap
Tags: 1.1.4-1
* New upstream release. closes: #405167, #411311
  - libOggFLAC and libOggFLAC++ have been merged into libFLAC, so
    remove their corresponding packages.
  - Because of the API changes required to effect the above, there has
    been yet another soname bump. libflac7 -> libflac8 and
    libflac++5 -> libflac++6. Emails have been dispatched to the
    maintainers of dependent packages.
* Some notes on patches that were removed:
  - 02_stdin_stdout, 06_manpage_mention_utf8_convert: merged upstream
  - 08_manpage_warnings: Upstream has changed the manpage so it defintely
    can't fit in in 80 cols, so just forget about it. We'll live.
  - 05_eof_warnings_are_errors: Upstream decided to add a -w option to
    flac to treat all warnings as errors. I am going to defer to that
    for now, but if people think it's stupid let me know and I'll port
    the patch forward.
  - 04_stack_smasher: was a backport from 1.1.3, so it's obsolete.

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 */