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