mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-22 21:58:08 +00:00
Remove duplicated user pointer.
This commit is contained in:
parent
3d512a019c
commit
ec11864066
2 changed files with 6 additions and 8 deletions
|
|
@ -1179,27 +1179,26 @@ const LinphoneErrorInfo *linphone_call_get_error_info(const LinphoneCall *call){
|
|||
}
|
||||
|
||||
/**
|
||||
* Get the user_pointer in the LinphoneCall
|
||||
* Get the user pointer associated with the LinphoneCall
|
||||
*
|
||||
* @ingroup call_control
|
||||
*
|
||||
* return user_pointer an opaque user pointer that can be retrieved at any time
|
||||
* @return an opaque user pointer that can be retrieved at any time
|
||||
**/
|
||||
void *linphone_call_get_user_data(const LinphoneCall *call)
|
||||
{
|
||||
return call->user_pointer;
|
||||
return call->user_data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the user_pointer in the LinphoneCall
|
||||
* Set the user pointer associated with the LinphoneCall
|
||||
*
|
||||
* @ingroup call_control
|
||||
*
|
||||
* the user_pointer is an opaque user pointer that can be retrieved at any time in the LinphoneCall
|
||||
* the user pointer is an opaque user pointer that can be retrieved at any time in the LinphoneCall
|
||||
**/
|
||||
void linphone_call_set_user_data(LinphoneCall *call, void *user_pointer)
|
||||
{
|
||||
call->user_pointer = user_pointer;
|
||||
call->user_data = user_pointer;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -201,7 +201,6 @@ struct _LinphoneCall
|
|||
LinphoneCallState prevstate;
|
||||
LinphoneCallState transfer_state; /*idle if no transfer*/
|
||||
LinphoneProxyConfig *dest_proxy;
|
||||
void * user_pointer;
|
||||
PortConfig media_ports[2];
|
||||
MSMediaStreamSessions sessions[2]; /*the rtp, srtp, zrtp contexts for each stream*/
|
||||
StunCandidate ac,vc; /*audio video ip/port discovered by STUN*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue