bson_reader_destroy_func_t (3) - Linux Manuals

bson_reader_destroy_func_t: 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().

NAME

bson_reader_destroy_func_t - 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().

SYNOPSIS

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

PARAMETERS

handle
The opaque handle provided to bson_reader_new_from_handle \&.

DESCRIPTION

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(3) \&.

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

COLOPHON

This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.