| 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 | <head> |
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 6 | <title>add_data_dir</title> |
| 7 | <link rel="stylesheet" href="apiReference.css" type="text/css" /> |
| 8 | <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> |
| 9 | <link rel="start" href="index.html" title="Berkeley DB C API Reference" /> |
| 10 | <link rel="up" href="configuration_reference.html" title="Appendix D. DB_CONFIG Parameter Reference" /> |
| 11 | <link rel="prev" href="configuration_reference.html" title="Appendix D. DB_CONFIG Parameter Reference" /> |
| 12 | <link rel="next" href="mutex_set_align_parameter.html" title="mutex_set_align" /> |
| 13 | </head> |
| 14 | <body> |
| 15 | <div xmlns="" class="navheader"> |
| 16 | <div class="libver"> |
| 17 | <p>Library Version 11.2.5.3</p> |
| 18 | </div> |
| 19 | <table width="100%" summary="Navigation header"> |
| 20 | <tr> |
| 21 | <th colspan="3" align="center">add_data_dir</th> |
| 22 | </tr> |
| 23 | <tr> |
| 24 | <td width="20%" align="left"><a accesskey="p" href="configuration_reference.html">Prev</a> </td> |
| 25 | <th width="60%" align="center">Appendix D. DB_CONFIG Parameter Reference</th> |
| 26 | <td width="20%" align="right"> <a accesskey="n" href="mutex_set_align_parameter.html">Next</a></td> |
| 27 | </tr> |
| 28 | </table> |
| 29 | <hr /> |
| 30 | </div> |
| 31 | <div class="sect1" lang="en" xml:lang="en"> |
| 32 | <div class="titlepage"> |
| 33 | <div> |
| 34 | <div> |
| 35 | <h2 class="title" style="clear: both"><a id="add_data_dir_parameter"></a>add_data_dir</h2> |
| 36 | </div> |
| 37 | </div> |
| 38 | </div> |
| 39 | <p> |
| 40 | Add the path of a directory to be used as the location of the |
| 41 | access method database files. Paths specified to the <a class="xref" href="dbopen.html" title="DB->open()">DB->open()</a> |
| 42 | function will be searched relative to this path. Paths set using |
| 43 | this method are additive, and specifying more than one will result |
| 44 | in each specified directory being searched for database files. |
| 45 | </p> |
| 46 | <p> |
| 47 | The syntax of this parameter in the <a href="../../programmer_reference/env_db_config.html#env_db_config.DB_CONFIG" class="olink">DB_CONFIG</a> file is a single |
| 48 | line with the string <code class="literal">add_data_dir</code>, one or more |
| 49 | whitespace characters, and the directory name. |
| 50 | </p> |
| 51 | <p> |
| 52 | For more information, see |
| 53 | <a class="xref" href="envadd_data_dir.html" title="DB_ENV->add_data_dir()">DB_ENV->add_data_dir()</a>. |
| 54 | </p> |
| 55 | </div> |
| 56 | <div class="navfooter"> |
| 57 | <hr /> |
| 58 | <table width="100%" summary="Navigation footer"> |
| 59 | <tr> |
| 60 | <td width="40%" align="left"><a accesskey="p" href="configuration_reference.html">Prev</a> </td> |
| 61 | <td width="20%" align="center"> |
| 62 | <a accesskey="u" href="configuration_reference.html">Up</a> |
| 63 | </td> |
| 64 | <td width="40%" align="right"> <a accesskey="n" href="mutex_set_align_parameter.html">Next</a></td> |
| 65 | </tr> |
| 66 | <tr> |
| 67 | <td width="40%" align="left" valign="top">Appendix D. DB_CONFIG Parameter Reference </td> |
| 68 | <td width="20%" align="center"> |
| 69 | <a accesskey="h" href="index.html">Home</a> |
| 70 | </td> |
| 71 | <td width="40%" align="right" valign="top"> mutex_set_align</td> |
| 72 | </tr> |
| 73 | </table> |
| 74 | </div> |
| 75 | </body> |
| 76 | </html> |