diff network.h @ 2057:857fbfeb2fa0 libavformat

implement ff_socket_nonblock and use it in networking code
author alex
date Fri, 27 Apr 2007 00:41:50 +0000
parents eeea52739ff3
children 8fc44b349f59
line wrap: on
line diff
--- a/network.h	Fri Apr 27 00:35:54 2007 +0000
+++ b/network.h	Fri Apr 27 00:41:50 2007 +0000
@@ -32,6 +32,8 @@
 #define ff_neterrno() errno
 #define FF_NETERROR(err) err
 
+int ff_socket_nonblock(int socket, int enable);
+
 #if !defined(HAVE_INET_ATON)
 /* in os_support.c */
 int inet_aton (const char * str, struct in_addr * add);