MONGOC_APM_SE...ED_GET_CONTEXT(3)
π¦ MONGOC_APM_SE...ED_GET_CONTEXT π¦
okay bestie, welcome to the libmongoc manual β yes, that libmongoc, the MongoDB C driver one π
. This page is about a li'l getter function that hands you back your own context pointer, no cap.
β¨ SYNOPSIS β¨
void *
mongoc_apm_server_changed_get_context (
const mongoc_apm_server_changed_t *event);
Returns this event's context. that's literally it, that's the whole vibe π
π PARAMETERS π
eventβ Amongoc_apm_server_changed_t. yes, that exact type, it's giving very specific and we love that for it π«Ά
πΈ RETURNS πΈ
The pointer you passed in with mongoc_client_set_apm_callbacks() or mongoc_client_pool_set_apm_callbacks(). so like, you gave it a context, and now it's giving it right back to you β iconic round-trip behavior, no notes π«
π SEE ALSO π
- Introduction to Application Performance Monitoring β go read it, it's the main character of this whole storyline π
π AUTHOR π
MongoDB, Inc β the collective, the moment, the team π§
β COPYRIGHT β
2009-present, MongoDB, Inc.
<div>okay that's the whole page, go forth and get your context bestie ππβ¨</div>
mwah π β this was libmongoc version 2.5.6, dated Oct 09, 2026. periodt.
π¦ 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