Current File : //kunden/usr/share/doc/pulseaudio-libs-devel/html/util_8h_source.html |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PulseAudio: util.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">PulseAudio
 <span id="projectnumber">15.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('util_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
<div class="headertitle">
<div class="title">util.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="util_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef fooutilhfoo</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define fooutilhfoo</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>  </div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">/***</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> This file is part of PulseAudio.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"></span> </div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> Copyright 2004-2006 Lennart Poettering</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> Copyright 2006 Pierre Ossman <ossman@cendio.se> for Cendio AB</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"></span> </div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> PulseAudio is free software; you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> it under the terms of the GNU Lesser General Public License as</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> published by the Free Software Foundation; either version 2.1 of the</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> License, or (at your option) any later version.</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"></span> </div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> PulseAudio is distributed in the hope that it will be useful, but</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> Lesser General Public License for more details.</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"></span> </div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> You should have received a copy of the GNU Lesser General Public</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> License along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment">***/</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <stddef.h></span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <pulse/cdecl.h></span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <pulse/version.h></span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> PA_C_DECL_BEGIN</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="util_8h.html#aaa32595e644d16b954759b8c863d6a0b"> 35</a></span> <span class="keywordtype">char</span> *<a class="code" href="util_8h.html#aaa32595e644d16b954759b8c863d6a0b">pa_get_user_name</a>(<span class="keywordtype">char</span> *s, <span class="keywordtype">size_t</span> l);</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="util_8h.html#a1d4c03c3c9cbb3cdd1f108826418dc69"> 38</a></span> <span class="keywordtype">char</span> *<a class="code" href="util_8h.html#a1d4c03c3c9cbb3cdd1f108826418dc69">pa_get_host_name</a>(<span class="keywordtype">char</span> *s, <span class="keywordtype">size_t</span> l);</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="util_8h.html#a8a22e44ec2964704e3671304ac5aadd4"> 41</a></span> <span class="keywordtype">char</span> *<a class="code" href="util_8h.html#a8a22e44ec2964704e3671304ac5aadd4">pa_get_fqdn</a>(<span class="keywordtype">char</span> *s, <span class="keywordtype">size_t</span> l);</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  </div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="util_8h.html#a42403d98341374937c369570b7ddb8e6"> 44</a></span> <span class="keywordtype">char</span> *<a class="code" href="util_8h.html#a42403d98341374937c369570b7ddb8e6">pa_get_home_dir</a>(<span class="keywordtype">char</span> *s, <span class="keywordtype">size_t</span> l);</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="util_8h.html#a8092e2e5e7cff28072ff4ef78dcf730f"> 48</a></span> <span class="keywordtype">char</span> *<a class="code" href="util_8h.html#a8092e2e5e7cff28072ff4ef78dcf730f">pa_get_binary_name</a>(<span class="keywordtype">char</span> *s, <span class="keywordtype">size_t</span> l);</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  </div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="util_8h.html#aa744fd3fc7e557dab2f815706b98694f"> 52</a></span> <span class="keywordtype">char</span> *<a class="code" href="util_8h.html#aa744fd3fc7e557dab2f815706b98694f">pa_path_get_filename</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *p);</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  </div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="util_8h.html#a0d799eb033a15b5e584b6c4690f097c8"> 55</a></span> <span class="keywordtype">int</span> <a class="code" href="util_8h.html#a0d799eb033a15b5e584b6c4690f097c8">pa_msleep</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> t);</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  </div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="util_8h.html#a56e9e08f80c4866ca76e483fbe400cac"> 61</a></span> <span class="keywordtype">int</span> <a class="code" href="util_8h.html#a56e9e08f80c4866ca76e483fbe400cac">pa_thread_make_realtime</a>(<span class="keywordtype">int</span> rtprio);</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  </div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> PA_C_DECL_END</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="preprocessor">#endif</span></div>
<div class="ttc" id="autil_8h_html_a0d799eb033a15b5e584b6c4690f097c8"><div class="ttname"><a href="util_8h.html#a0d799eb033a15b5e584b6c4690f097c8">pa_msleep</a></div><div class="ttdeci">int pa_msleep(unsigned long t)</div><div class="ttdoc">Wait t milliseconds.</div></div>
<div class="ttc" id="autil_8h_html_a1d4c03c3c9cbb3cdd1f108826418dc69"><div class="ttname"><a href="util_8h.html#a1d4c03c3c9cbb3cdd1f108826418dc69">pa_get_host_name</a></div><div class="ttdeci">char * pa_get_host_name(char *s, size_t l)</div><div class="ttdoc">Return the current hostname in the specified buffer.</div></div>
<div class="ttc" id="autil_8h_html_a42403d98341374937c369570b7ddb8e6"><div class="ttname"><a href="util_8h.html#a42403d98341374937c369570b7ddb8e6">pa_get_home_dir</a></div><div class="ttdeci">char * pa_get_home_dir(char *s, size_t l)</div><div class="ttdoc">Return the home directory of the current user.</div></div>
<div class="ttc" id="autil_8h_html_a56e9e08f80c4866ca76e483fbe400cac"><div class="ttname"><a href="util_8h.html#a56e9e08f80c4866ca76e483fbe400cac">pa_thread_make_realtime</a></div><div class="ttdeci">int pa_thread_make_realtime(int rtprio)</div><div class="ttdoc">Make the calling thread realtime if we can.</div></div>
<div class="ttc" id="autil_8h_html_a8092e2e5e7cff28072ff4ef78dcf730f"><div class="ttname"><a href="util_8h.html#a8092e2e5e7cff28072ff4ef78dcf730f">pa_get_binary_name</a></div><div class="ttdeci">char * pa_get_binary_name(char *s, size_t l)</div><div class="ttdoc">Return the binary file name of the current process.</div></div>
<div class="ttc" id="autil_8h_html_a8a22e44ec2964704e3671304ac5aadd4"><div class="ttname"><a href="util_8h.html#a8a22e44ec2964704e3671304ac5aadd4">pa_get_fqdn</a></div><div class="ttdeci">char * pa_get_fqdn(char *s, size_t l)</div><div class="ttdoc">Return the fully qualified domain name in s.</div></div>
<div class="ttc" id="autil_8h_html_aa744fd3fc7e557dab2f815706b98694f"><div class="ttname"><a href="util_8h.html#aa744fd3fc7e557dab2f815706b98694f">pa_path_get_filename</a></div><div class="ttdeci">char * pa_path_get_filename(const char *p)</div><div class="ttdoc">Return a pointer to the filename inside a path (which is the last component).</div></div>
<div class="ttc" id="autil_8h_html_aaa32595e644d16b954759b8c863d6a0b"><div class="ttname"><a href="util_8h.html#aaa32595e644d16b954759b8c863d6a0b">pa_get_user_name</a></div><div class="ttdeci">char * pa_get_user_name(char *s, size_t l)</div><div class="ttdoc">Return the current username in the specified string buffer.</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_ec5b0a79aff2db41fe5d1b9326f09c28.html">pulse</a></li><li class="navelem"><a class="el" href="util_8h.html">util.h</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
</ul>
</div>
</body>
</html>