You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ast_gethostbyname() is now deprecated in favor of the ast_sockaddr_resolve() and ast_sockaddr_resolve_first_af() functions in include/asterisk/netsock2.h.
The text was updated successfully, but these errors were encountered:
Deprecate `ast_gethostbyname()` in favor of `ast_sockaddr_resolve()` and
`ast_sockaddr_resolve_first_af()`. `ast_gethostbyname()` has not been
used by any in-tree code since 2021.
This function will be removed entirely in Asterisk 23.
Resolves: #78
UpgradeNote: ast_gethostbyname() has been deprecated and will be removed
in Asterisk 23. New code should use `ast_sockaddr_resolve()` and
`ast_sockaddr_resolve_first_af()`.
Improvement Description
https://wiki.asterisk.org/wiki/display/AST/C+API+Deprecation
ast_gethostbyname()
is now deprecated in favor of theast_sockaddr_resolve()
andast_sockaddr_resolve_first_af()
functions ininclude/asterisk/netsock2.h
.The text was updated successfully, but these errors were encountered: