1MONGOC_CURSOR_GET_HOST(3) libmongoc MONGOC_CURSOR_GET_HOST(3)
23
4
NAME
6mongoc_cursor_get_host - mongoc_cursor_get_host()
7
SYNOPSIS
9void
10mongoc_cursor_get_host (mongoc_cursor_t *cursor, mongoc_host_list_t *host);
11
PARAMETERS
13• cursor: A mongoc_cursor_t.
1415
• host: A mongoc_host_list_t.
16
DESCRIPTION
18Fetches the MongoDB host that the cursor is communicating with in the
19host out parameter.
20
AUTHOR
22MongoDB, Inc
23
COPYRIGHT
252017-present, MongoDB, Inc
2627
28
29
30
1.20.0 Nov 18, 2021 MONGOC_CURSOR_GET_HOST(3)