SYNOPSIS
const mongoc_write_concern_t * mongoc_client_get_write_concern ( const mongoc_client_t *client); void mongoc_client_set_write_concern ( mongoc_client_t *client, const mongoc_write_concern_t *write_concern); const mongoc_read_prefs_t * mongoc_client_get_read_prefs ( const mongoc_client_t *client); void mongoc_client_set_read_prefs ( mongoc_client_t *client, const mongoc_read_prefs_t *read_prefs);
DESCRIPTION
The mongoc_client_get_write_concern() function shall return a pointer to a mongoc_write_concern(7).
The mongoc_client_get_read_prefs() function shall return a pointer to a mongoc_read_prefs(7).
The mongoc_client_set_write_concern() function shall copy the provided write_concern into the given client.
The mongoc_client_set_read_prefs() function shall copy the provided read_prefs into the given client.
RETURN VALUE
The mongoc_client_get*()_ functions return a pointer to their namesake.
The mongoc_client_set*()_ functions return no value.
ERRORS
No errors are defined.
AUTHORS
This page was written by MongoDB Inc.