Browse Source

Deprecate resolve_host(). Patch by Martin Storsjö <$firstname()$firstname,st>.

Originally committed as revision 21146 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Martin Storsjö Ronald S. Bultje 16 years ago
parent
commit
f1888474fa
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavformat/avformat.h

+ 2
- 1
libavformat/avformat.h View File

@@ -1293,7 +1293,8 @@ const char *small_strptime(const char *p, const char *fmt,
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,


Loading…
Cancel
Save