#ifndef __FILE_Hx__ #define __FILE_Hx__ #include #include typedef struct { char *buf; int dlen; int blen; }buf_t; int file_length(char* path); int file_save(char *path, void *buf, int len); int file_load(char* path, buf_t *buf); int file_copy(char *dst, char *src); int file_remove(char *path); #endif