X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fjournal%2Fcatalog.h;h=fdde67aeedd87462ee4311bdcdd1afbea02c387f;hb=322345fdb9865ef2477fba8e4bdde0e1183ef505;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);