Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / include / ircd_osdep.h
index f991a41ee66566c03ab53862bf2c82cdf39f6ba5..2f9e4633e894dd57520b5b1db6df572dfb7d7f1f 100644 (file)
@@ -37,12 +37,13 @@ extern IOResult os_sendv_nonb(int fd, struct MsgQ* buf,
 extern IOResult os_recvfrom_nonb(int fd, char* buf, unsigned int len,
                                  unsigned int* length_out,
                                  struct sockaddr_in* from_out);
-extern int os_connect_nonb(int fd, const struct sockaddr_in* sin);
+extern IOResult os_connect_nonb(int fd, const struct sockaddr_in* sin);
 extern int os_set_fdlimit(unsigned int max_descriptors);
 extern int os_set_listen(int fd, int backlog);
 extern int os_set_nonblocking(int fd);
 extern int os_set_reuseaddr(int fd);
 extern int os_set_sockbufs(int fd, unsigned int size);
+extern int os_set_tos(int fd,int tos);
 
 #endif /* INCLUDED_ircd_osdep_h */