]> jfr.im git - irc/quakenet/newserv.git/blobdiff - parser/parser.h
PARSER: Added "calls" field to allow tracking how many times each command is
[irc/quakenet/newserv.git] / parser / parser.h
index 794d968699de0d9f622b96c631ca15fcf2ddc288..870a9bf86c904b13c9afe87159998b80339024d6 100644 (file)
@@ -39,6 +39,7 @@ typedef struct Command {
   CommandHandler  handler;       /* Function to deal with the message */
   void           *ext;           /* Pointer to some arbitrary other data */
   DestroyExt      destroyext;    /* Function to destroy ->ext on destroycommandtree (if necessary) */
+  unsigned int    calls;         /* How many times this command has been called */
   struct Command *next;          /* Next handler chained onto this command */
 } Command;