mongoc_read_prefs_t *
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 MONGOC_READ_PREFS_COPY(3)
Description
This function shall deep copy a read preference.
Parameters
• read_prefs: A mongoc_read_prefs_t.
Returns
Returns a newly allocated read preference that should be freed with mongoc_read_prefs_destroy().
Synopsis
mongoc_read_prefs_t *
mongoc_read_prefs_copy (const mongoc_read_prefs_t *read_prefs);
