struct Client;
struct sockaddr_in;
+struct MsgQ;
typedef enum IOResult {
IO_FAILURE = -1,
unsigned int* length_out);
extern IOResult os_send_nonb(int fd, const char* buf, unsigned int length,
unsigned int* length_out);
+extern IOResult os_sendv_nonb(int fd, struct MsgQ* buf,
+ unsigned int* len_in, unsigned int* len_out);
extern IOResult os_recvfrom_nonb(int fd, char* buf, unsigned int len,
unsigned int* length_out,
struct sockaddr_in* from_out);
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 */