1MONGOC_READ_PREFS_COPY(3)          libmongoc         MONGOC_READ_PREFS_COPY(3)
2
3
4

NAME

6       mongoc_read_prefs_copy - mongoc_read_prefs_copy()
7

SYNOPSIS

9          mongoc_read_prefs_t *
10          mongoc_read_prefs_copy (const mongoc_read_prefs_t *read_prefs)
11             BSON_GNUC_WARN_UNUSED_RESULT;
12

PARAMETERS

14read_prefs: A mongoc_read_prefs_t.
15

DESCRIPTION

17       This function shall deep copy a read preference.
18

RETURNS

20       Returns  a  newly  allocated  read preference that should be freed with
21       mongoc_read_prefs_destroy().
22

AUTHOR

24       MongoDB, Inc
25
27       2017-present, MongoDB, Inc
28
29
30
31
321.23.1                           Oct 20, 2022        MONGOC_READ_PREFS_COPY(3)
Impressum