1MONGOC_SERVER_API_COPY(3)          libmongoc         MONGOC_SERVER_API_COPY(3)
2
3
4

NAME

6       mongoc_server_api_copy - mongoc_server_api_copy()
7

SYNOPSIS

9          mongoc_server_api_t *
10          mongoc_server_api_copy (const mongoc_server_api_t *api)
11             BSON_GNUC_WARN_UNUSED_RESULT;
12
13       Creates a deep copy of api.
14

PARAMETERS

16api: A mongoc_server_api_t.
17

RETURNS

19       Returns  a  newly  allocated  copy  of api that must be freed with mon‐
20       goc_server_api_destroy() when no longer in use.
21

AUTHOR

23       MongoDB, Inc
24
26       2017-present, MongoDB, Inc
27
28
29
30
311.20.0                           Nov 18, 2021        MONGOC_SERVER_API_COPY(3)
Impressum