af_vfs.h | af_vfs.h | |||
---|---|---|---|---|
skipping to change at line 37 | skipping to change at line 37 | |||
#ifndef AUDIOFILE_VFS_H | #ifndef AUDIOFILE_VFS_H | |||
#define AUDIOFILE_VFS_H 1 | #define AUDIOFILE_VFS_H 1 | |||
#include <audiofile.h> | #include <audiofile.h> | |||
#include <sys/types.h> | #include <sys/types.h> | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
typedef struct _AFvirtualfile AFvirtualfile; | ||||
struct _AFvirtualfile | struct _AFvirtualfile | |||
{ | { | |||
ssize_t (*read) (AFvirtualfile *vfile, void *data, size_t nbytes); | ssize_t (*read) (AFvirtualfile *vfile, void *data, size_t nbytes); | |||
AFfileoffset (*length) (AFvirtualfile *vfile); | AFfileoffset (*length) (AFvirtualfile *vfile); | |||
ssize_t (*write) (AFvirtualfile *vfile, const void *data, size_t nby tes); | ssize_t (*write) (AFvirtualfile *vfile, const void *data, size_t nby tes); | |||
void (*destroy) (AFvirtualfile *vfile); | void (*destroy) (AFvirtualfile *vfile); | |||
AFfileoffset (*seek) (AFvirtualfile *vfile, AFfileoffset offset, int is_relative); | AFfileoffset (*seek) (AFvirtualfile *vfile, AFfileoffset offset, int is_relative); | |||
AFfileoffset (*tell) (AFvirtualfile *vfile); | AFfileoffset (*tell) (AFvirtualfile *vfile); | |||
void *closure; | void *closure; | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 0 lines changed or added | |||
audiofile.h | audiofile.h | |||
---|---|---|---|---|
skipping to change at line 36 | skipping to change at line 36 | |||
#ifndef AUDIOFILE_H | #ifndef AUDIOFILE_H | |||
#define AUDIOFILE_H | #define AUDIOFILE_H | |||
#include <aupvlist.h> | #include <aupvlist.h> | |||
#include <stdint.h> | #include <stdint.h> | |||
#include <sys/types.h> | #include <sys/types.h> | |||
#define LIBAUDIOFILE_MAJOR_VERSION 0 | #define LIBAUDIOFILE_MAJOR_VERSION 0 | |||
#define LIBAUDIOFILE_MINOR_VERSION 3 | #define LIBAUDIOFILE_MINOR_VERSION 3 | |||
#define LIBAUDIOFILE_MICRO_VERSION 1 | #define LIBAUDIOFILE_MICRO_VERSION 2 | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
typedef struct _AFvirtualfile AFvirtualfile; | typedef struct _AFvirtualfile AFvirtualfile; | |||
typedef struct _AFfilesetup *AFfilesetup; | typedef struct _AFfilesetup *AFfilesetup; | |||
typedef struct _AFfilehandle *AFfilehandle; | typedef struct _AFfilehandle *AFfilehandle; | |||
typedef void (*AFerrfunc)(long, const char *); | typedef void (*AFerrfunc)(long, const char *); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||