diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-04-06 22:17:32 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-04-06 22:17:32 +0000 |
commit | b837107b6b89ed55e1ac5e2ef829e72275914403 (patch) | |
tree | f9360f7b870da96fcd47e19ff8c203287e906599 /include/asterisk/channel_pvt.h | |
parent | 72df970e585d58cc41da5f90b28ce4676217ef0a (diff) |
Get rid of all that old needlock garbage now that we're using recursive mutexes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2644 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/channel_pvt.h')
-rwxr-xr-x | include/asterisk/channel_pvt.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/asterisk/channel_pvt.h b/include/asterisk/channel_pvt.h index 9de87541b..97a48f902 100755 --- a/include/asterisk/channel_pvt.h +++ b/include/asterisk/channel_pvt.h @@ -60,7 +60,7 @@ struct ast_channel_pvt { /*! Indicate a particular condition (e.g. AST_CONTROL_BUSY or AST_CONTROL_RINGING or AST_CONTROL_CONGESTION */ int (*indicate)(struct ast_channel *c, int condition); /*! Fix up a channel: If a channel is consumed, this is called. Basically update any ->owner links */ - int (*fixup)(struct ast_channel *oldchan, struct ast_channel *newchan, int lock); + int (*fixup)(struct ast_channel *oldchan, struct ast_channel *newchan); /*! Set a given option */ int (*setoption)(struct ast_channel *chan, int option, void *data, int datalen); /*! Query a given option */ @@ -75,12 +75,12 @@ struct ast_channel_pvt { /*! Returns NULL on failure to allocate */ struct ast_channel *ast_channel_alloc(int needalertpipe); -/*! Queue an outgoing frame, locking if necessary */ -int ast_queue_frame(struct ast_channel *chan, struct ast_frame *f, int lock); +/*! Queue an outgoing frame */ +int ast_queue_frame(struct ast_channel *chan, struct ast_frame *f); -int ast_queue_hangup(struct ast_channel *chan, int lock); +int ast_queue_hangup(struct ast_channel *chan); -int ast_queue_control(struct ast_channel *chan, int control, int lock); +int ast_queue_control(struct ast_channel *chan, int control); /*! Change the state of a channel */ int ast_setstate(struct ast_channel *chan, int state); |