+/** IRC command handling structure */
+typedef struct _COMMAND
+{
+ const char *name; /**< Command name */
+ bool (*function) PARAMS(( CLIENT *Client, REQUEST *Request ));
+ /**< Function to handle this command */
+ CLIENT_TYPE type; /**< Valid client types (bit mask) */
+ int min_argc; /**< Min parameters */
+ int max_argc; /**< Max parameters */
+ int penalty; /**< Penalty for this command */
+ long lcount, rcount; /**< Number of local and remote calls */
+ long bytes; /**< Number of bytes created */
+} COMMAND;