network.c File Reference
#include "network.h"
#include "libavcodec/internal.h"

Go to the source code of this file.

Macros

#define THREADS   (HAVE_PTHREADS || (defined(WIN32) && !defined(__MINGW32CE__)))

Functions

void ff_tls_init (void)
void ff_tls_deinit (void)
int ff_network_init (void)
int ff_network_wait_fd (int fd, int write)
void ff_network_close (void)
int ff_is_multicast_address (struct sockaddr *addr)

Variables

int ff_network_inited_globally

Macro Definition Documentation

#define THREADS   (HAVE_PTHREADS || (defined(WIN32) && !defined(__MINGW32CE__)))

Definition at line 24 of file network.c.

Function Documentation

int ff_is_multicast_address ( struct sockaddr *  addr)

Definition at line 172 of file network.c.

Referenced by ff_udp_set_remote_url().

int ff_network_init ( void  )
int ff_network_wait_fd ( int  fd,
int  write 
)

Definition at line 142 of file network.c.

Referenced by tcp_read(), tcp_write(), udp_read(), and udp_write().

void ff_tls_deinit ( void  )

Definition at line 99 of file network.c.

Referenced by avformat_network_deinit(), tls_close(), and tls_open().

void ff_tls_init ( void  )

Definition at line 67 of file network.c.

Referenced by avformat_network_init(), and tls_open().

Variable Documentation

int ff_network_inited_globally

Definition at line 122 of file network.c.

Referenced by avformat_network_init().