mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
d715918e45
git-svn-id: https://svn.eduke32.com/eduke32@6158 1a8010ca-5511-0410-912e-c29ae57300e0
31 lines
518 B
C
31 lines
518 B
C
#ifndef LIBXMP_MEMIO_H
|
|
#define LIBXMP_MEMIO_H
|
|
|
|
#include <stdio.h>
|
|
|
|
typedef struct {
|
|
const unsigned char *start;
|
|
ptrdiff_t pos;
|
|
ptrdiff_t size;
|
|
} MFILE;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
MFILE *mopen(const void *, long);
|
|
int mgetc(MFILE *stream);
|
|
size_t mread(void *, size_t, size_t, MFILE *);
|
|
int mseek(MFILE *, long, int);
|
|
long mtell(MFILE *);
|
|
int mclose(MFILE *);
|
|
int meof(MFILE *);
|
|
#ifndef LIBXMP_CORE_PLAYER
|
|
int mstat(MFILE *, struct stat *);
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|