mongoc_session_opts_clone - Man Page

Synopsis

mongoc_session_opt_t *
mongoc_session_opts_clone (const mongoc_session_opt_t *opts);

Create a copy of a session options struct.

Parameters

Returns

A new mongoc_session_opt_t <> that must be freed with mongoc_session_opts_destroy() <>​.

Author

MongoDB, Inc

Info

Oct 09, 2026 2.5.6 libmongoc