bson_oid_equal man page

bson_oid_equal() — Checks if two bson_oid_t contain the same bytes.

Synopsis

bool
bson_oid_equal (const bson_oid_t *oid1,
                const bson_oid_t *oid2);

Parameters

oid1
A bson_oid_t
oid2
A bson_oid_t

Description

Checks if two bson_oid_t contain the same bytes.

Returns

true if they are equal, otherwise false.

Colophon

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

Referenced By

bson_oid(3), bson_oid_t(3).

2016‐10‐28 libbson