Asterisk - The Open Source Telephony Project
18.5.0
|
Structure containing callbacks for Stasis message sanitization. More...
#include <stasis.h>
Data Fields | |
int(* | channel )(const struct ast_channel *chan) |
Callback which determines whether a channel should be sanitized from a message based on the channel. More... | |
int(* | channel_id )(const char *channel_id) |
Callback which determines whether a channel should be sanitized from a message based on the channel's unique ID. More... | |
int(* | channel_snapshot )(const struct ast_channel_snapshot *snapshot) |
Callback which determines whether a channel should be sanitized from a message based on the channel's snapshot. More... | |
Structure containing callbacks for Stasis message sanitization.
int(* channel) (const struct ast_channel *chan) |
Callback which determines whether a channel should be sanitized from a message based on the channel.
chan | The channel to be checked |
non-zero | if the channel should be left out of the message |
zero | if the channel should remain in the message |
Definition at line 232 of file stasis.h.
Referenced by app_send_end_msg().
int(* channel_id) (const char *channel_id) |
Callback which determines whether a channel should be sanitized from a message based on the channel's unique ID.
channel_id | The unique ID of the channel |
non-zero | if the channel should be left out of the message |
zero | if the channel should remain in the message |
Definition at line 210 of file stasis.h.
Referenced by ast_endpoint_snapshot_to_json(), and container_to_json_array().
int(* channel_snapshot) (const struct ast_channel_snapshot *snapshot) |
Callback which determines whether a channel should be sanitized from a message based on the channel's snapshot.
snapshot | A snapshot generated from the channel |
non-zero | if the channel should be left out of the message |
zero | if the channel should remain in the message |
Definition at line 221 of file stasis.h.
Referenced by ast_ari_channels_list(), ast_channel_snapshot_to_json(), stasis_end_to_json(), and stasis_start_to_json().