Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > bdcd72668be70f58bf0aa7c2102b0734 > files > 123

lib64apr-util-devel-1.2.12-4mdv2008.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Apache Portable Runtime Utility Library: UUID Handling</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.4 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul>
</div>
<h1>UUID Handling</h1><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__uuid__t.html">apr_uuid_t</a></td></tr>

<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_p_r___u_u_i_d.html#g295b64f854c9dff02bb0c44e4be917a3">APR_UUID_FORMATTED_LENGTH</a>&nbsp;&nbsp;&nbsp;36</td></tr>

<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_p_r___u_u_i_d.html#g129830a7a3c6b77047d2e74e261a7364">apr_uuid_get</a> (<a class="el" href="structapr__uuid__t.html">apr_uuid_t</a> *uuid)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_p_r___u_u_i_d.html#g539a9fee8522a416634194b648ca9790">apr_uuid_format</a> (char *buffer, const <a class="el" href="structapr__uuid__t.html">apr_uuid_t</a> *uuid)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">apr_status_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_p_r___u_u_i_d.html#g66d90e0c926ef51a8d607d164e2d7ae7">apr_uuid_parse</a> (<a class="el" href="structapr__uuid__t.html">apr_uuid_t</a> *uuid, const char *uuid_str)</td></tr>

</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="g295b64f854c9dff02bb0c44e4be917a3"></a><!-- doxytag: member="apr_uuid.h::APR_UUID_FORMATTED_LENGTH" ref="g295b64f854c9dff02bb0c44e4be917a3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define APR_UUID_FORMATTED_LENGTH&nbsp;&nbsp;&nbsp;36          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
UUIDs are formatted as: 00112233-4455-6677-8899-AABBCCDDEEFF 
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="g539a9fee8522a416634194b648ca9790"></a><!-- doxytag: member="apr_uuid.h::apr_uuid_format" ref="g539a9fee8522a416634194b648ca9790" args="(char *buffer, const apr_uuid_t *uuid)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void apr_uuid_format           </td>
          <td>(</td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structapr__uuid__t.html">apr_uuid_t</a> *&nbsp;</td>
          <td class="paramname"> <em>uuid</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Format a UUID into a string, following the standard format <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>buffer</em>&nbsp;</td><td>The buffer to place the formatted UUID string into. It must be at least APR_UUID_FORMATTED_LENGTH + 1 bytes long to hold the formatted UUID and a null terminator </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>uuid</em>&nbsp;</td><td>The UUID to format </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="g129830a7a3c6b77047d2e74e261a7364"></a><!-- doxytag: member="apr_uuid.h::apr_uuid_get" ref="g129830a7a3c6b77047d2e74e261a7364" args="(apr_uuid_t *uuid)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void apr_uuid_get           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapr__uuid__t.html">apr_uuid_t</a> *&nbsp;</td>
          <td class="paramname"> <em>uuid</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Generate and return a (new) UUID <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>uuid</em>&nbsp;</td><td>The resulting UUID </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="g66d90e0c926ef51a8d607d164e2d7ae7"></a><!-- doxytag: member="apr_uuid.h::apr_uuid_parse" ref="g66d90e0c926ef51a8d607d164e2d7ae7" args="(apr_uuid_t *uuid, const char *uuid_str)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">apr_status_t apr_uuid_parse           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapr__uuid__t.html">apr_uuid_t</a> *&nbsp;</td>
          <td class="paramname"> <em>uuid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>uuid_str</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Parse a standard-format string into a UUID <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>uuid</em>&nbsp;</td><td>The resulting UUID </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>uuid_str</em>&nbsp;</td><td>The formatted UUID </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 24 02:22:55 2008 for Apache Portable Runtime Utility Library by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address>
</body>
</html>