MONGOC_SERVER_API_COPY(3) | libmongoc | MONGOC_SERVER_API_COPY(3) |
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.
Returns a newly allocated copy of api that must be freed with mongoc_server_api_destroy() when no longer in use.
MongoDB, Inc
2017-present, MongoDB, Inc
March 31, 2024 | 1.26.0 |