mongoc_apm_command_started_get_context()

Synopsis

void *
mongoc_apm_command_started_get_context (
   const mongoc_apm_command_started_t *event);

Returns this event’s context.

Parameters

Returns

The pointer passed with mongoc_client_set_apm_callbacks() or mongoc_client_pool_set_apm_callbacks().