Subversion Repositories freemyipod

Rev

Rev 770 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 770 Rev 785
Line 34... Line 34...
34
    uint32_t head;
34
    uint32_t head;
35
    uint32_t body;
35
    uint32_t body;
36
    uint32_t tail;
36
    uint32_t tail;
37
};
37
};
38
 
38
 
39
void dump_packet(const void* data, const uint32_t length);
39
void dump_packet(const void* data, size_t length);
40
void alignsplit(struct alignsizes* sizeptr, const uint32_t addr, const uint32_t size, const uint32_t blksize, const uint32_t align);
40
void alignsplit(struct alignsizes* sizeptr, uint32_t addr, uint32_t size, uint32_t blksize, uint32_t align);
41
time_t fat_time_to_unix_ts(const short wrttime, const short wrtdate);
41
time_t fat_time_to_unix_ts(short wrttime, short wrtdate);
42
int32_t unix_ts_to_fat_time(const time_t datetime);
42
int32_t unix_ts_to_fat_time(time_t datetime);
43
void print_error(const int code);
43
void print_error(int code);
44
 
44
 
45
#endif /* __MISC_H__ */
45
#endif /* __MISC_H__ */