<?xml version="1.0"?>
<page xmlns="http://projectmallard.org/1.0/"
      type="topic"
      style="function"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/experimental/ui/"
      id="mongoc_gridfs_file_list_next">
  <info>
    <link type="guide" xref="mongoc_gridfs_file_list_t" group="function"/>
  </info>
  <title>mongoc_gridfs_file_list_next()</title>

  <section id="synopsis">
    <title>Synopsis</title>
    <synopsis><code mime="text/x-csrc"><![CDATA[mongoc_gridfs_file_t *
mongoc_gridfs_file_list_next (mongoc_gridfs_file_list_t *list);]]></code></synopsis>
  </section>

  <section id="parameters">
    <title>Parameters</title>
    <table>
      <tr><td><p>list</p></td><td><p>A <code xref="mongoc_gridfs_file_list_t">mongoc_gridfs_file_list_t</code>.</p></td></tr>
    </table>
  </section>

  <section id="description">
    <title>Description</title>
    <p>This function shall iterate the underlying gridfs file list, returning the next file each iteration. This is a blocking function.</p>
  </section>

  <section id="return">
    <title>Returns</title>
    <p>A newly allocated <code xref="mongoc_gridfs_file_t">mongoc_gridfs_file_t</code> that should be freed with <code xref="mongoc_gridfs_file_destroy">mongoc_gridfs_file_destroy()</code> when no longer in use.</p>
  </section>

</page>
