]> git.sesse.net Git - vlc/blobdiff - include/vlc_network.h
Removes trailing spaces. Removes tabs.
[vlc] / include / vlc_network.h
index 020af68075a38b0b8449a6d06d75d33f011ed1e0..5b5cec175d269563d646029a762f7691e821baee 100644 (file)
@@ -116,6 +116,8 @@ VLC_EXPORT( void, net_ListenClose, ( int *fd ) );
 int net_Subscribe (vlc_object_t *obj, int fd, const struct sockaddr *addr,
                    socklen_t addrlen);
 
+VLC_EXPORT( int, net_SetCSCov, ( int fd, int sendcov, int recvcov ) );
+
 /* Functions to read from or write to the networking layer */
 struct virtual_socket_t
 {
@@ -150,7 +152,7 @@ VLC_EXPORT (int, inet_pton, (int af, const char *src, void *dst) );
 #ifndef HAVE_INET_NTOP
 #ifdef WIN32
 /* only in core, so no need for C++ extern "C" */
-VLC_EXPORT (const char *, inet_ntop, (int af, const void *src, 
+VLC_EXPORT (const char *, inet_ntop, (int af, const void *src,
                                       char *dst, socklen_t cnt) );
 #endif
 #endif
@@ -368,11 +370,11 @@ static inline void net_SetPort (struct sockaddr *addr, uint16_t port)
 #ifdef AF_INET6
         case AF_INET6:
             ((struct sockaddr_in6 *)addr)->sin6_port = port;
-           break;
+        break;
 #endif
         case AF_INET:
             ((struct sockaddr_in *)addr)->sin_port = port;
-           break;
+        break;
     }
 }
 # ifdef __cplusplus