<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>BrlAPI: BrlAPI handles</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> </div> <div class="contents"> <h1>BrlAPI handles</h1><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef struct <a class="el" href="group__brlapi__handles.html#g57f2aec62b18f8aefea2ab550744b0c1">brlapi_handle_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__brlapi__handles.html#g57f2aec62b18f8aefea2ab550744b0c1">brlapi_handle_t</a></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t BRLAPI_STDCALL </td><td class="memItemRight" valign="bottom"><a class="el" href="group__brlapi__handles.html#gd1f858ac793a0eb4d243f6076e9266b1">brlapi_getHandleSize</a> (void)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Each function provided by BrlAPI comes in two versions.<p> 1. A version whose name is prefixed by brlapi_ for clients opening only one simultaneous connection with BrlAPI (most frequen case)<p> 2. A version whose name is prefixed by brlapi__ for use by clients wishing to open more than one connection to BrlAPI.<p> A function called brlapi__foo is used in exactly the same way as its brlapi_foo counterpart, except that it takes an additional argument (the first one), which is a handle letting the client refer to a given connection in a similar manner to what file descriptors do.<p> In case you want to check that your code is not erroneously using brlapi_foo functions, define BRLAPI_NO_SINGLE_SESSION before including <<a class="el" href="brlapi_8h.html" title="Types, defines and functions prototypes for BrlAPI's library.">brlapi.h</a>>: that will disable the declaration of all single session functions. <hr><h2>Typedef Documentation</h2> <a class="anchor" name="g57f2aec62b18f8aefea2ab550744b0c1"></a><!-- doxytag: member="brlapi.h::brlapi_handle_t" ref="g57f2aec62b18f8aefea2ab550744b0c1" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef struct <a class="el" href="group__brlapi__handles.html#g57f2aec62b18f8aefea2ab550744b0c1">brlapi_handle_t</a> <a class="el" href="group__brlapi__handles.html#g57f2aec62b18f8aefea2ab550744b0c1">brlapi_handle_t</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Type for BrlAPI hanles </div> </div><p> <hr><h2>Function Documentation</h2> <a class="anchor" name="gd1f858ac793a0eb4d243f6076e9266b1"></a><!-- doxytag: member="brlapi.h::brlapi_getHandleSize" ref="gd1f858ac793a0eb4d243f6076e9266b1" args="(void)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">size_t BRLAPI_STDCALL brlapi_getHandleSize </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the size of an object of type brlapi_handle_t in bytes </div> </div><p> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Oct 7 22:37:56 2009 for BrlAPI by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>