<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Sequencer Port Subscription</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.2.18 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindex" href="examples.html">Examples</a> </center> <hr><h1>Sequencer Port Subscription<br> <small> [<a class="el" href="group___sequencer.html">MIDI Sequencer</a>]</small> </h1><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Defines</h2></td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a43">snd_seq_port_subscribe_alloca</a>(ptr) SND_ALLOCA(snd_seq_port_subscribe, ptr)</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a44">snd_seq_query_subscribe_alloca</a>(ptr) SND_ALLOCA(snd_seq_query_subscribe, ptr)</td></tr> <tr><td colspan=2><br><h2>Typedefs</h2></td></tr> <tr><td nowrap align=right valign=top>typedef _snd_seq_port_subscribe </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a></td></tr> <tr><td nowrap align=right valign=top>typedef _snd_seq_query_subscribe </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a></td></tr> <tr><td colspan=2><br><h2>Enumerations</h2></td></tr> <tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a45">snd_seq_query_subs_type_t</a> { <a class="el" href="group___seq_subscribe.html#a45a103">SND_SEQ_QUERY_SUBS_READ</a>, <a class="el" href="group___seq_subscribe.html#a45a104">SND_SEQ_QUERY_SUBS_WRITE</a> }</td></tr> <tr><td colspan=2><br><h2>Functions</h2></td></tr> <tr><td nowrap align=right valign=top>size_t </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a2">snd_seq_port_subscribe_sizeof</a> (void)</td></tr> <tr><td> </td><td><font size=-1><em>get size of <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a></em> <a href="#a2"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a3">snd_seq_port_subscribe_malloc</a> (<a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> **ptr)</td></tr> <tr><td> </td><td><font size=-1><em>allocate an empty <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> using standard malloc</em> <a href="#a3"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a4">snd_seq_port_subscribe_free</a> (<a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> *ptr)</td></tr> <tr><td> </td><td><font size=-1><em>frees a previously allocated <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a></em> <a href="#a4"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a5">snd_seq_port_subscribe_copy</a> (<a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> *dst, const <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> *src)</td></tr> <tr><td> </td><td><font size=-1><em>copy one <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> to another</em> <a href="#a5"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>const <a class="el" href="group___seq_events.html#a1">snd_seq_addr_t</a> * </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a6">snd_seq_port_subscribe_get_sender</a> (const <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get sender address of a port_subscribe container.</em> <a href="#a6"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>const <a class="el" href="group___seq_events.html#a1">snd_seq_addr_t</a> * </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a7">snd_seq_port_subscribe_get_dest</a> (const <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get destination address of a port_subscribe container.</em> <a href="#a7"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a8">snd_seq_port_subscribe_get_queue</a> (const <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the queue id of a port_subscribe container.</em> <a href="#a8"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a9">snd_seq_port_subscribe_get_exclusive</a> (const <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the exclusive mode of a port_subscribe container.</em> <a href="#a9"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a10">snd_seq_port_subscribe_get_time_update</a> (const <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the time-update mode of a port_subscribe container.</em> <a href="#a10"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a11">snd_seq_port_subscribe_get_time_real</a> (const <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the real-time update mode of a port_subscribe container.</em> <a href="#a11"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a12">snd_seq_port_subscribe_set_sender</a> (<a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> *info, const <a class="el" href="group___seq_events.html#a1">snd_seq_addr_t</a> *addr)</td></tr> <tr><td> </td><td><font size=-1><em>Set sender address of a port_subscribe container.</em> <a href="#a12"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a13">snd_seq_port_subscribe_set_dest</a> (<a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> *info, const <a class="el" href="group___seq_events.html#a1">snd_seq_addr_t</a> *addr)</td></tr> <tr><td> </td><td><font size=-1><em>Set destination address of a port_subscribe container.</em> <a href="#a13"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a14">snd_seq_port_subscribe_set_queue</a> (<a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> *info, int q)</td></tr> <tr><td> </td><td><font size=-1><em>Set the queue id of a port_subscribe container.</em> <a href="#a14"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a15">snd_seq_port_subscribe_set_voices</a> (<a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> *info, unsigned int voices)</td></tr> <tr><td> </td><td><font size=-1><em>Set the voices of a port_subscribe container.</em> <a href="#a15"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a16">snd_seq_port_subscribe_set_exclusive</a> (<a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> *info, int val)</td></tr> <tr><td> </td><td><font size=-1><em>Set the exclusive mode of a port_subscribe container.</em> <a href="#a16"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a17">snd_seq_port_subscribe_set_time_update</a> (<a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> *info, int val)</td></tr> <tr><td> </td><td><font size=-1><em>Set the time-update mode of a port_subscribe container.</em> <a href="#a17"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a18">snd_seq_port_subscribe_set_time_real</a> (<a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> *info, int val)</td></tr> <tr><td> </td><td><font size=-1><em>Set the real-time mode of a port_subscribe container.</em> <a href="#a18"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a19">snd_seq_get_port_subscription</a> (<a class="el" href="group___sequencer.html#a0">snd_seq_t</a> *handle, <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> *sub)</td></tr> <tr><td> </td><td><font size=-1><em>obtain subscription information</em> <a href="#a19"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a20">snd_seq_subscribe_port</a> (<a class="el" href="group___sequencer.html#a0">snd_seq_t</a> *handle, <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> *sub)</td></tr> <tr><td> </td><td><font size=-1><em>subscribe a port connection</em> <a href="#a20"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a21">snd_seq_unsubscribe_port</a> (<a class="el" href="group___sequencer.html#a0">snd_seq_t</a> *handle, <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> *sub)</td></tr> <tr><td> </td><td><font size=-1><em>unsubscribe a connection between ports</em> <a href="#a21"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>size_t </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a22">snd_seq_query_subscribe_sizeof</a> (void)</td></tr> <tr><td> </td><td><font size=-1><em>get size of <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a></em> <a href="#a22"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a23">snd_seq_query_subscribe_malloc</a> (<a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> **ptr)</td></tr> <tr><td> </td><td><font size=-1><em>allocate an empty <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> using standard malloc</em> <a href="#a23"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a24">snd_seq_query_subscribe_free</a> (<a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> *ptr)</td></tr> <tr><td> </td><td><font size=-1><em>frees a previously allocated <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a></em> <a href="#a24"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a25">snd_seq_query_subscribe_copy</a> (<a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> *dst, const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> *src)</td></tr> <tr><td> </td><td><font size=-1><em>copy one <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> to another</em> <a href="#a25"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a26">snd_seq_query_subscribe_get_client</a> (const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the client id of a query_subscribe container.</em> <a href="#a26"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a27">snd_seq_query_subscribe_get_port</a> (const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the port id of a query_subscribe container.</em> <a href="#a27"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>const <a class="el" href="group___seq_events.html#a1">snd_seq_addr_t</a> * </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a28">snd_seq_query_subscribe_get_root</a> (const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the client/port address of a query_subscribe container.</em> <a href="#a28"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="group___seq_subscribe.html#a45">snd_seq_query_subs_type_t</a> </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a29">snd_seq_query_subscribe_get_type</a> (const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the query type of a query_subscribe container.</em> <a href="#a29"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a30">snd_seq_query_subscribe_get_index</a> (const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the index of subscriber of a query_subscribe container.</em> <a href="#a30"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a31">snd_seq_query_subscribe_get_num_subs</a> (const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the number of subscriptions of a query_subscribe container.</em> <a href="#a31"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>const <a class="el" href="group___seq_events.html#a1">snd_seq_addr_t</a> * </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a32">snd_seq_query_subscribe_get_addr</a> (const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the address of subscriber of a query_subscribe container.</em> <a href="#a32"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a33">snd_seq_query_subscribe_get_queue</a> (const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the queue id of subscriber of a query_subscribe container.</em> <a href="#a33"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a34">snd_seq_query_subscribe_get_exclusive</a> (const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the exclusive mode of a query_subscribe container.</em> <a href="#a34"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a35">snd_seq_query_subscribe_get_time_update</a> (const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the time-update mode of a query_subscribe container.</em> <a href="#a35"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a36">snd_seq_query_subscribe_get_time_real</a> (const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> *info)</td></tr> <tr><td> </td><td><font size=-1><em>Get the real-time update mode of a query_subscribe container.</em> <a href="#a36"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a37">snd_seq_query_subscribe_set_client</a> (<a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> *info, int client)</td></tr> <tr><td> </td><td><font size=-1><em>Set the client id of a query_subscribe container.</em> <a href="#a37"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a38">snd_seq_query_subscribe_set_port</a> (<a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> *info, int port)</td></tr> <tr><td> </td><td><font size=-1><em>Set the port id of a query_subscribe container.</em> <a href="#a38"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a39">snd_seq_query_subscribe_set_root</a> (<a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> *info, const <a class="el" href="group___seq_events.html#a1">snd_seq_addr_t</a> *addr)</td></tr> <tr><td> </td><td><font size=-1><em>Set the client/port address of a query_subscribe container.</em> <a href="#a39"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a40">snd_seq_query_subscribe_set_type</a> (<a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> *info, <a class="el" href="group___seq_subscribe.html#a45">snd_seq_query_subs_type_t</a> type)</td></tr> <tr><td> </td><td><font size=-1><em>Set the query type of a query_subscribe container.</em> <a href="#a40"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a41">snd_seq_query_subscribe_set_index</a> (<a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> *info, int index)</td></tr> <tr><td> </td><td><font size=-1><em>Set the subscriber's index to be queried.</em> <a href="#a41"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="group___seq_subscribe.html#a42">snd_seq_query_port_subscribers</a> (<a class="el" href="group___sequencer.html#a0">snd_seq_t</a> *seq, <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> *subs)</td></tr> <tr><td> </td><td><font size=-1><em>query port subscriber list</em> <a href="#a42"></a><em></em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Sequencer Port Subscription <hr><h2>Define Documentation</h2> <a name="a43" doxytag="seq.h::snd_seq_port_subscribe_alloca"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_port_subscribe_alloca</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ptr </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> SND_ALLOCA(snd_seq_port_subscribe, ptr) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> allocate a <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> container on stack </td> </tr> </table> <a name="a44" doxytag="seq.h::snd_seq_query_subscribe_alloca"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define snd_seq_query_subscribe_alloca</td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ptr </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> SND_ALLOCA(snd_seq_query_subscribe, ptr) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> allocate a <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> container on stack </td> </tr> </table> <hr><h2>Typedef Documentation</h2> <a name="a0" doxytag="seq.h::snd_seq_port_subscribe_t"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> typedef struct _snd_seq_port_subscribe snd_seq_port_subscribe_t </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> port subscription container </td> </tr> </table> <a name="a1" doxytag="seq.h::snd_seq_query_subscribe_t"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> typedef struct _snd_seq_query_subscribe snd_seq_query_subscribe_t </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> subscription query container </td> </tr> </table> <hr><h2>Enumeration Type Documentation</h2> <a name="a45" doxytag="seq.h::snd_seq_query_subs_type_t"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> enum snd_seq_query_subs_type_t </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> type of query subscription <dl compact><dt><b>Enumeration values: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em><a name="a45a103" doxytag="SND_SEQ_QUERY_SUBS_READ"></a><em>SND_SEQ_QUERY_SUBS_READ</em></em> </td><td> query read subscriptions </td></tr> <tr><td valign=top><em><a name="a45a104" doxytag="SND_SEQ_QUERY_SUBS_WRITE"></a><em>SND_SEQ_QUERY_SUBS_WRITE</em></em> </td><td> query write subscriptions </td></tr> </table> </dl> </td> </tr> </table> <hr><h2>Function Documentation</h2> <a name="a19" doxytag="seq.h::snd_seq_get_port_subscription"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int snd_seq_get_port_subscription </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___sequencer.html#a0">snd_seq_t</a> * </td> <td class="mdname" nowrap> <em>seq</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> * </td> <td class="mdname" nowrap> <em>sub</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> obtain subscription information <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>seq</em> </td><td> sequencer handle </td></tr> <tr><td valign=top><em>sub</em> </td><td> pointer to return the subscription information </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 0 on success otherwise a negative error code </dl> </td> </tr> </table> <a name="a5" doxytag="seq.h::snd_seq_port_subscribe_copy"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void snd_seq_port_subscribe_copy </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> * </td> <td class="mdname" nowrap> <em>dst</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> * </td> <td class="mdname" nowrap> <em>src</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> copy one <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> to another <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>dst</em> </td><td> pointer to destination </td></tr> <tr><td valign=top><em>src</em> </td><td> pointer to source </td></tr> </table> </dl> </td> </tr> </table> <a name="a4" doxytag="seq.h::snd_seq_port_subscribe_free"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void snd_seq_port_subscribe_free </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>obj</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> frees a previously allocated <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>pointer</em> </td><td> to object to free </td></tr> </table> </dl> </td> </tr> </table> <a name="a7" doxytag="seq.h::snd_seq_port_subscribe_get_dest"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const <a class="el" href="group___seq_events.html#a1">snd_seq_addr_t</a>* snd_seq_port_subscribe_get_dest </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get destination address of a port_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> port_subscribe container </td></tr> <tr><td valign=top><em>addr</em> </td><td> destination address </td></tr> </table> </dl> </td> </tr> </table> <a name="a9" doxytag="seq.h::snd_seq_port_subscribe_get_exclusive"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int snd_seq_port_subscribe_get_exclusive </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the exclusive mode of a port_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> port_subscribe container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 1 if exclusive mode </dl> </td> </tr> </table> <a name="a8" doxytag="seq.h::snd_seq_port_subscribe_get_queue"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int snd_seq_port_subscribe_get_queue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the queue id of a port_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> port_subscribe container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> queue id </dl> </td> </tr> </table> <a name="a6" doxytag="seq.h::snd_seq_port_subscribe_get_sender"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const <a class="el" href="group___seq_events.html#a1">snd_seq_addr_t</a>* snd_seq_port_subscribe_get_sender </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get sender address of a port_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> port_subscribe container </td></tr> <tr><td valign=top><em>addr</em> </td><td> sender address </td></tr> </table> </dl> </td> </tr> </table> <a name="a11" doxytag="seq.h::snd_seq_port_subscribe_get_time_real"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int snd_seq_port_subscribe_get_time_real </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the real-time update mode of a port_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> port_subscribe container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 1 if real-time update mode </dl> </td> </tr> </table> <a name="a10" doxytag="seq.h::snd_seq_port_subscribe_get_time_update"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int snd_seq_port_subscribe_get_time_update </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the time-update mode of a port_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> port_subscribe container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 1 if update timestamp </dl> </td> </tr> </table> <a name="a3" doxytag="seq.h::snd_seq_port_subscribe_malloc"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int snd_seq_port_subscribe_malloc </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> ** </td> <td class="mdname1" valign="top" nowrap> <em>ptr</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> allocate an empty <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> using standard malloc <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>ptr</em> </td><td> returned pointer </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 0 on success otherwise negative error code </dl> </td> </tr> </table> <a name="a13" doxytag="seq.h::snd_seq_port_subscribe_set_dest"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void snd_seq_port_subscribe_set_dest </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="group___seq_events.html#a1">snd_seq_addr_t</a> * </td> <td class="mdname" nowrap> <em>addr</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set destination address of a port_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> port_subscribe container </td></tr> <tr><td valign=top><em>addr</em> </td><td> destination address </td></tr> </table> </dl> </td> </tr> </table> <a name="a16" doxytag="seq.h::snd_seq_port_subscribe_set_exclusive"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void snd_seq_port_subscribe_set_exclusive </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>val</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the exclusive mode of a port_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> port_subscribe container </td></tr> <tr><td valign=top><em>val</em> </td><td> non-zero to enable </td></tr> </table> </dl> </td> </tr> </table> <a name="a14" doxytag="seq.h::snd_seq_port_subscribe_set_queue"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void snd_seq_port_subscribe_set_queue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>q</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the queue id of a port_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> port_subscribe container </td></tr> <tr><td valign=top><em>q</em> </td><td> queue id </td></tr> </table> </dl> </td> </tr> </table> <a name="a12" doxytag="seq.h::snd_seq_port_subscribe_set_sender"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void snd_seq_port_subscribe_set_sender </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="group___seq_events.html#a1">snd_seq_addr_t</a> * </td> <td class="mdname" nowrap> <em>addr</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set sender address of a port_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> port_subscribe container </td></tr> <tr><td valign=top><em>addr</em> </td><td> sender address </td></tr> </table> </dl> </td> </tr> </table> <a name="a18" doxytag="seq.h::snd_seq_port_subscribe_set_time_real"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void snd_seq_port_subscribe_set_time_real </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>val</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the real-time mode of a port_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> port_subscribe container </td></tr> <tr><td valign=top><em>val</em> </td><td> non-zero to enable </td></tr> </table> </dl> </td> </tr> </table> <a name="a17" doxytag="seq.h::snd_seq_port_subscribe_set_time_update"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void snd_seq_port_subscribe_set_time_update </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>val</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the time-update mode of a port_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> port_subscribe container </td></tr> <tr><td valign=top><em>val</em> </td><td> non-zero to enable </td></tr> </table> </dl> </td> </tr> </table> <a name="a15" doxytag="seq.h::snd_seq_port_subscribe_set_voices"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void snd_seq_port_subscribe_set_voices </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>unsigned int </td> <td class="mdname" nowrap> <em>voices</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the voices of a port_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> port_subscribe container </td></tr> <tr><td valign=top><em>voices</em> </td><td> voices to be allocated (0 = don't care) </td></tr> </table> </dl> </td> </tr> </table> <a name="a2" doxytag="seq.h::snd_seq_port_subscribe_sizeof"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> size_t snd_seq_port_subscribe_sizeof </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> get size of <a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> <p> <dl compact><dt><b>Returns: </b></dt><dd> size in bytes </dl> </td> </tr> </table> <a name="a42" doxytag="seq.h::snd_seq_query_port_subscribers"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int snd_seq_query_port_subscribers </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___sequencer.html#a0">snd_seq_t</a> * </td> <td class="mdname" nowrap> <em>seq</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> * </td> <td class="mdname" nowrap> <em>subs</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> query port subscriber list <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>seq</em> </td><td> sequencer handle </td></tr> <tr><td valign=top><em>subs</em> </td><td> subscription to query </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 0 on success otherwise a negative error code</dl>Queries the subscribers accessing to a port. The query information is specified in subs argument. </td> </tr> </table> <a name="a25" doxytag="seq.h::snd_seq_query_subscribe_copy"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void snd_seq_query_subscribe_copy </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> * </td> <td class="mdname" nowrap> <em>dst</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> * </td> <td class="mdname" nowrap> <em>src</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> copy one <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> to another <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>dst</em> </td><td> pointer to destination </td></tr> <tr><td valign=top><em>src</em> </td><td> pointer to source </td></tr> </table> </dl> </td> </tr> </table> <a name="a24" doxytag="seq.h::snd_seq_query_subscribe_free"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void snd_seq_query_subscribe_free </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>obj</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> frees a previously allocated <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>pointer</em> </td><td> to object to free </td></tr> </table> </dl> </td> </tr> </table> <a name="a32" doxytag="seq.h::snd_seq_query_subscribe_get_addr"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const <a class="el" href="group___seq_events.html#a1">snd_seq_addr_t</a>* snd_seq_query_subscribe_get_addr </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the address of subscriber of a query_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> query_subscribe container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> subscriber's address pointer </dl> </td> </tr> </table> <a name="a26" doxytag="seq.h::snd_seq_query_subscribe_get_client"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int snd_seq_query_subscribe_get_client </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the client id of a query_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> query_subscribe container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> client id </dl> </td> </tr> </table> <a name="a34" doxytag="seq.h::snd_seq_query_subscribe_get_exclusive"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int snd_seq_query_subscribe_get_exclusive </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the exclusive mode of a query_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> query_subscribe container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 1 if exclusive mode </dl> </td> </tr> </table> <a name="a30" doxytag="seq.h::snd_seq_query_subscribe_get_index"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int snd_seq_query_subscribe_get_index </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the index of subscriber of a query_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> query_subscribe container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> subscriber's index </dl> </td> </tr> </table> <a name="a31" doxytag="seq.h::snd_seq_query_subscribe_get_num_subs"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int snd_seq_query_subscribe_get_num_subs </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the number of subscriptions of a query_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> query_subscribe container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> number of subscriptions </dl> </td> </tr> </table> <a name="a27" doxytag="seq.h::snd_seq_query_subscribe_get_port"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int snd_seq_query_subscribe_get_port </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the port id of a query_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> query_subscribe container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> port id </dl> </td> </tr> </table> <a name="a33" doxytag="seq.h::snd_seq_query_subscribe_get_queue"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int snd_seq_query_subscribe_get_queue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the queue id of subscriber of a query_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> query_subscribe container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> subscriber's queue id </dl> </td> </tr> </table> <a name="a28" doxytag="seq.h::snd_seq_query_subscribe_get_root"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const <a class="el" href="group___seq_events.html#a1">snd_seq_addr_t</a>* snd_seq_query_subscribe_get_root </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the client/port address of a query_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> query_subscribe container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> client/port address pointer </dl> </td> </tr> </table> <a name="a36" doxytag="seq.h::snd_seq_query_subscribe_get_time_real"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int snd_seq_query_subscribe_get_time_real </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the real-time update mode of a query_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> query_subscribe container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 1 if real-time update mode </dl> </td> </tr> </table> <a name="a35" doxytag="seq.h::snd_seq_query_subscribe_get_time_update"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int snd_seq_query_subscribe_get_time_update </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the time-update mode of a query_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> query_subscribe container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 1 if update timestamp </dl> </td> </tr> </table> <a name="a29" doxytag="seq.h::snd_seq_query_subscribe_get_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="group___seq_subscribe.html#a45">snd_seq_query_subs_type_t</a> snd_seq_query_subscribe_get_type </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> * </td> <td class="mdname1" valign="top" nowrap> <em>info</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the query type of a query_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> query_subscribe container </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> query type </dl> </td> </tr> </table> <a name="a23" doxytag="seq.h::snd_seq_query_subscribe_malloc"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int snd_seq_query_subscribe_malloc </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> ** </td> <td class="mdname1" valign="top" nowrap> <em>ptr</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> allocate an empty <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> using standard malloc <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>ptr</em> </td><td> returned pointer </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 0 on success otherwise negative error code </dl> </td> </tr> </table> <a name="a37" doxytag="seq.h::snd_seq_query_subscribe_set_client"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void snd_seq_query_subscribe_set_client </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>client</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the client id of a query_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> query_subscribe container </td></tr> <tr><td valign=top><em>client</em> </td><td> client id </td></tr> </table> </dl> </td> </tr> </table> <a name="a41" doxytag="seq.h::snd_seq_query_subscribe_set_index"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void snd_seq_query_subscribe_set_index </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>index</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the subscriber's index to be queried. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> query_subscribe container </td></tr> <tr><td valign=top><em>index</em> </td><td> index to be queried </td></tr> </table> </dl> </td> </tr> </table> <a name="a38" doxytag="seq.h::snd_seq_query_subscribe_set_port"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void snd_seq_query_subscribe_set_port </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>port</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the port id of a query_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> query_subscribe container </td></tr> <tr><td valign=top><em>port</em> </td><td> port id </td></tr> </table> </dl> </td> </tr> </table> <a name="a39" doxytag="seq.h::snd_seq_query_subscribe_set_root"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void snd_seq_query_subscribe_set_root </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="group___seq_events.html#a1">snd_seq_addr_t</a> * </td> <td class="mdname" nowrap> <em>addr</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the client/port address of a query_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> query_subscribe container </td></tr> <tr><td valign=top><em>addr</em> </td><td> client/port address pointer </td></tr> </table> </dl> </td> </tr> </table> <a name="a40" doxytag="seq.h::snd_seq_query_subscribe_set_type"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void snd_seq_query_subscribe_set_type </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> * </td> <td class="mdname" nowrap> <em>info</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group___seq_subscribe.html#a45">snd_seq_query_subs_type_t</a> </td> <td class="mdname" nowrap> <em>type</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the query type of a query_subscribe container. <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>info</em> </td><td> query_subscribe container </td></tr> <tr><td valign=top><em>type</em> </td><td> query type </td></tr> </table> </dl> </td> </tr> </table> <a name="a22" doxytag="seq.h::snd_seq_query_subscribe_sizeof"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> size_t snd_seq_query_subscribe_sizeof </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> get size of <a class="el" href="group___seq_subscribe.html#a1">snd_seq_query_subscribe_t</a> <p> <dl compact><dt><b>Returns: </b></dt><dd> size in bytes </dl> </td> </tr> </table> <a name="a20" doxytag="seq.h::snd_seq_subscribe_port"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int snd_seq_subscribe_port </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___sequencer.html#a0">snd_seq_t</a> * </td> <td class="mdname" nowrap> <em>seq</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> * </td> <td class="mdname" nowrap> <em>sub</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> subscribe a port connection <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>seq</em> </td><td> sequencer handle </td></tr> <tr><td valign=top><em>sub</em> </td><td> subscription information </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 0 on success otherwise a negative error code</dl>Subscribes a connection between two ports. The subscription information is stored in sub argument. </td> </tr> </table> <a name="a21" doxytag="seq.h::snd_seq_unsubscribe_port"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int snd_seq_unsubscribe_port </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group___sequencer.html#a0">snd_seq_t</a> * </td> <td class="mdname" nowrap> <em>seq</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group___seq_subscribe.html#a0">snd_seq_port_subscribe_t</a> * </td> <td class="mdname" nowrap> <em>sub</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> unsubscribe a connection between ports <p> <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>seq</em> </td><td> sequencer handle </td></tr> <tr><td valign=top><em>sub</em> </td><td> subscription information to disconnect </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> 0 on success otherwise a negative error code</dl>Unsubscribes a connection between two ports, described in sender and dest fields in sub argument. </td> </tr> </table> <hr><address style="align: right;"><small>Generated on Wed Apr 2 16:06:39 2003 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 width=110 height=53></a>1.2.18 </small></address> </body> </html>