c-multihash/include/mh/errors.h

17 lines
304 B
C
Raw Permalink Normal View History

2016-07-25 10:51:54 +00:00
#ifndef ERROR_H
#define ERROR_H
2016-07-25 15:18:34 +00:00
#define MH_E_NO_ERROR 0
#define MH_E_UNKNOWN_CODE -1
#define MH_E_TOO_SHORT -2
#define MH_E_TOO_LONG -3
#define MH_E_VARINT_NOT_SUPPORTED -4
#define MH_E_DIGSET_TOO_LONG -5
2016-07-25 10:51:54 +00:00
#define MH_E_LAST -5
const char *mh_error_string(int code);
2016-07-25 10:51:54 +00:00
#endif /* end of include guard */