          <div>
            <h2 class="title" style="clear: both"><a id="envadd_data_dir"></a>DB_ENV-&gt;add_data_dir()</h2>
          </div>
        </div>
      </div>
      <pre class="programlisting">#include &lt;db.h&gt;

int
DB_ENV-&gt;add_data_dir(DB_ENV *dbenv, const char *dir);  </pre>
      <p>
         Add the path of a directory to be used as the location of the access
         method database files.  Paths specified to the 
         <a class="xref" href="dbopen.html" title="DB-&gt;open()">DB-&g