c-multihash/include/mh/multihash.h
Jakub Sztandera f3d2a1fd95 add multihash.h
extracts info about multihash from binary multihash
2016-08-01 16:33:32 +01:00

11 lines
315 B
C

#ifndef MH_HULTIHASH_H
#define MH_HULTIHASH_H
// returns hash code or error (which is < 0)
int mh_multihash_hash(const unsigned char multihash[], int len);
// returns length of multihash or error (which is < 0)
int mh_multihash_length(const unsigned char multihash[], int len);
#endif /* end of include guard */