1MONGOC_SERVER_API_COPY(3) libmongoc MONGOC_SERVER_API_COPY(3)
23
4
SYNOPSIS
6mongoc_server_api_t *
7mongoc_server_api_copy (const mongoc_server_api_t *api)
8BSON_GNUC_WARN_UNUSED_RESULT;
910
Creates a deep copy of api.
11
PARAMETERS
13• api: A mongoc_server_api_t.
14
RETURNS
16Returns a newly allocated copy of api that must be freed with
17mongoc_server_api_destroy() when no longer in use.
18
AUTHOR
20MongoDB, Inc
21
COPYRIGHT
232017-present, MongoDB, Inc
2425
26
27
28
1.25.1 Nov 08, 2023 MONGOC_SERVER_API_COPY(3)