diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-08-31 14:31:36 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-08-31 14:31:36 +0100 |
commit | 89281e03aee94e205619c57790687d8af568ecc9 (patch) | |
tree | 8cc2bd49108c3ec1a27ecdd511799fda3dae87d1 /src/cfg_rcl.h | |
parent | 9ad8f568037eadb2c610e70c22709c58db0bcf91 (diff) | |
download | rspamd-89281e03aee94e205619c57790687d8af568ecc9.tar.gz rspamd-89281e03aee94e205619c57790687d8af568ecc9.zip |
Use flags instead of size for integers.
Diffstat (limited to 'src/cfg_rcl.h')
-rw-r--r-- | src/cfg_rcl.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cfg_rcl.h b/src/cfg_rcl.h index f90bfc399..afe27d480 100644 --- a/src/cfg_rcl.h +++ b/src/cfg_rcl.h @@ -40,12 +40,14 @@ struct rspamd_rcl_section; struct rspamd_rcl_struct_parser { gpointer user_struct; goffset offset; - gsize size; enum { RSPAMD_CL_FLAG_TIME_FLOAT = 0x1 << 0, RSPAMD_CL_FLAG_TIME_TIMEVAL = 0x1 << 1, RSPAMD_CL_FLAG_TIME_TIMESPEC = 0x1 << 2, - RSPAMD_CL_FLAG_TIME_INTEGER = 0x1 << 3 + RSPAMD_CL_FLAG_TIME_INTEGER = 0x1 << 3, + RSPAMD_CL_FLAG_INT_16 = 0x1 << 4, + RSPAMD_CL_FLAG_INT_32 = 0x1 << 5, + RSPAMD_CL_FLAG_INT_64 = 0x1 << 6 } flags; }; |