<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/en/2176/25/9/_/styles/combined.css?spaceKey=AST&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://wiki.asterisk.org/wiki/display/AST/Stasis+Core+Specification">Stasis Core Specification</a></h2>
    <h4>Comment <b>removed</b> by              <a href="https://wiki.asterisk.org/wiki/display/~dlee">David M. Lee</a>
    </h4>
    <br/>
    <div class="notificationGreySide">
        <p>We can use variadic macros so caller don't have to specify the <tt>SENTINEL</tt>.</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Confluence; brush: c; gutter: false">struct ast_stasis_sub *_ast_stasis_subscribe(
    ast_stasis_message_type message_type,
    ast_stasis_cb_t callback,
    void *userdata,
    ...);

#define ast_stasis_subscribe(message_type, callback, userdata, ...) \
    _ast_stasis_subscribe(message_type, callback, userdata, __VA_ARGS__, SENTINEL)</pre>
</div></div>

<p>Meaningful review to come later.</p>
    </div>

    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;" class="grey">
                        <a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST">Stop watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
    </div>
</div>
</div>
</div>
</div>
</body>
</html>