mongoc_kms_connect_callback_params_t

Added in version 2.6.0.

Synopsis

typedef struct _mongoc_kms_connect_callback_params_t mongoc_kms_connect_callback_params_t;

mongoc_kms_connect_callback_params_t describes the KMS endpoint that a mongoc_kms_connect_callback_fn_t is being asked to connect to. It is the only parameter passed to the callback function.

New accessors may be added in the future to pass additional information to the callback function.

Functions

Lifecycle

The driver creates and destroys mongoc_kms_connect_callback_params_t. A mongoc_kms_connect_callback_params_t is only valid for the duration of the call to the mongoc_kms_connect_callback_fn_t it is passed to. Do not retain it, or anything it returns, beyond the callback function’s return.