X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fparse.h;h=859c7ce575692ee4b69ff032face09f96269ba3e;hb=0d503945cb527e275ef6644a234a6876ff61322b;hp=0c6f8a66d07e4d299f4bb66025c3aec3fae7ee6b;hpb=af6ac0fa41a10889cdaf9898d995980bebcefec1;p=ngircd-alex.git diff --git a/src/ngircd/parse.h b/src/ngircd/parse.h index 0c6f8a66..859c7ce5 100644 --- a/src/ngircd/parse.h +++ b/src/ngircd/parse.h @@ -35,6 +35,9 @@ typedef struct _COMMAND 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;