[svn-commits] rmudgett: branch 12 r409682 - /branches/12/include/asterisk/stasis_internal.h
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Mar 4 18:55:56 CST 2014
Author: rmudgett
Date: Tue Mar 4 18:55:50 2014
New Revision: 409682
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=409682
Log:
stasis: Made internal_stasis_subscribe() prototype and definition match exactly.
Modified:
branches/12/include/asterisk/stasis_internal.h
Modified: branches/12/include/asterisk/stasis_internal.h
URL: http://svnview.digium.com/svn/asterisk/branches/12/include/asterisk/stasis_internal.h?view=diff&rev=409682&r1=409681&r2=409682
==============================================================================
--- branches/12/include/asterisk/stasis_internal.h (original)
+++ branches/12/include/asterisk/stasis_internal.h Tue Mar 4 18:55:50 2014
@@ -16,9 +16,6 @@
* at the top of the source tree.
*/
-#ifndef STASIS_INTERNAL_H_
-#define STASIS_INTERNAL_H_
-
/*! \file
*
* \brief Internal Stasis APIs.
@@ -33,9 +30,10 @@
* \author Matt Jordan <mjordan at digium.com>
*/
-struct stasis_topic;
-struct stasis_subscription;
-struct stasis_message;
+#include "asterisk/stasis.h"
+
+#ifndef STASIS_INTERNAL_H_
+#define STASIS_INTERNAL_H_
/*!
* \brief Create a subscription.
@@ -62,7 +60,7 @@
*/
struct stasis_subscription *internal_stasis_subscribe(
struct stasis_topic *topic,
- void (*stasis_subscription_cb)(void *data, struct stasis_subscription *sub, struct stasis_message *message),
+ stasis_subscription_cb callback,
void *data,
int needs_mailbox);
More information about the svn-commits
mailing list