mongoc_server_api_copy - Man Page
mongoc_server_api_copy()
Synopsis
mongoc_server_api_t * mongoc_server_api_copy (const mongoc_server_api_t *api) BSON_GNUC_WARN_UNUSED_RESULT;
Creates a deep copy of api.
Parameters
- api: A mongoc_server_api_t.
Returns
Returns a newly allocated copy of api that must be freed with mongoc_server_api_destroy() when no longer in use.
Author
MongoDB, Inc
Copyright
2017-present, MongoDB, Inc
Info
Sep 06, 2023 1.24.4 libmongoc