<?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="bson_check_version">
  <info>
    <link type="guide" xref="version" group="function"/>
  </info>
  <title>bson_check_version()</title>

  <section id="synopsis">
    <title>Synopsis</title>
    <synopsis><code mime="text/x-csrc"><![CDATA[bool
bson_check_version (int required_major,
                    int required_minor,
                    int required_micro);
]]></code></synopsis>
  </section>

  <section id="parameters">
    <title>Parameters</title>
    <table>
      <tr><td><p>required_major</p></td><td><p>The minimum major version required.</p></td></tr>
      <tr><td><p>required_minor</p></td><td><p>The minimum minor version required.</p></td></tr>
      <tr><td><p>required_micro</p></td><td><p>The minimum micro version required.</p></td></tr>
    </table>
  </section>

  <section id="description">
    <title>Description</title>
    <p>Check at runtime if this release of libbson meets a required version.</p>
  </section>

  <section id="return">
    <title>Returns</title>
    <p>True if libbson's version is greater than or equal to the required version.</p>
  </section>
</page>
