libavformat/os_support.c File Reference

#include "config.h"
#include "avformat.h"
#include "os_support.h"
#include <fcntl.h>
#include <unistd.h>
#include "network.h"

Go to the source code of this file.

Defines

#define _SVID_SOURCE
#define _DARWIN_C_SOURCE

Functions

int ff_inet_aton (const char *str, struct in_addr *add)
int ff_getaddrinfo (const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **res)
void ff_freeaddrinfo (struct addrinfo *res)
int ff_getnameinfo (const struct sockaddr *sa, int salen, char *host, int hostlen, char *serv, int servlen, int flags)
const char * ff_gai_strerror (int ecode)
int ff_socket_nonblock (int socket, int enable)


Define Documentation

#define _DARWIN_C_SOURCE

Definition at line 25 of file os_support.c.

#define _SVID_SOURCE

Definition at line 24 of file os_support.c.


Function Documentation

void ff_freeaddrinfo ( struct addrinfo res  ) 

Definition at line 142 of file os_support.c.

const char* ff_gai_strerror ( int  ecode  ) 

Definition at line 214 of file os_support.c.

int ff_getaddrinfo ( const char *  node,
const char *  service,
const struct addrinfo hints,
struct addrinfo **  res 
)

Definition at line 70 of file os_support.c.

int ff_getnameinfo ( const struct sockaddr *  sa,
int  salen,
char *  host,
int  hostlen,
char *  serv,
int  servlen,
int  flags 
)

Definition at line 160 of file os_support.c.

int ff_inet_aton ( const char *  str,
struct in_addr *  add 
)

Definition at line 63 of file os_support.c.

Referenced by ff_getaddrinfo(), and resolve_host().

int ff_socket_nonblock ( int  socket,
int  enable 
)

Definition at line 226 of file os_support.c.

Referenced by new_connection(), socket_open_listen(), tcp_open(), and udp_open().


Generated on Wed Jan 19 23:49:50 2011 for FFmpeg by  doxygen 1.5.6