Mercurial > libavformat.hg
changeset 5517:4ccdf5d8d424 libavformat
Deprecate resolve_host(). Patch by Martin Storsj <$firstname()$firstname,st>.
author | rbultje |
---|---|
date | Mon, 11 Jan 2010 17:28:55 +0000 |
parents | afe4a96b6832 |
children | 0dc71c7f6653 |
files | avformat.h |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/avformat.h Mon Jan 11 17:27:07 2010 +0000 +++ b/avformat.h Mon Jan 11 17:28:55 2010 +0000 @@ -1293,7 +1293,8 @@ struct tm *dt); struct in_addr; -int resolve_host(struct in_addr *sin_addr, const char *hostname); +/* Deprecated, use getaddrinfo instead. */ +attribute_deprecated int resolve_host(struct in_addr *sin_addr, const char *hostname); void url_split(char *proto, int proto_size, char *authorization, int authorization_size,