| 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>Appendix C. Berkeley DB Application Space Static Functions</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="index.html" title="Berkeley DB C API Reference" /> |
| 11 | <link rel="prev" href="hsearch.html" title="hsearch" /> |
| 12 | <link rel="next" href="db_env_set_func_close.html" title="db_env_set_func_close" /> |
| 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">Appendix C. |
| 22 | Berkeley DB Application Space Static Functions |
| 23 | </th> |
| 24 | </tr> |
| 25 | <tr> |
| 26 | <td width="20%" align="left"><a accesskey="p" href="hsearch.html">Prev</a> </td> |
| 27 | <th width="60%" align="center"> </th> |
| 28 | <td width="20%" align="right"> <a accesskey="n" href="db_env_set_func_close.html">Next</a></td> |
| 29 | </tr> |
| 30 | </table> |
| 31 | <hr /> |
| 32 | </div> |
| 33 | <div class="appendix" lang="en" xml:lang="en"> |
| 34 | <div class="titlepage"> |
| 35 | <div> |
| 36 | <div> |
| 37 | <h2 class="title"><a id="setfunc"></a>Appendix C. |
| 38 | Berkeley DB Application Space Static Functions |
| 39 | </h2> |
| 40 | </div> |
| 41 | </div> |
| 42 | </div> |
| 43 | <p> |
| 44 | This appendix describes functionality that existed on the DB_ENV handle |
| 45 | in releases prior to Berkeley DB 3.1. In 3.1, this functionality was moved to |
| 46 | as series of static functions, as in this appendix. |
| 47 | </p> |
| 48 | <div class="sect1" lang="en" xml:lang="en"> |
| 49 | <div class="titlepage"> |
| 50 | <div> |
| 51 | <div> |
| 52 | <h2 class="title" style="clear: both"><a id="setfunclist"></a>Static Functions</h2> |
| 53 | </div> |
| 54 | </div> |
| 55 | </div> |
| 56 | <div class="navtable"> |
| 57 | <table border="1" width="80%"> |
| 58 | <thead> |
| 59 | <tr> |
| 60 | <th>Static Function</th> |
| 61 | <th>Description</th> |
| 62 | </tr> |
| 63 | </thead> |
| 64 | <tbody> |
| 65 | <tr> |
| 66 | <td> |
| 67 | <a class="xref" href="db_env_set_func_close.html" title="db_env_set_func_close">db_env_set_func_close</a> |
| 68 | </td> |
| 69 | <td>Replace Berkeley DB calls to close() with the identified function.</td> |
| 70 | </tr> |
| 71 | <tr> |
| 72 | <td> |
| 73 | <a class="xref" href="db_env_set_func_dirfree.html" title="db_env_set_func_dirfree">db_env_set_func_dirfree</a> |
| 74 | </td> |
| 75 | <td>Specify function used to free memory obtained due to a directory walk.</td> |
| 76 | </tr> |
| 77 | <tr> |
| 78 | <td> |
| 79 | <a class="xref" href="db_env_set_func_dirlist.html" title="db_env_set_func_dirlist">db_env_set_func_dirlist</a> |
| 80 | </td> |
| 81 | <td>Specify function used to free memory obtained due to a directory list.</td> |
| 82 | </tr> |
| 83 | <tr> |
| 84 | <td> |
| 85 | <a class="xref" href="db_env_set_func_exists.html" title="db_env_set_func_exists">db_env_set_func_exists</a> |
| 86 | </td> |
| 87 | <td>Specify function used to determine whether a file exists.</td> |
| 88 | </tr> |
| 89 | <tr> |
| 90 | <td> |
| 91 | <a class="xref" href="db_env_set_func_file_map.html" title="db_env_set_func_file_map">db_env_set_func_file_map</a> |
| 92 | </td> |
| 93 | <td>Specify function used to map a file into memory.</td> |
| 94 | </tr> |
| 95 | <tr> |
| 96 | <td> |
| 97 | <a class="xref" href="db_env_set_func_free.html" title="db_env_set_func_free">db_env_set_func_free</a> |
| 98 | </td> |
| 99 | <td>Specify function used to free memory.</td> |
| 100 | </tr> |
| 101 | <tr> |
| 102 | <td> |
| 103 | <a class="xref" href="db_env_set_func_fsync.html" title="db_env_set_func_fsync">db_env_set_func_fsync</a> |
| 104 | </td> |
| 105 | <td>Specify function used to sync a file to disk.</td> |
| 106 | </tr> |
| 107 | <tr> |
| 108 | <td> |
| 109 | <a class="xref" href="db_env_set_func_ftruncate.html" title="db_env_set_func_ftruncate">db_env_set_func_ftruncate</a> |
| 110 | </td> |
| 111 | <td>Specify function used to truncate a file.</td> |
| 112 | </tr> |
| 113 | <tr> |
| 114 | <td> |
| 115 | <a class="xref" href="db_env_set_func_ioinfo.html" title="db_env_set_func_ioinfo">db_env_set_func_ioinfo</a> |
| 116 | </td> |
| 117 | <td>Specify function used to determine file characteristics.</td> |
| 118 | </tr> |
| 119 | <tr> |
| 120 | <td> |
| 121 | <a class="xref" href="db_env_set_func_malloc.html" title="db_env_set_func_malloc">db_env_set_func_malloc</a> |
| 122 | </td> |
| 123 | <td>Specify function used to allocate memory.</td> |
| 124 | </tr> |
| 125 | <tr> |
| 126 | <td> |
| 127 | <a class="xref" href="db_env_set_func_open.html" title="db_env_set_func_open">db_env_set_func_open</a> |
| 128 | </td> |
| 129 | <td>Specify function used to open a file.</td> |
| 130 | </tr> |
| 131 | <tr> |
| 132 | <td> |
| 133 | <a class="xref" href="db_env_set_func_pread.html" title="db_env_set_func_pread">db_env_set_func_pread</a> |
| 134 | </td> |
| 135 | <td>Specify function used to read data from an object.</td> |
| 136 | </tr> |
| 137 | <tr> |
| 138 | <td> |
| 139 | <a class="xref" href="db_env_set_func_pwrite.html" title="db_env_set_func_pwrite">db_env_set_func_pwrite</a> |
| 140 | </td> |
| 141 | <td>Specify function used to write data to an object.</td> |
| 142 | </tr> |
| 143 | <tr> |
| 144 | <td> |
| 145 | <a class="xref" href="db_env_set_func_read.html" title="db_env_set_func_read">db_env_set_func_read</a> |
| 146 | </td> |
| 147 | <td>Specify function used to read data from an object.</td> |
| 148 | </tr> |
| 149 | <tr> |
| 150 | <td> |
| 151 | <a class="xref" href="db_env_set_func_realloc.html" title="db_env_set_func_realloc">db_env_set_func_realloc</a> |
| 152 | </td> |
| 153 | <td>Specify function used to change the size of memory pointed to by a pointer.</td> |
| 154 | </tr> |
| 155 | <tr> |
| 156 | <td> |
| 157 | <a class="xref" href="db_env_set_func_region_map.html" title="db_env_set_func_region_map">db_env_set_func_region_map</a> |
| 158 | </td> |
| 159 | <td>Specify function used to created shared memory regions.</td> |
| 160 | </tr> |
| 161 | <tr> |
| 162 | <td> |
| 163 | <a class="xref" href="db_env_set_func_rename.html" title="db_env_set_func_rename">db_env_set_func_rename</a> |
| 164 | </td> |
| 165 | <td>Specify function used to change the name of a file.</td> |
| 166 | </tr> |
| 167 | <tr> |
| 168 | <td> |
| 169 | <a class="xref" href="db_env_set_func_seek.html" title="db_env_set_func_seek">db_env_set_func_seek</a> |
| 170 | </td> |
| 171 | <td>Specify function used to specify a location in a file.</td> |
| 172 | </tr> |
| 173 | <tr> |
| 174 | <td> |
| 175 | <a class="xref" href="db_env_set_func_unlink.html" title="db_env_set_func_unlink">db_env_set_func_unlink</a> |
| 176 | </td> |
| 177 | <td>Specify function used to delete a file.</td> |
| 178 | </tr> |
| 179 | <tr> |
| 180 | <td> |
| 181 | <a class="xref" href="db_env_set_func_write.html" title="db_env_set_func_write">db_env_set_func_write</a> |
| 182 | </td> |
| 183 | <td>Specify function used to write data to an object.</td> |
| 184 | </tr> |
| 185 | <tr> |
| 186 | <td> |
| 187 | <a class="xref" href="db_env_set_func_yield.html" title="db_env_set_func_yield">db_env_set_func_yield</a> |
| 188 | </td> |
| 189 | <td>Specify function used to yield the processor to another thread of control.</td> |
| 190 | </tr> |
| 191 | </tbody> |
| 192 | </table> |
| 193 | </div> |
| 194 | </div> |
| 195 | </div> |
| 196 | <div class="navfooter"> |
| 197 | <hr /> |
| 198 | <table width="100%" summary="Navigation footer"> |
| 199 | <tr> |
| 200 | <td width="40%" align="left"><a accesskey="p" href="hsearch.html">Prev</a> </td> |
| 201 | <td width="20%" align="center"> </td> |
| 202 | <td width="40%" align="right"> <a accesskey="n" href="db_env_set_func_close.html">Next</a></td> |
| 203 | </tr> |
| 204 | <tr> |
| 205 | <td width="40%" align="left" valign="top">hsearch </td> |
| 206 | <td width="20%" align="center"> |
| 207 | <a accesskey="h" href="index.html">Home</a> |
| 208 | </td> |
| 209 | <td width="40%" align="right" valign="top"> db_env_set_func_close</td> |
| 210 | </tr> |
| 211 | </table> |
| 212 | </div> |
| 213 | </body> |
| 214 | </html> |