#include <stdio.h>
-/* Errors */
-enum {
- LBX_ESUCCESS,
- LBX_EMAGIC,
- LBX_EEOF,
- LBX_ERANGE,
- LBX_EFORMAT,
-};
-extern int lbx_errno;
-
struct lbx_file_ops {
size_t (*read)(void *buf, size_t size, void *handle);
int (*seek)(void *handle, long offset, int whence);
int lbx_file_eof(LBXfile *f);
void lbx_file_close(LBXfile *f);
-/* Misc operations */
-const char *lbx_strerror(void);
-
#endif