MONGOC_SESSION_OPTS_CLONE(3) | libmongoc | MONGOC_SESSION_OPTS_CLONE(3) |
NAME¶
mongoc_session_opts_clone - mongoc_session_opts_clone()
SYNOPSIS¶
mongoc_session_opt_t * mongoc_session_opts_clone (const mongoc_session_opt_t *opts)
BSON_GNUC_WARN_UNUSED_RESULT;
Create a copy of a session options struct.
PARAMETERS¶
- •
- opts: A mongoc_session_opt_t.
RETURNS¶
A new mongoc_session_opt_t that must be freed with mongoc_session_opts_destroy().
AUTHOR¶
MongoDB, Inc
COPYRIGHT¶
2017-present, MongoDB, Inc
October 20, 2022 | 1.23.1 |