Mercurial > libavformat.hg
diff avformat.h @ 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 | 1838c590a0b9 |
children | 4435424edfb5 |
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,