projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updates.
[silc.git]
/
lib
/
silccore
/
silccommand.h
diff --git
a/lib/silccore/silccommand.h
b/lib/silccore/silccommand.h
index ec34d8344b2cfa3c95abae57e70b27bfc50f8a40..dd20052dc81cf22d6e4470ca41260045616831a0 100644
(file)
--- a/
lib/silccore/silccommand.h
+++ b/
lib/silccore/silccommand.h
@@
-36,19
+36,24
@@
typedef struct SilcCommandPayloadStruct *SilcCommandPayload;
typedef enum {
SILC_CF_NONE = 0,
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),
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. */
/* 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 */
/* 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. */
/* 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;
} SilcCommandFlag;