MONGOC_APM_TO...ED_GET_CONTEXT(3)
π
mongoc_apm_topology_changed_get_context (a libmongoc moment)
okay so real talk, bestie β this one lives in the libmongoc family of man pages, and it's genuinely the easiest little function you'll meet today. no cap. it's just "hey, hand me back the thing I gave you" energy, and honestly? iconic.
β¨ SYNOPSIS β¨
void *
mongoc_apm_topology_changed_get_context (
const mongoc_apm_topology_changed_t *event);
Returns this event's context. that's it. that's the whole vibe. π
πΈ PARAMETERS πΈ
eventβ amongoc_apm_topology_changed_t. yes, the whole type name, we don't abbreviate here, this is a serious codebase π
π¦ RETURNS π¦
The pointer passed with mongoc_client_set_apm_callbacks() or mongoc_client_pool_set_apm_callbacks(). like, the literal same pointer you handed over earlier β it comes right back to you. bestie behaviour, fr fr π«Ά
lowkey the cutest part is that it's your pointer β mongoc is just holding it for you and giving it back, no funny business β¨
π SEE ALSO π
Introduction to Application Performance Monitoring
π AUTHOR π
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
and that's the whole page, bestie β go forth and get your context back π β¨
signing off from libmongoc version 2.5.6, dated Oct 09, 2026 β mwah, see u in the next man page π¦π
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms