mongoc_read_prefs_copy3
Usage
mongoc_read_prefs_t * mongoc_read_prefs_copy (const mongoc_read_prefs_t *read_prefs);
Parameters
- •
-
read_prefs: A mongoc_read_prefs_t.
Overview
This function shall deep copy a read preference.
Returns
Returns a newly allocated read preference that should be freed with mongoc_read_prefs_destroy().
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.