MONGOC_STRUCTU...G_OPTS_DESTROY(3)

πŸ’… mongoc_structured_log_opts_destroy β€” from the libmongoc manual, bestie ✨

Okay so welcome to the libmongoc manual page for mongoc_structured_log_opts_destroy β€” the header up top literally reads MONGOC_STRUCTU...G_OPTS_DESTROY(3) (truncated title moment, we love a mysterious queen 😭). This is the cleanup function for mongoc_structured_log_opts_t, and she is lowkey simple. 🫢

✨ SYNOPSIS ✨

void
mongoc_structured_log_opts_destroy (mongoc_structured_log_opts_t *opts);

πŸŽ€ PARAMETERS πŸŽ€

  • opts β€” a pointer to a mongoc_structured_log_opts_t allocated with mongoc_structured_log_opts_new(), or NULL. That’s the whole parameter list, bestie πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

This function releases all resources associated with a mongoc_structured_log_opts_t. Like, every resource tied to that opts struct? Released. Gone. Cleanup slay. ✨

And if opts is NULL? It does nothing. Literally nothing. Polite little no-op πŸ’…

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc

2009-present, MongoDB, Inc.


And that’s the page, bestie πŸŽ€ cute little sign-off: version 2.5.6, dated Oct 09, 202 (the footer also has MONGOC_STRUCTU...G_OPTS_DESTROY(3) running into it, formatting said πŸ’€). Go forth and destroy those opts responsibly πŸ’œ

πŸ“¦ where this page comes from