bson_oid_init (3) - Linux Manuals

bson_oid_init: Generates a new bson_oid_t using either context or the default bson_context_t.

NAME

bson_oid_init() - Generates a new bson_oid_t using either context or the default bson_context_t.

SYNOPSIS

void
bson_oid_init (bson_oid_t     *oid,
               bson_context_t *context);

PARAMETERS

oid
A bson_oid_t \&.

context
An optional

bson_context_t or NULL.

DESCRIPTION

Generates a new bson_oid_t using either context or the default bson_context_t \&.

COLOPHON

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