SYNOPSIS

#include <bson.h>

void
bson_reinit (bson_t *bson);

DESCRIPTION

The bson_reinit() function shall be equivalent to calling bson_destroy() and bson_init(). However, if the bson_t structure contains a malloc()'d buffer, it may be reused.

ERRORS

No errors are defined.

SEE ALSO

AUTHORS

This page was written by MongoDB, Inc.