diff options
author | 2020-02-21 17:30:49 +0000 | |
---|---|---|
committer | 2020-02-21 17:30:49 +0000 | |
commit | e1135db42f05a94c6790c8650a3ac20396e0d78c (patch) | |
tree | 65b48490ced07f11597aedc2b752381b0d9e4b30 /lib/includes/hicn/name.h | |
parent | 1b9512282a5324b2bd2b28b8e5555e15676cb54c (diff) | |
parent | 35058cdfe0134c88f1aa8d23342d1d7b9d39e296 (diff) |
Merge "[HICN-2] Added P2P confidential communication on hICN"
Diffstat (limited to 'lib/includes/hicn/name.h')
-rw-r--r-- | lib/includes/hicn/name.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/includes/hicn/name.h b/lib/includes/hicn/name.h index 0a100dbce..7234a5159 100644 --- a/lib/includes/hicn/name.h +++ b/lib/includes/hicn/name.h @@ -186,9 +186,10 @@ int hicn_name_compare (const hicn_name_t * name_1, const hicn_name_t * name_2, * @brief Provides a 32-bit hash of an hICN name * @param [in] name - Name to hash * @param [out] hash - Resulting hash + * @param [in] consider_suffix - Consider the suffix in the hash computation * @return hICN error code */ -int hicn_name_hash (const hicn_name_t * name, u32 * hash); +int hicn_name_hash (const hicn_name_t * name, u32 * hash, bool consider_suffix); /** * @brief Test whether an hICN name is empty |