mongoc_cursor_get_host man page

mongoc_cursor_get_host() — Fetches the MongoDB host that the cursor is communicating with in the host out parameter.

Synopsis

void
mongoc_cursor_get_host (mongoc_cursor_t    *cursor,
                        mongoc_host_list_t *host);

Parameters

cursor
A mongoc_cursor_t
host
A mongoc_host_list_t

Description

Fetches the MongoDB host that the cursor is communicating with in the host out parameter.

Colophon

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Referenced By

mongoc_cursor_t(3).

2016‐10‐19 MongoDB C Driver