stunmessage.h | stunmessage.h | |||
---|---|---|---|---|
skipping to change at line 789 | skipping to change at line 789 | |||
* @addr: The #sockaddr to be append | * @addr: The #sockaddr to be append | |||
* @addrlen: The size of the @addr variable. | * @addrlen: The size of the @addr variable. | |||
* | * | |||
* Append a network address attribute to a STUN message | * Append a network address attribute to a STUN message | |||
* | * | |||
* Returns: A #StunMessageReturn value. | * Returns: A #StunMessageReturn value. | |||
* %STUN_MESSAGE_RETURN_INVALID is returned if the @addrlen is too small | * %STUN_MESSAGE_RETURN_INVALID is returned if the @addrlen is too small | |||
* %STUN_MESSAGE_RETURN_UNSUPPORTED_ADDRESS if the address family is unknow n. | * %STUN_MESSAGE_RETURN_UNSUPPORTED_ADDRESS if the address family is unknow n. | |||
*/ | */ | |||
StunMessageReturn stun_message_append_addr (StunMessage * msg, | StunMessageReturn stun_message_append_addr (StunMessage * msg, | |||
StunAttribute type, const struct sockaddr_storage *addr, socklen_t addr len); | StunAttribute type, const struct sockaddr *addr, socklen_t addrlen); | |||
/** | /** | |||
* stun_message_append_xor_addr: | * stun_message_append_xor_addr: | |||
* @msg: The #StunMessage | * @msg: The #StunMessage | |||
* @type: The #StunAttribute to append | * @type: The #StunAttribute to append | |||
* @addr: The #sockaddr to be append | * @addr: The #sockaddr to be append | |||
* @addrlen: The size of the @addr variable. | * @addrlen: The size of the @addr variable. | |||
* | * | |||
* Append an obfuscated network address attribute to a STUN message | * Append an obfuscated network address attribute to a STUN message | |||
* | * | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||