diff options
Diffstat (limited to 'src/mesh/mesh2.h')
-rw-r--r-- | src/mesh/mesh2.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mesh/mesh2.h b/src/mesh/mesh2.h index eaf386fd8..4b55c3c4e 100644 --- a/src/mesh/mesh2.h +++ b/src/mesh/mesh2.h | |||
@@ -319,6 +319,18 @@ GMC_min_pid (uint32_t a, uint32_t b); | |||
319 | 319 | ||
320 | 320 | ||
321 | /** | 321 | /** |
322 | * Expand a 32 bit value (message type) into a hash for a MultiHashMap (fast). | ||
323 | * WARNING: do not use for anything other than MultiHashMap! | ||
324 | * does not alter anything other than bits used by idx_of ! | ||
325 | * | ||
326 | * @param i 32 bit integer value. | ||
327 | * @param h Hash code to fill. | ||
328 | */ | ||
329 | void | ||
330 | GMC_hash32 (uint32_t i, struct GNUNET_HashCode *h); | ||
331 | |||
332 | |||
333 | /** | ||
322 | * Convert a message type into a string to help debug | 334 | * Convert a message type into a string to help debug |
323 | * Generated with: | 335 | * Generated with: |
324 | * FIND: "#define ([^ ]+)[ ]*([0-9]+)" | 336 | * FIND: "#define ([^ ]+)[ ]*([0-9]+)" |