raze-gles/source/libxmp-lite/src/format.h
hendricks266 35e8792efa libxmp-lite: Changes to build (in C mode).
git-svn-id: https://svn.eduke32.com/eduke32@6160 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-09 06:39:48 +00:00

25 lines
478 B
C

#ifndef LIBXMP_FORMAT_H
#define LIBXMP_FORMAT_H
#include <stdio.h>
#include "common.h"
#include "hio.h"
struct format_loader {
const char *name;
int (*const test)(HIO_HANDLE *, char *, const int);
int (*const loader)(struct module_data *, HIO_HANDLE *, const int);
};
const char **format_list(void);
#ifndef LIBXMP_CORE_PLAYER
#define NUM_FORMATS 52
#define NUM_PW_FORMATS 43
int pw_test_format(HIO_HANDLE *, char *, const int, struct xmp_test_info *);
#endif
#endif