Rev 6587 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6587 | Rev 6588 | ||
---|---|---|---|
Line 57... | Line 57... | ||
57 | } FILEINFO; |
57 | } FILEINFO; |
58 | 58 | ||
Line 59... | Line 59... | ||
59 | #pragma pack(pop) |
59 | #pragma pack(pop) |
Line -... | Line 60... | ||
- | 60 | ||
- | 61 | int get_fileinfo(const char *path,FILEINFO *info); |
|
- | 62 | int create_file(const char *path); |
|
- | 63 | int set_file_size(const char *path, unsigned size); |
|
- | 64 | int write_file(const char *path,const void *buff, |
|
- | 65 | unsigned offset,unsigned count,unsigned *writes); |
|
- | 66 | ||
60 | 67 | ||
61 | typedef struct |
68 | typedef struct |
62 | { |
69 | { |
63 | char *path; |
70 | char *path; |
64 | int offset; |
71 | int offset; |