<?xml version="1.0"?>

<page id="mongoc_gridfs_file_t"
      type="guide"
      style="class"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/experimental/ui/">
  <info>
    <link type="guide" xref="index#api-reference" />
  </info>
  <title>mongoc_gridfs_file_t</title>
  <section id="description">
    <title>Synopsis</title>
    <synopsis><code mime="text/x-csrc"><![CDATA[typedef struct _mongoc_gridfs_file_t mongoc_gridfs_file_t;]]></code></synopsis>
  </section>
  <section id="description">
    <title>Description</title>
    <p>This structure provides a MongoDB GridFS file abstraction. It provides several APIs.</p>
    <list>
      <item><p>readv, writev, seek, and tell.</p></item>
      <item><p>General file metadata such as filename and length.</p></item>
      <item><p>GridFS metadata such as md5, filename, content_type, aliases, metadata, chunk_size, and upload_date.</p></item>
    </list>
  </section>
  <section id="thread-safety">
    <title>Thread Safety</title>
    <p>This sturcture is NOT thread-safe and should only be used from one thread at a time.</p>
  </section>
  <links type="topic" groups="function" style="2column">
    <title>Functions</title>
  </links>
  <section id="related">
    <title>Related</title>
    <list>
      <item><p><link xref="mongoc_client_t">mongoc_client_t</link></p></item>
      <item><p><link xref="mongoc_gridfs_t">mongoc_gridfs_t</link></p></item>
      <item><p><link xref="mongoc_gridfs_file_list_t">mongoc_gridfs_file_list_t</link></p></item>
      <item><p><link xref="mongoc_gridfs_file_opt_t">mongoc_gridfs_file_opt_t</link></p></item>
    </list>
  </section>
</page>
