]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/parse.h
Rework check for number of parameters
[ngircd-alex.git] / src / ngircd / parse.h
index 0c6f8a66d07e4d299f4bb66025c3aec3fae7ee6b..beac227521b6d1d677df721b617f795b7e44bd62 100644 (file)
@@ -35,6 +35,8 @@ typedef struct _COMMAND
        bool (*function) PARAMS(( CLIENT *Client, REQUEST *Request ));
                                        /**< Function to handle this command */
        CLIENT_TYPE type;               /**< Valid client types (bit mask) */
        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 */
        long lcount, rcount;            /**< Number of local and remote calls */
        long bytes;                     /**< Number of bytes created */
 } COMMAND;
        long lcount, rcount;            /**< Number of local and remote calls */
        long bytes;                     /**< Number of bytes created */
 } COMMAND;