bson_oid_hash (3) - Linux Manuals

bson_oid_hash: Generates a hash code for oid suitable for a hashtable.

NAME

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.