[asterisk-dev] C API Deprecation proposal: ast_gethostbyname()

Sean Bright sean at seanbright.com
Wed May 10 17:02:31 CDT 2023


Hi,

Per the C API Deprecation policy¹ I am proposing the deprecation of
ast_gethostbyame() in favor of the ast_sockaddr family of functions. No
in-tree code currently uses this function. Assuming the function is
deprecated in Asterisk 21 it will be removed in Asterisk 23.

There is already an issue² and PR³ for this deprecation.

Please raise any concerns you have here for discussion.

Kind regards,
Sean


1. https://wiki.asterisk.org/wiki/display/AST/C+API+Deprecation
2. https://github.com/asterisk/asterisk/issues/78
3. https://github.com/asterisk/asterisk/pull/79





More information about the asterisk-dev mailing list