mongoc_stream_gridfs_new man page

mongoc_stream_gridfs_new() — This function shall create a new mongoc_gridfs_file_t. This function does not transfer ownership of file. Therefore, file must remain valid for the lifetime of this stream.

Synopsis

mongoc_stream_t *
mongoc_stream_gridfs_new (mongoc_gridfs_file_t *file);

Parameters

file
A mongoc_gridfs_file_t

This function shall create a new mongoc_gridfs_file_t file file must remain valid for the lifetime of this stream.

Returns

A newly allocated mongoc_stream_gridfs_t if successful, otherwise NULL

Colophon

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

Info

2016‐10‐19 MongoDB C Driver