From 3b660c467f938df6898229e378074cfa5662ce9f Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Sun, 9 May 2021 12:37:16 +0200 Subject: save hash statically, added file info output, improved error strings and minor fixes --- service/src/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'service/src/util.h') diff --git a/service/src/util.h b/service/src/util.h index e5e21de..2e2196f 100644 --- a/service/src/util.h +++ b/service/src/util.h @@ -10,6 +10,8 @@ #define MIN(x,y) ((x) > (y) ? (y) : (x)) #define NULLFREE(p) do { free(p); p = NULL; } while (0) +#define MHASHLEN 32 + enum { FAIL = 0, OK = 1 }; void* checkp(void *p); -- cgit v1.2.3-71-gd317