DOKK / manpages / debian 12 / libbson-doc / bson_reader_destroy_func_t.3.en
BSON_READER_DESTROY_FUNC_T(3) libbson BSON_READER_DESTROY_FUNC_T(3)

bson_reader_destroy_func_t - bson_reader_destroy_func_t

typedef void (*bson_reader_destroy_func_t) (void *handle);


handle: The opaque handle provided to bson_reader_new_from_handle().

An optional callback function that will be called when a bson_reader_t created with bson_reader_new_from_handle() is destroyed with bson_reader_destroy().

The handle used when creating the reader is passed to this callback.

MongoDB, Inc

2017-present, MongoDB, Inc

October 20, 2022 1.23.1