diff options
Diffstat (limited to '3rdparty/libflac/src/plugin_winamp2/tagz.h')
-rw-r--r-- | 3rdparty/libflac/src/plugin_winamp2/tagz.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/3rdparty/libflac/src/plugin_winamp2/tagz.h b/3rdparty/libflac/src/plugin_winamp2/tagz.h new file mode 100644 index 00000000000..f826b7cec8a --- /dev/null +++ b/3rdparty/libflac/src/plugin_winamp2/tagz.h @@ -0,0 +1,32 @@ +#pragma once + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef UINT +typedef unsigned int UINT; +#endif + +#ifdef TAGZ_UNICODE +#if _MSC_VER <= 1200 +typedef unsigned short T_CHAR; +#else +typedef wchar_t T_CHAR; +#endif +#else +#define T_CHAR char +#endif + +typedef T_CHAR* (*TAGFUNC)(const T_CHAR *tag,void *p); /* return 0 if not found */ +typedef void (*TAGFREEFUNC)(T_CHAR *tag,void *p); + + +UINT tagz_format(const T_CHAR * spec,TAGFUNC f,TAGFREEFUNC ff,void *fp,T_CHAR * out,UINT max); +T_CHAR * tagz_format_r(const T_CHAR * spec,TAGFUNC f,TAGFREEFUNC ff,void * fp); + +extern const char tagz_manual[]; + +#ifdef __cplusplus +} +#endif |