Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-updates > by-pkgid > a41e5ac5fb332416cb8019ae392f1f99 > files > 312

lib64pulseaudio-devel-10.0-1.1.mga6.x86_64.rpm

<!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"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PulseAudio: subscribe.h File Reference</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>
<script type="text/javascript">
  $(document).ready(initResizable);
</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
   &#160;<span id="projectnumber">10.0.0-1.1.mga6</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</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">
$(document).ready(function(){initNavTree('subscribe_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">subscribe.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Daemon introspection event subscription subsystem.  
<a href="#details">More...</a></p>

<p><a href="subscribe_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ad1e70a8a270c955487280620ab0a2f0f"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="subscribe_8h.html#ad1e70a8a270c955487280620ab0a2f0f">pa_context_subscribe_cb_t</a>) (<a class="el" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c, <a class="el" href="def_8h.html#acbc7a15d7a9fe0722b02e2d739200035">pa_subscription_event_type_t</a> t, uint32_t idx, void *userdata)</td></tr>
<tr class="memdesc:ad1e70a8a270c955487280620ab0a2f0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subscription event callback prototype.  <a href="#ad1e70a8a270c955487280620ab0a2f0f">More...</a><br /></td></tr>
<tr class="separator:ad1e70a8a270c955487280620ab0a2f0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:abe684246fd5cb640b0199bcfe7f801b0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="operation_8h.html#a5614a07f2e7a129e4cb16596ed452a0c">pa_operation</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="subscribe_8h.html#abe684246fd5cb640b0199bcfe7f801b0">pa_context_subscribe</a> (<a class="el" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c, <a class="el" href="def_8h.html#a09d0e336675b2cb337d572c03e67eb93">pa_subscription_mask_t</a> m, <a class="el" href="context_8h.html#a086b985c499c50efc628c267e8923fb1">pa_context_success_cb_t</a> cb, void *userdata)</td></tr>
<tr class="memdesc:abe684246fd5cb640b0199bcfe7f801b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable event notification.  <a href="#abe684246fd5cb640b0199bcfe7f801b0">More...</a><br /></td></tr>
<tr class="separator:abe684246fd5cb640b0199bcfe7f801b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55281f798863e7b37594d347be7ad98c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="subscribe_8h.html#a55281f798863e7b37594d347be7ad98c">pa_context_set_subscribe_callback</a> (<a class="el" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c, <a class="el" href="subscribe_8h.html#ad1e70a8a270c955487280620ab0a2f0f">pa_context_subscribe_cb_t</a> cb, void *userdata)</td></tr>
<tr class="memdesc:a55281f798863e7b37594d347be7ad98c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the context specific call back function that is called whenever the state of the daemon changes.  <a href="#a55281f798863e7b37594d347be7ad98c">More...</a><br /></td></tr>
<tr class="separator:a55281f798863e7b37594d347be7ad98c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Daemon introspection event subscription subsystem. </p>
<p>See also <a class="el" href="subscribe.html">Event Subscription</a> </p>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a id="ad1e70a8a270c955487280620ab0a2f0f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1e70a8a270c955487280620ab0a2f0f">&#9670;&nbsp;</a></span>pa_context_subscribe_cb_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* pa_context_subscribe_cb_t) (<a class="el" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *c, <a class="el" href="def_8h.html#acbc7a15d7a9fe0722b02e2d739200035">pa_subscription_event_type_t</a> t, uint32_t idx, void *userdata)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Subscription event callback prototype. </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a55281f798863e7b37594d347be7ad98c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55281f798863e7b37594d347be7ad98c">&#9670;&nbsp;</a></span>pa_context_set_subscribe_callback()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pa_context_set_subscribe_callback </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="subscribe_8h.html#ad1e70a8a270c955487280620ab0a2f0f">pa_context_subscribe_cb_t</a>&#160;</td>
          <td class="paramname"><em>cb</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>userdata</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the context specific call back function that is called whenever the state of the daemon changes. </p>

</div>
</div>
<a id="abe684246fd5cb640b0199bcfe7f801b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe684246fd5cb640b0199bcfe7f801b0">&#9670;&nbsp;</a></span>pa_context_subscribe()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="operation_8h.html#a5614a07f2e7a129e4cb16596ed452a0c">pa_operation</a>* pa_context_subscribe </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="context_8h.html#aff56e9b3dd442a88227da084bb5c380a">pa_context</a> *&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="def_8h.html#a09d0e336675b2cb337d572c03e67eb93">pa_subscription_mask_t</a>&#160;</td>
          <td class="paramname"><em>m</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="context_8h.html#a086b985c499c50efc628c267e8923fb1">pa_context_success_cb_t</a>&#160;</td>
          <td class="paramname"><em>cb</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>userdata</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enable event notification. </p>

</div>
</div>
</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="subscribe_8h.html">subscribe.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>