Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / include / s_bsd.h
index dcada222a06cf7cd1f9c507fd898c9899ffd338c..5952d480a411e38a59b8d22430ea92a700a6da9e 100644 (file)
@@ -5,9 +5,6 @@
  */
 #ifndef INCLUDED_s_bsd_h
 #define INCLUDED_s_bsd_h
-#ifndef INCLUDED_config_h
-#include "config.h"
-#endif
 #ifndef INCLUDED_sys_types_h
 #include <sys/types.h>         /* size_t, time_t */
 #define INCLUDED_sys_types_h
@@ -21,6 +18,7 @@ struct Client;
 struct ConfItem;
 struct Listener;
 struct DNSReply;
+struct MsgQ;
 
 /*
  * TCP window sizes
@@ -47,6 +45,8 @@ extern const char* const POLL_ERROR_MSG;
 extern const char* const SELECT_ERROR_MSG;
 extern const char* const CONNECT_ERROR_MSG;
 extern const char* const SETBUFS_ERROR_MSG;
+extern const char* const TOS_ERROR_MSG;
+extern const char* const REGISTER_ERROR_MSG;
 
 
 extern int            HighestFd;
@@ -78,7 +78,7 @@ struct Pollable {
 /*
  * Proto types
  */
-extern unsigned int deliver_it(struct Client *cptr, const char *str, unsigned int len);
+extern unsigned int deliver_it(struct Client *cptr, struct MsgQ *buf);
 extern int connect_server(struct ConfItem* aconf, struct Client* by,
                           struct DNSReply* reply);
 extern void release_dns_reply(struct Client* cptr);
@@ -90,5 +90,6 @@ extern void init_server_identity(void);
 extern void close_connections(int close_stderr);
 extern int  init_connection_limits(void);
 extern void set_virtual_host(struct in_addr addr);
+extern void update_write(struct Client* cptr);
 
 #endif /* INCLUDED_s_bsd_h */