2017-06-09 06:39:37 +00:00
|
|
|
#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);
|
|
|
|
};
|
|
|
|
|
2017-06-09 06:39:48 +00:00
|
|
|
const char **format_list(void);
|
2017-06-09 06:39:37 +00:00
|
|
|
|
|
|
|
#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
|
|
|
|
|