File: //usr/share/doc/alsa-lib-devel-1.0.17/lib64/html/global_8h.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>ALSA project - the C library reference: /builddir/build/BUILD/alsa-lib-1.0.17a/include/global.h File Reference</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.4.7 -->
<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 id="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul></div>
<h1>/builddir/build/BUILD/alsa-lib-1.0.17a/include/global.h File Reference</h1>Application interface library for the ALSA driver. <a href="#_details">More...</a>
<p>
<p>
<a href="global_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g45a3c6f7baa0ab1c02a101d658d27e1a"></a><!-- doxytag: member="global.h::__SND_DLSYM_VERSION" ref="g45a3c6f7baa0ab1c02a101d658d27e1a" args="(name, version)" -->
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___global.html#g45a3c6f7baa0ab1c02a101d658d27e1a">__SND_DLSYM_VERSION</a>(name, version)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Helper macro for <a class="el" href="group___global.html#gd540b40558d67cc73ef44e4ced2d9785">SND_DLSYM_BUILD_VERSION</a>. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="gd540b40558d67cc73ef44e4ced2d9785"></a><!-- doxytag: member="global.h::SND_DLSYM_BUILD_VERSION" ref="gd540b40558d67cc73ef44e4ced2d9785" args="(name, version)" -->
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___global.html#gd540b40558d67cc73ef44e4ced2d9785">SND_DLSYM_BUILD_VERSION</a>(name, version)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Appends the build version to the name of a versioned dynamic symbol. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g328a38b2b346f38d36610a573b2a25d7"></a><!-- doxytag: member="global.h::__STRING" ref="g328a38b2b346f38d36610a573b2a25d7" args="(x)" -->
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___global.html#g328a38b2b346f38d36610a573b2a25d7">__STRING</a>(x) #x</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return 'x' argument as string. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g476fe5ed7a3951c1570d55848935ce95"></a><!-- doxytag: member="global.h::SND_DLSYM_VERSION" ref="g476fe5ed7a3951c1570d55848935ce95" args="(version)" -->
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___global.html#g476fe5ed7a3951c1570d55848935ce95">SND_DLSYM_VERSION</a>(version) __STRING(version)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the version of a dynamic symbol as a string. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g3e2a7adc3899919fa7a1816cd7190be4"></a><!-- doxytag: member="global.h::__snd_alloca" ref="g3e2a7adc3899919fa7a1816cd7190be4" args="(ptr, type)" -->
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group___global.html#g3e2a7adc3899919fa7a1816cd7190be4">__snd_alloca</a>(ptr, type) do { *ptr = (type##_t *) alloca(type##_sizeof()); memset(*ptr, 0, type##_sizeof()); } while (0)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">alloca helper macro. <br></td></tr>
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef _snd_async_handler </td><td class="memItemRight" valign="bottom"><a class="el" href="group___global.html#ga966cc0e80d3b8f070437c851114d5a5">snd_async_handler_t</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Internal structure for an async notification client handler. <a href="group___global.html#ga966cc0e80d3b8f070437c851114d5a5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef void(*) </td><td class="memItemRight" valign="bottom"><a class="el" href="group___global.html#gc2c426c7ea09cdcc0cdb398660104baa">snd_async_callback_t</a> (<a class="el" href="group___global.html#ga966cc0e80d3b8f070437c851114d5a5">snd_async_handler_t</a> *handler)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Async notification callback. <a href="group___global.html#gc2c426c7ea09cdcc0cdb398660104baa"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef timeval </td><td class="memItemRight" valign="bottom"><a class="el" href="group___global.html#ga6e3b4cb5a0c680777cce7b09cc3e142">snd_timestamp_t</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef timespec </td><td class="memItemRight" valign="bottom"><a class="el" href="group___global.html#g9ec799950aa7da856cf805705197c390">snd_htimestamp_t</a></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___global.html#g64de77a019cf5095075c8cf6c3e34ab4">snd_asoundlib_version</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the ALSA sound library version in ASCII format. <a href="group___global.html#g64de77a019cf5095075c8cf6c3e34ab4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___global.html#g2ca66583f26a52ca8fe2d2ab08c54c2c">snd_dlopen</a> (const char *file, int mode)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Opens a dynamic library - ALSA wrapper for <code>dlopen</code>. <a href="group___global.html#g2ca66583f26a52ca8fe2d2ab08c54c2c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___global.html#g35343e506e24e86502b4a1b768699e30">snd_dlsym</a> (void *handle, const char *name, const char *version)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Resolves a symbol from a dynamic library - ALSA wrapper for <code>dlsym</code>. <a href="group___global.html#g35343e506e24e86502b4a1b768699e30"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___global.html#g28ca0650a01dddeeebe9e7bdcdb09735">snd_dlclose</a> (void *handle)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Closes a dynamic library - ALSA wrapper for <code>dlclose</code>. <a href="group___global.html#g28ca0650a01dddeeebe9e7bdcdb09735"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___global.html#g56cd7f93dd500780796faeb81a337d3a">snd_async_add_handler</a> (<a class="el" href="group___global.html#ga966cc0e80d3b8f070437c851114d5a5">snd_async_handler_t</a> **handler, int fd, <a class="el" href="group___global.html#gc2c426c7ea09cdcc0cdb398660104baa">snd_async_callback_t</a> callback, void *private_data)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Registers an async handler. <a href="group___global.html#g56cd7f93dd500780796faeb81a337d3a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___global.html#g788f1f508fc6296b1b4422d34fdfcbe3">snd_async_del_handler</a> (<a class="el" href="group___global.html#ga966cc0e80d3b8f070437c851114d5a5">snd_async_handler_t</a> *handler)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Deletes an async handler. <a href="group___global.html#g788f1f508fc6296b1b4422d34fdfcbe3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___global.html#g173014e6c85c5f4fa207744c5eea4066">snd_async_handler_get_fd</a> (<a class="el" href="group___global.html#ga966cc0e80d3b8f070437c851114d5a5">snd_async_handler_t</a> *handler)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the file descriptor assigned to an async handler. <a href="group___global.html#g173014e6c85c5f4fa207744c5eea4066"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___global.html#g487c4bc2a3aaa198663c58883e340e43">snd_async_handler_get_signo</a> (<a class="el" href="group___global.html#ga966cc0e80d3b8f070437c851114d5a5">snd_async_handler_t</a> *handler)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the signal number assigned to an async handler. <a href="group___global.html#g487c4bc2a3aaa198663c58883e340e43"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___global.html#g968d3fe95196a4e8d6a4d17b3ea41ff6">snd_async_handler_get_callback_private</a> (<a class="el" href="group___global.html#ga966cc0e80d3b8f070437c851114d5a5">snd_async_handler_t</a> *handler)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the private data assigned to an async handler. <a href="group___global.html#g968d3fe95196a4e8d6a4d17b3ea41ff6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">snd_shm_area * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___global.html#gdc73101931458d5aaf0b0a15e6de1b9f">snd_shm_area_create</a> (int shmid, void *ptr)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a shm area record. <a href="group___global.html#gdc73101931458d5aaf0b0a15e6de1b9f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">snd_shm_area * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___global.html#g23ea56f65bbd4800ef2a7fb9935c915a">snd_shm_area_share</a> (struct snd_shm_area *area)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Increase the reference counter of shm area record. <a href="group___global.html#g23ea56f65bbd4800ef2a7fb9935c915a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___global.html#g00f08810a9a2aa7e6e47eb6f3fd4e4b8">snd_shm_area_destroy</a> (struct snd_shm_area *area)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Release the shared area record. <a href="group___global.html#g00f08810a9a2aa7e6e47eb6f3fd4e4b8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group___global.html#gd8e638fcc9694264c3daeb48263cf522">snd_user_file</a> (const char *file, char **result)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the full file name. <a href="group___global.html#gd8e638fcc9694264c3daeb48263cf522"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Application interface library for the ALSA driver.
<p>
<dl compact><dt><b>Author:</b></dt><dd>Jaroslav Kysela <<a href="mailto:perex@perex.cz">perex@perex.cz</a>> <p>
Abramo Bagnara <<a href="mailto:abramo@alsa-project.org">abramo@alsa-project.org</a>> <p>
Takashi Iwai <<a href="mailto:tiwai@suse.de">tiwai@suse.de</a>> </dd></dl>
<dl compact><dt><b>Date:</b></dt><dd>1998-2001</dd></dl>
Application interface library for the ALSA driver <hr size="1"><address style="align: right;"><small>Generated on Tue Jan 20 22:42:09 2009 for ALSA project - the C library reference by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>