mongoc_apm_callbacks_new()#
Synopsis#
mongoc_apm_callbacks_t *
mongoc_apm_callbacks_new (void) BSON_GNUC_WARN_UNUSED_RESULT;
Create a struct to hold event-notification callbacks.
Returns#
A new mongoc_apm_callbacks_t
you must free with mongoc_apm_callbacks_destroy().