MONGOC_SERVER_...NS_DESTROY_ALL(3)

πŸ’… MONGOC_SERVER_...NS_DESTROY_ALL(3) πŸ’…

okay bestie, welcome to the MONGOC_SERVER_...NS_DESTROY_ALL(3) page from the libmongoc manual ✨ yes, the title really is doing the absolute most with those ellipses, and honestly? we respect it.

✨ SYNOPSIS ✨

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

so what does it do? it frees the array of mongoc_server_description_t structs returned by mongoc_client_get_server_descriptions() πŸ’– that's the whole vibe: you got the array, now you're releasing it. periodt.

πŸ› οΈ PARAMETERS πŸ› οΈ

  • sds β€” the array of server descriptions 🫢
  • n β€” the number of elements in sds πŸ”’

πŸ’… AUTHOR πŸ’…

MongoDB, Inc πŸ‘‘

2009-present, MongoDB, Inc. πŸŽ€


that's it, bestie β€” short and iconic, no cap. this one's from libmongoc, version 2.5.6, and the footer date comes through as Oct 09, 202 with the page title MONGOC_SERVER_...NS_DESTROY_ALL(3) glued right onto it like 202MONGOC... (terminal formatting really said "we're not doing spaces today" 😭). bye bestie πŸ¦‹

πŸ“¦ where this page comes from