mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-13 13:28:34 +00:00
stasis: Remove stringfields and lock from change message.
When a subscribe or unsubscribe occurs a message is published containing this information. This change makes it so that the message no longer uses stringfields or a lock, as both are not really needed for the message. Change-Id: I3f4831931d79f94fd979baf48048738df5dc1632
This commit is contained in:
committed by
Joshua Colp
parent
e0b5d74e93
commit
a5a8cba8c7
@@ -816,11 +816,9 @@ int stasis_subscription_final_message(struct stasis_subscription *sub, struct st
|
||||
* \since 12
|
||||
*/
|
||||
struct stasis_subscription_change {
|
||||
AST_DECLARE_STRING_FIELDS(
|
||||
AST_STRING_FIELD(uniqueid); /*!< The unique ID associated with this subscription */
|
||||
AST_STRING_FIELD(description); /*!< The description of the change to the subscription associated with the uniqueid */
|
||||
);
|
||||
struct stasis_topic *topic; /*!< The topic the subscription is/was subscribing to */
|
||||
struct stasis_topic *topic; /*!< The topic the subscription is/was subscribing to */
|
||||
char *uniqueid; /*!< The unique ID associated with this subscription */
|
||||
char description[0]; /*!< The description of the change to the subscription associated with the uniqueid */
|
||||
};
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user