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>Release 3.3: DB->get_byteswapped</title> 7 <link rel="stylesheet" href="gettingStarted.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 Programmer's Reference Guide" /> 10 <link rel="up" href="upgrade_3_3_toc.html" title="Chapter��36.��Upgrading Berkeley DB 3.2 applications to Berkeley DB 3.3" /> 11 <link rel="prev" href="upgrade_3_3_gettype.html" title="Release 3.3: DB->get_type" /> 12 <link rel="next" href="upgrade_3_3_alloc.html" title="Release 3.3: DB->set_malloc, DB->set_realloc" /> 13 </head> 14 <body> 15 <div class="navheader"> 16 <table width="100%" summary="Navigation header"> 17 <tr> 18 <th colspan="3" align="center">Release 3.3: DB->get_byteswapped</th> 19 </tr> 20 <tr> 21 <td width="20%" align="left"><a accesskey="p" href="upgrade_3_3_gettype.html">Prev</a>��</td> 22 <th width="60%" align="center">Chapter��36.��Upgrading Berkeley DB 3.2 applications to Berkeley DB 3.3</th> 23 <td width="20%" align="right">��<a accesskey="n" href="upgrade_3_3_alloc.html">Next</a></td> 24 </tr> 25 </table> 26 <hr /> 27 </div> 28 <div class="sect1" lang="en" xml:lang="en"> 29 <div class="titlepage"> 30 <div> 31 <div> 32 <h2 class="title" style="clear: both"><a id="upgrade_3_3_getswap"></a>Release 3.3: DB->get_byteswapped</h2> 33 </div> 34 </div> 35 </div> 36 <p>The <a href="../api_reference/C/dbget_byteswapped.html" class="olink">DB->get_byteswapped()</a> method method can return an error in the Berkeley DB 373.3 release, and so requires an interface change. C and C++ 38applications calling <a href="../api_reference/C/dbget_byteswapped.html" class="olink">DB->get_byteswapped()</a> should be changed to 39treat the method's return as an error code, and to pass an additional 40second argument of type <span class="bold"><strong>int *</strong></span> to the method. The additional 41argument is used as a memory location in which to store the requested 42information.</p> 43 </div> 44 <div class="navfooter"> 45 <hr /> 46 <table width="100%" summary="Navigation footer"> 47 <tr> 48 <td width="40%" align="left"><a accesskey="p" href="upgrade_3_3_gettype.html">Prev</a>��</td> 49 <td width="20%" align="center"> 50 <a accesskey="u" href="upgrade_3_3_toc.html">Up</a> 51 </td> 52 <td width="40%" align="right">��<a accesskey="n" href="upgrade_3_3_alloc.html">Next</a></td> 53 </tr> 54 <tr> 55 <td width="40%" align="left" valign="top">Release 3.3: DB->get_type��</td> 56 <td width="20%" align="center"> 57 <a accesskey="h" href="index.html">Home</a> 58 </td> 59 <td width="40%" align="right" valign="top">��Release 3.3: DB->set_malloc, DB->set_realloc</td> 60 </tr> 61 </table> 62 </div> 63 </body> 64</html> 65