- revert change to ast_queue_hangup and create ast_queue_hangup_with_cause
- make data member of the ast_frame struct a named union instead of a void Recently the ast_queue_hangup function got a new parameter, the hangupcause Feedback came in that this is no good and that instead a new function should be created. This I did. The hangupcause was stored in the seqno member of the ast_frame struct. This is not very elegant, and since there's already a data member that one should be used. Problem is, this member was a void *. Now it's a named union so it can hold a pointer, an uint32 and there's a padding in case someone wants to store another type in there in the future. This commit is so massive, because all ast_frame.data uses have to be altered to ast_frame.data.data Thanks russellb and kpfleming for the feedback. (closes issue #12674) Reported by: mvanbaak git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@117802 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- apps/app_alarmreceiver.c 3 additions, 3 deletionsapps/app_alarmreceiver.c
- apps/app_chanspy.c 1 addition, 1 deletionapps/app_chanspy.c
- apps/app_dial.c 6 additions, 5 deletionsapps/app_dial.c
- apps/app_disa.c 2 additions, 2 deletionsapps/app_disa.c
- apps/app_externalivr.c 2 additions, 2 deletionsapps/app_externalivr.c
- apps/app_festival.c 1 addition, 1 deletionapps/app_festival.c
- apps/app_followme.c 2 additions, 2 deletionsapps/app_followme.c
- apps/app_ices.c 1 addition, 1 deletionapps/app_ices.c
- apps/app_meetme.c 2 additions, 2 deletionsapps/app_meetme.c
- apps/app_milliwatt.c 1 addition, 1 deletionapps/app_milliwatt.c
- apps/app_mp3.c 1 addition, 1 deletionapps/app_mp3.c
- apps/app_nbscat.c 1 addition, 1 deletionapps/app_nbscat.c
- apps/app_queue.c 3 additions, 2 deletionsapps/app_queue.c
- apps/app_sms.c 2 additions, 2 deletionsapps/app_sms.c
- apps/app_speech_utils.c 1 addition, 1 deletionapps/app_speech_utils.c
- apps/app_test.c 1 addition, 1 deletionapps/app_test.c
- apps/app_zapbarge.c 2 additions, 2 deletionsapps/app_zapbarge.c
- apps/app_zapscan.c 2 additions, 2 deletionsapps/app_zapscan.c
- channels/chan_alsa.c 6 additions, 6 deletionschannels/chan_alsa.c
- channels/chan_console.c 1 addition, 1 deletionchannels/chan_console.c
Loading
Please register or sign in to comment