Scroll to navigation

BSON_OID_EQUAL(3) Library Functions Manual BSON_OID_EQUAL(3)

NAME

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.
2016‐10‐12 libbson