mongoc_stream_destroy man page

mongoc_stream_destroy() — This function shall release all resources associated with a mongoc_stream_t, including freeing the structure. It is invalid to use stream after calling this function.

Synopsis

void
mongoc_stream_destroy (mongoc_stream_t *stream);

Parameters

stream
A mongoc_stream_t

This function shall release all resources associated with a mongoc_stream_t , including freeing the structure. It is invalid to use stream after calling this function.

Colophon

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

Referenced By

mongoc_stream_buffered_new(3), mongoc_stream_buffered_t(3), mongoc_stream_close(3), mongoc_stream_file_new(3), mongoc_stream_file_new_for_path(3), mongoc_stream_socket_new(3).

2016‐10‐19 MongoDB C Driver