* Constify the uid field of channel datastores

* Convert some spaces to tabs in func_volume
* Add a note in channel.h making it clear that none of the datastore API calls
  lock the channel they are given, so the channel should be locked before
  calling the functions that take a channel argument.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2007-08-28 18:32:56 +00:00
parent 43e9b0f67c
commit 040a5f20f9
3 changed files with 15 additions and 9 deletions

View File

@@ -58,8 +58,8 @@ static void destroy_callback(void *data)
/*! \brief Static structure for datastore information */
static const struct ast_datastore_info volume_datastore = {
.type = "volume",
.destroy = destroy_callback
.type = "volume",
.destroy = destroy_callback
};
static int volume_callback(struct ast_audiohook *audiohook, struct ast_channel *chan, struct ast_frame *frame, enum ast_audiohook_direction direction)