]>
git.cameronkatri.com Git - trustcache.git/blob - machoparse/cdhash.h
1 #ifndef BLANKET__AMFID__CDHASH_H_
2 #define BLANKET__AMFID__CDHASH_H_
22 * Compute the cdhash of a Mach-O file.
25 * file The contents of the Mach-O file.
26 * size The size of the Mach-O file.
27 * cdhash out On return, contains the cdhash of the file. Must be
28 * CS_CDHASH_LEN bytes.
30 //bool compute_cdhash(const void *file, size_t size, struct cdhash *cdhash);
32 int find_cdhash(const char *path
, const struct stat
*sb
, struct cdhashes
*h
);