X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=osl_core.h;fp=osl_core.h;h=91489c95a3aa3b606652568c02ece75bc5158ffa;hb=6811bf3ef3f157e82c189f22e0b5cedd8a8ba1db;hp=9879b1e316d1e358fe110d1b6fb31a1f95ef96ad;hpb=53ef87d70bcddd1678edaeeeb5f4e0b0cb55c843;p=osl.git diff --git a/osl_core.h b/osl_core.h index 9879b1e..91489c9 100644 --- a/osl_core.h +++ b/osl_core.h @@ -456,12 +456,14 @@ _static_inline_ struct osl_row *get_row_pointer(const struct rb_node *node, /** * Compute a cryptographic hash of an osl object. * + * \param t Determines the hash function to use. * \param obj the Object to compute the hash value from. * \param hash Result is returned here. */ -_static_inline_ void hash_object(const struct osl_object *obj, HASH_TYPE *hash) +_static_inline_ void hash_object(const struct osl_table *t, + const struct osl_object *obj, HASH_TYPE *hash) { - hash_function(obj->data, obj->size, hash); + hash_function(t->version, obj->data, obj->size, hash); } /**