Structure for a data store type. More...
#include <datastore.h>
Data Fields | |
void(* | chan_fixup )(void *data, struct ast_channel *old_chan, struct ast_channel *new_chan) |
Fix up channel references. | |
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_fixup)(void *data, struct ast_channel *old_chan, struct ast_channel *new_chan) |
Fix up channel references.
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 50 of file datastore.h.
Referenced by ast_do_masquerade().
void(* destroy)(void *data) |
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.