]> jfr.im git - solanum.git/blobdiff - include/msg.h
switch sasl_usercloak.c to use SNO_BANNED
[solanum.git] / include / msg.h
index 0adc9a84c47f065e76c137d72e5d429e6f850dc3..4039d97d92afbe6b45ed0df8e06368b77074e236 100644 (file)
@@ -25,7 +25,7 @@
 #ifndef INCLUDED_msg_h
 #define INCLUDED_msg_h
 
-#include "config.h"
+#include "defaults.h"
 #include "msgbuf.h"
 
 struct Client;
@@ -54,7 +54,7 @@ typedef void (*MessageHandler) (struct MsgBuf *, struct Client *, struct Client
 struct MessageEntry
 {
        MessageHandler handler;
-       int min_para;
+       size_t min_para;
 };
 
 /* Message table structure */
@@ -67,7 +67,7 @@ struct Message
        unsigned int flags;
 
        /* handlers:
-        * UNREGISTERED, CLIENT, RCLIENT, SERVER, OPER, LAST
+        * UNREGISTERED, CLIENT, RCLIENT, SERVER, ENCAP, OPER
         */
        struct MessageEntry handlers[LAST_HANDLER_TYPE];
 };
@@ -85,7 +85,7 @@ extern void m_unregistered(struct MsgBuf *, struct Client *, struct Client *, in
 
 /*
  * m_functions execute protocol messages on this server:
- * void m_func(struct Client* client_p, struct Client* source_p, int parc, char* parv[]);
+ * void m_func(struct MsgBuf *, struct Client* client_p, struct Client* source_p, int parc, char* parv[]);
  *
  *    client_p    is always NON-NULL, pointing to a *LOCAL* client
  *            structure (with an open socket connected!). This