1MONGOC_SERVER_DESCRIPTION_NEW_COPY(3l)ibmongMoOcNGOC_SERVER_DESCRIPTION_NEW_COPY(3)
2
3
4

NAME

6       mongoc_server_description_new_copy       -       mongoc_server_descrip‐
7       tion_new_copy()
8

SYNOPSIS

10          mongoc_server_description_t *
11          mongoc_server_description_new_copy (
12             const mongoc_server_description_t *description) BSON_GNUC_WARN_UNUSED_RESULT;
13

PARAMETERS

15description: A mongoc_server_description_t.
16

DESCRIPTION

18       Performs a deep copy of description.
19

RETURNS

21       Returns a newly allocated copy of description that should be freed with
22       mongoc_server_description_destroy() when no longer in use. Returns NULL
23       if description is NULL.
24

AUTHOR

26       MongoDB, Inc
27
29       2017-present, MongoDB, Inc
30
31
32
33
341.20.0                           Nov 18, 2M0O2N1GOC_SERVER_DESCRIPTION_NEW_COPY(3)
Impressum