X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilccore%2Fsilccommand.h;h=dd20052dc81cf22d6e4470ca41260045616831a0;hb=f4502217007852082bc93d144551f576bc9f5428;hp=ec34d8344b2cfa3c95abae57e70b27bfc50f8a40;hpb=a67bfbe8a773eac3852d82a7dafb53a421a3769d;p=silc.git diff --git a/lib/silccore/silccommand.h b/lib/silccore/silccommand.h index ec34d834..dd20052d 100644 --- a/lib/silccore/silccommand.h +++ b/lib/silccore/silccommand.h @@ -36,19 +36,24 @@ typedef struct SilcCommandPayloadStruct *SilcCommandPayload; typedef enum { SILC_CF_NONE = 0, - /* Command may only be used once per (about) 2 seconds */ + /* Command may only be used once per (about) 2 seconds. Bursts up + to 5 commands are allowed though. */ SILC_CF_LAG = (1L << 1), + /* Command may only be used once per (about) 2 seconds. No bursts + are allowed at all. */ + SILC_CF_LAG_STRICT = (1L << 2), + /* Command is available for registered connections (connections whose ID has been created. */ - SILC_CF_REG = (1L << 2), + SILC_CF_REG = (1L << 3), /* Command is available only for server operators */ - SILC_CF_OPER = (1L << 3), + SILC_CF_OPER = (1L << 4), /* Command is available only for SILC (router) operators. If this is set SILC_CF_OPER is not necessary to be set. */ - SILC_CF_SILC_OPER = (1L << 4), + SILC_CF_SILC_OPER = (1L << 5), } SilcCommandFlag;