BSON_OID_INIT(3) libbson BSON_OID_INIT(3)

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


  • oid: A bson_oid_t.
  • context: An optional bson_context_t or NULL.

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

MongoDB, Inc

2017-present, MongoDB, Inc

March 31, 2024 1.26.0