mongoc_apm_server_changed_get_topology_id()

Synopsis

void
mongoc_apm_server_changed_get_topology_id (const mongoc_apm_server_changed_t *event,
                                           bson_oid_t                        *topology_id);

Returns this event's topology id.

Parameters

event

A mongoc_apm_server_changed_t.

topology_id

A bson_oid_t to receive the event's topology_id.

Returns

The event's topology id.