mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +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.
|
||||
*/
|
||||
|
||||
#ifndef STASIS_INTERNAL_H_
|
||||
#define STASIS_INTERNAL_H_
|
||||
|
||||
/*! \file
|
||||
*
|
||||
* \brief Internal Stasis APIs.
|
||||
@@ -33,9 +30,10 @@
|
||||
* \author Matt Jordan <mjordan@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_message;
|
||||
*/
|
||||
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);
|
||||
|
||||
|
Reference in New Issue
Block a user