* (at your option) any later version.
* Please read the file COPYING, README and AUTHORS for more information.
*
- * $Id: parse.h,v 1.8 2002/12/12 12:23:43 alex Exp $
+ * $Id: parse.h,v 1.10 2003/01/03 22:03:51 alex Exp $
*
* IRC command parser and validator (header)
*/
} REQUEST;
+typedef struct _COMMAND
+{
+ CHAR *name; /* command name */
+ BOOLEAN (*function) PARAMS(( CLIENT *Client, REQUEST *Request ));
+ CLIENT_TYPE type; /* valid client types (bit mask) */
+ LONG lcount, rcount; /* number of local and remote calls */
+ LONG bytes; /* number of bytes created */
+} COMMAND;
+
+
GLOBAL BOOLEAN Parse_Request PARAMS((CONN_ID Idx, CHAR *Request ));
+GLOBAL COMMAND *Parse_GetCommandStruct PARAMS(( VOID ));
+
#endif