comparison src/xs_length.h @ 771:469b341734b2

Move MD5 implementation into xs_support, and some related Audacious ifdeffery too.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 06 Nov 2012 11:23:58 +0200
parents 55eea3fa8868
children 84394ee26545
comparison
equal deleted inserted replaced
770:72e58ecb1a2c 771:469b341734b2
1 #ifndef XS_LENGTH_H 1 #ifndef XS_LENGTH_H
2 #define XS_LENGTH_H 2 #define XS_LENGTH_H
3 3
4 #include "xmms-sid.h" 4 #include "xmms-sid.h"
5 #ifdef AUDACIOUS_PLUGIN 5 #include "xs_support.h"
6 #include <audacious/audutil.h>
7 #define XS_MD5HASH_LENGTH AUD_MD5HASH_LENGTH
8 #define XS_MD5HASH_LENGTH_CH AUD_MD5HASH_LENGTH_CH
9 #define xs_md5hash_t aud_md5hash_t
10 #define xs_md5state_t aud_md5state_t
11 #define xs_md5_init aud_md5_init
12 #define xs_md5_append aud_md5_append
13 #define xs_md5_finish aud_md5_finish
14 #else
15 #include "xs_md5.h"
16 #endif
17 6
18 #ifdef __cplusplus 7 #ifdef __cplusplus
19 extern "C" { 8 extern "C" {
20 #endif 9 #endif
21 10