bson_oid_hash()

Synopsis

uint32_t
bson_oid_hash (const bson_oid_t *oid);

Parameters

Description

Generates a hash code for oid suitable for a hashtable.

Returns

A 32-bit hash code.