mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
util: hash: Make virHashCodeGen mockable
Export the function from the util module so that dynamic linking can override it.
This commit is contained in:
parent
8982f3ab20
commit
0b1ecf7b53
@ -1774,6 +1774,10 @@ virHashUpdateEntry;
|
|||||||
virHashValueFree;
|
virHashValueFree;
|
||||||
|
|
||||||
|
|
||||||
|
# util/virhashcode.h
|
||||||
|
virHashCodeGen;
|
||||||
|
|
||||||
|
|
||||||
# util/virhook.h
|
# util/virhook.h
|
||||||
virHookCall;
|
virHookCall;
|
||||||
virHookInitialize;
|
virHookInitialize;
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
|
|
||||||
# include "internal.h"
|
# include "internal.h"
|
||||||
|
|
||||||
uint32_t virHashCodeGen(const void *key, size_t len, uint32_t seed);
|
uint32_t virHashCodeGen(const void *key, size_t len, uint32_t seed)
|
||||||
|
ATTRIBUTE_NOINLINE;
|
||||||
|
|
||||||
#endif /* __VIR_HASH_CODE_H__ */
|
#endif /* __VIR_HASH_CODE_H__ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user