X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fjournal%2Fcatalog.h;h=fdde67aeedd87462ee4311bdcdd1afbea02c387f;hb=020d59000f86b3d98be763eaee6a2671f0427e46;hp=5e15b99ac0173e73e17915f9ab4286cbc19f58e4;hpb=c7332b0844e28d9b70c3c763b929f105c1056fe8;p=elogind.git diff --git a/src/journal/catalog.h b/src/journal/catalog.h index 5e15b99ac..fdde67aee 100644 --- a/src/journal/catalog.h +++ b/src/journal/catalog.h @@ -28,7 +28,7 @@ #include "strbuf.h" int catalog_import_file(Hashmap *h, struct strbuf *sb, const char *path); -unsigned catalog_hash_func(const void *p); +unsigned long catalog_hash_func(const void *p, const uint8_t hash_key[HASH_KEY_SIZE]); int catalog_compare_func(const void *a, const void *b) _pure_; int catalog_update(const char* database, const char* root, const char* const* dirs); int catalog_get(const char* database, sd_id128_t id, char **data);