blob: ab0ea7cf7d221d550a9fc4d2980857fbfa8fe14d [file] [log] [blame] [raw]
/*
* Reads sysex data from a SYX file, and returns a sysex binary string
* This file is part of the DOSMid project. Copyright (C) Mateusz Viste.
*/
#ifndef SYX_H_SENTINEL
#define SYXERR_INVALIDPARAM -1
#define SYXERR_UNEXPECTEDEOF -2
#define SYXERR_BUFFEROVERRUN -3
#define SYXERR_INVALIDHEADER -4
#define SYXERR_INVALIDFORMAT -5
int syx_fetchnext(FILE *fd, unsigned char *buff, int bufflen);
#endif