Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
Structure for a data store type. More...
#include <datastore.h>
Data Fields | |
void(* | chan_breakdown )(void *data, struct ast_channel *old_chan, struct ast_channel *new_chan) |
Fix up channel references on the channel being masqueraded into. More... | |
void(* | chan_fixup )(void *data, struct ast_channel *old_chan, struct ast_channel *new_chan) |
Fix up channel references on the masquerading channel. More... | |
void(* | destroy )(void *data) |
void *(* | duplicate )(void *data) |
const char * | type |
Structure for a data store type.
Definition at line 31 of file datastore.h.
void(* chan_breakdown) (void *data, struct ast_channel *old_chan, struct ast_channel *new_chan) |
Fix up channel references on the channel being masqueraded into.
This is the same as the above callback, except it is called for the channel being masqueraded into instead of the channel that is masquerading.
Definition at line 60 of file datastore.h.
Referenced by channel_do_masquerade().
void(* chan_fixup) (void *data, struct ast_channel *old_chan, struct ast_channel *new_chan) |
Fix up channel references on the masquerading channel.
This is exactly like the fixup callback of the channel technology interface. It allows a datastore to fix any pointers it saved to the owning channel in case that the owning channel has changed. Generally, this would happen when the datastore is set to be inherited, and a masquerade occurs.
Definition at line 48 of file datastore.h.
Referenced by channel_do_masquerade().
void(* destroy) (void *data) |
Destroy function
Definition at line 34 of file datastore.h.
Referenced by ast_datastore_free(), datastore_destroy(), session_datastore_destroy(), and sip_outbound_publish_datastore_destroy().
void *(* duplicate) (void *data) |
Duplicate item data (used for inheritance)
Definition at line 33 of file datastore.h.
Referenced by ast_channel_datastore_inherit().
const char* type |
Type of data store
Definition at line 32 of file datastore.h.
Referenced by add_header(), aoc_bye_outgoing_request(), aoc_bye_outgoing_response(), aoc_invite_outgoing_response(), aoc_send_as_xml(), ast_sip_session_add_reason_header(), incoming_request(), incoming_response(), Property::load(), outgoing_request(), read_header(), read_headers(), remove_header(), and update_header().