Current File : //usr/share/doc/dbus/api/group__DBusInternalsUuidgen.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>D-Bus: dbus-uuidgen implementation</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">D-Bus
   &#160;<span id="projectnumber">1.8.20</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">dbus-uuidgen implementation</div>  </div>
<div class="ingroups"><a class="el" href="group__DBusInternals.html">D-Bus secret internal implementation details</a></div></div><!--header-->
<div class="contents">

<p>Functions for dbus-uuidgen binary.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__DBusTypes.html#ga39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBusInternalsUuidgen.html#ga1af5f50499f4c9b7dcaa1b36140b8f9c">dbus_internal_do_not_use_get_uuid</a> (const char *filename, char **uuid_p, <a class="el" href="group__DBusTypes.html#ga39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a> create_if_not_found, <a class="el" href="structDBusError.html">DBusError</a> *error)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For use by the dbus-uuidgen binary ONLY, do not call this.  <a href="#ga1af5f50499f4c9b7dcaa1b36140b8f9c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__DBusTypes.html#ga39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DBusInternalsUuidgen.html#ga1ae9da9ff933f3c87ca984161db02b7e">dbus_internal_do_not_use_create_uuid</a> (char **uuid_p)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For use by the dbus-uuidgen binary ONLY, do not call this.  <a href="#ga1ae9da9ff933f3c87ca984161db02b7e"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<p>Functions for dbus-uuidgen binary. </p>
<p>These are not considered part of the ABI, and if you call them you will get screwed by future changes. </p>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="ga1ae9da9ff933f3c87ca984161db02b7e"></a><!-- doxytag: member="dbus&#45;uuidgen.c::dbus_internal_do_not_use_create_uuid" ref="ga1ae9da9ff933f3c87ca984161db02b7e" args="(char **uuid_p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__DBusTypes.html#ga39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a> <a class="el" href="group__DBusInternalsUuidgen.html#ga1ae9da9ff933f3c87ca984161db02b7e">dbus_internal_do_not_use_create_uuid</a> </td>
          <td>(</td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>uuid_p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For use by the dbus-uuidgen binary ONLY, do not call this. </p>
<p>We can and will change this function without modifying the libdbus soname.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">uuid_p</td><td>out param to return the uuid </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="group__DBusMacros.html#gaa93f0eb578d23995850d61f7d61c55c1" title="Expands to &quot;0&quot;.">FALSE</a> if no memory </dd></dl>

<p>Definition at line <a class="el" href="dbus-uuidgen_8c_source.html#l00122">122</a> of file <a class="el" href="dbus-uuidgen_8c_source.html">dbus-uuidgen.c</a>.</p>

<p>References <a class="el" href="dbus-internals_8c_source.html#l00641">_dbus_generate_uuid()</a>, and <a class="el" href="group__DBusMacros.html#ga070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>.</p>

</div>
</div>
<a class="anchor" id="ga1af5f50499f4c9b7dcaa1b36140b8f9c"></a><!-- doxytag: member="dbus&#45;uuidgen.c::dbus_internal_do_not_use_get_uuid" ref="ga1af5f50499f4c9b7dcaa1b36140b8f9c" args="(const char *filename, char **uuid_p, dbus_bool_t create_if_not_found, DBusError *error)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__DBusTypes.html#ga39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a> <a class="el" href="group__DBusInternalsUuidgen.html#ga1af5f50499f4c9b7dcaa1b36140b8f9c">dbus_internal_do_not_use_get_uuid</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>uuid_p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__DBusTypes.html#ga39c9cb0f3a2a8ad6f55cc4855d035349">dbus_bool_t</a>&#160;</td>
          <td class="paramname"><em>create_if_not_found</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structDBusError.html">DBusError</a> *&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>For use by the dbus-uuidgen binary ONLY, do not call this. </p>
<p>We can and will change this function without modifying the libdbus soname.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>the file or <a class="el" href="group__DBusMacros.html#ga070d2ce7b6bb7e5c05602aa8c308d0c4" title="A null pointer, defined appropriately for C or C++.">NULL</a> for the machine ID file </td></tr>
    <tr><td class="paramname">uuid_p</td><td>out param to return the uuid </td></tr>
    <tr><td class="paramname">create_if_not_found</td><td>whether to create it if not already there </td></tr>
    <tr><td class="paramname">error</td><td>error return </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="group__DBusMacros.html#gaa93f0eb578d23995850d61f7d61c55c1" title="Expands to &quot;0&quot;.">FALSE</a> if error is set </dd></dl>

<p>Definition at line <a class="el" href="dbus-uuidgen_8c_source.html#l00083">83</a> of file <a class="el" href="dbus-uuidgen_8c_source.html">dbus-uuidgen.c</a>.</p>

<p>References <a class="el" href="dbus-sysdeps-unix_8c_source.html#l03604">_dbus_read_local_machine_uuid()</a>, <a class="el" href="dbus-internals_8c_source.html#l00806">_dbus_read_uuid_file()</a>, <a class="el" href="dbus-string_8c_source.html#l00190">_dbus_string_init_const()</a>, <a class="el" href="group__DBusMacros.html#gaa93f0eb578d23995850d61f7d61c55c1">FALSE</a>, and <a class="el" href="group__DBusMacros.html#gaa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a>.</p>

</div>
</div>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Thu Mar 3 2016 17:50:34 for D-Bus by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>