mongoc_gridfs_file_list_next man page

mongoc_gridfs_file_list_next() — This function shall iterate the underlying gridfs file list, returning the next file each iteration. This is a blocking function.

Synopsis

mongoc_gridfs_file_t *
mongoc_gridfs_file_list_next (mongoc_gridfs_file_list_t *list);

Parameters

list
A mongoc_gridfs_file_list_t

Description

This function shall iterate the underlying gridfs file list, returning the next file each iteration. This is a blocking function.

Returns

A newly allocated mongoc_gridfs_file_t that should be freed with mongoc_gridfs_file_destroy(3) when no longer in use.

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