mongoc_server_descriptions_destroy_all man page

mongoc_server_descriptions_destroy_all — mongoc_server_descriptions_destroy_all()

Synopsis

void
mongoc_server_descriptions_destroy_all (mongoc_server_description_t **sds,
                                        size_t n);

Frees the array of mongoc_server_description_t structs returned by mongoc_client_get_server_descriptions.

Parameters

  • sds: The array of server descriptions.
  • n: The number of elements in sds.

Author

MongoDB, Inc

Info

Mar 28, 2017 1.6.2 MongoDB C Driver