multi_file.h

来自「由bmp生成mpeg2 的I_frame 数据」· C头文件 代码 · 共 31 行

H
31
字号
#ifndef MULTI_FILE_H
#define MULTI_FILE_H

typedef struct {
	
	void *private_data;

	int     (* close)(void *multi_file);
	__int64 (* tell)(void *multi_file);
	__int64 (* seek)(void *multi_file, __int64 offset, int origin);
	int     (* read)(void *multi_file, void *buf, int length);
	
	int     (* count)(void *multi_file);
	__int64 (* border)(void *multi_file, int index);
	
} MULTI_FILE;

#ifdef __cplusplus
extern "C" {
#endif

#ifndef MULTI_FILE_C
extern MULTI_FILE *open_multi_file(const char *path);
#endif

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?