mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-08 22:27:07 +00:00
stasis: Made internal_stasis_subscribe() prototype and definition match exactly.
........ Merged revisions 409682 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@409683 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -16,9 +16,6 @@
|
|||||||
* at the top of the source tree.
|
* at the top of the source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef STASIS_INTERNAL_H_
|
|
||||||
#define STASIS_INTERNAL_H_
|
|
||||||
|
|
||||||
/*! \file
|
/*! \file
|
||||||
*
|
*
|
||||||
* \brief Internal Stasis APIs.
|
* \brief Internal Stasis APIs.
|
||||||
@@ -33,9 +30,10 @@
|
|||||||
* \author Matt Jordan <mjordan@digium.com>
|
* \author Matt Jordan <mjordan@digium.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct stasis_topic;
|
#include "asterisk/stasis.h"
|
||||||
struct stasis_subscription;
|
|
||||||
struct stasis_message;
|
#ifndef STASIS_INTERNAL_H_
|
||||||
|
#define STASIS_INTERNAL_H_
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Create a subscription.
|
* \brief Create a subscription.
|
||||||
@@ -62,7 +60,7 @@ struct stasis_message;
|
|||||||
*/
|
*/
|
||||||
struct stasis_subscription *internal_stasis_subscribe(
|
struct stasis_subscription *internal_stasis_subscribe(
|
||||||
struct stasis_topic *topic,
|
struct stasis_topic *topic,
|
||||||
void (*stasis_subscription_cb)(void *data, struct stasis_subscription *sub, struct stasis_message *message),
|
stasis_subscription_cb callback,
|
||||||
void *data,
|
void *data,
|
||||||
int needs_mailbox);
|
int needs_mailbox);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user