Scroll to navigation

BSON_READER_SET_DESTROY_FUNC(3) Library Functions Manual BSON_READER_SET_DESTROY_FUNC(3)

NAME

bson_reader_set_destroy_func() - Allows for setting a callback to be executed when a reader is destroyed. This should only be used by implementations implementing their own read callbacks.

SYNOPSIS


void bson_reader_set_destroy_func (bson_reader_t *reader, bson_reader_destroy_func_t func);

PARAMETERS

reader
A bson_reader_t
func
A bson_reader_destroy_func_t

DESCRIPTION

Allows for setting a callback to be executed when a reader is destroyed. This should only be used by implementations implementing their own read callbacks.

COLOPHON

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