bson_oid_hash man page

bson_oid_hash() — Generates a hash code for oid suitable for a hashtable.

Synopsis

uint32_t
bson_oid_hash (const bson_oid_t *oid);

Parameters

oid
A bson_oid_t

Description

Generates a hash code for oid suitable for a hashtable.

Returns

A 32‐bit hash code.

Colophon

This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Referenced By

bson_oid_t(3).

2016‐10‐28 libbson