.\" Man page generated from reStructuredText. . .TH "MONGOC_TOPOLOGY_DESCRIPTION_GET_SERVERS" "3" "Feb 23, 2019" "1.14.0" "MongoDB C Driver" .SH NAME mongoc_topology_description_get_servers \- mongoc_topology_description_get_servers() . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C mongoc_server_description_t ** mongoc_topology_description_get_servers ( const mongoc_topology_description_t *td, size_t *n); .ft P .fi .UNINDENT .UNINDENT .sp Fetches an array of \fBmongoc_server_description_t\fP structs for all known servers in the topology. .SH PARAMETERS .INDENT 0.0 .IP \(bu 2 \fBtd\fP: A \fBmongoc_topology_description_t\fP\&. .IP \(bu 2 \fBn\fP: Receives the length of the descriptions array. .UNINDENT .SH RETURNS .sp A newly allocated array that must be freed with \fBmongoc_server_descriptions_destroy_all\fP\&. .SH AUTHOR MongoDB, Inc .SH COPYRIGHT 2017-present, MongoDB, Inc .\" Generated by docutils manpage writer. .