aboutsummaryrefslogtreecommitdiffstats
path: root/src/rcl/rcl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rcl/rcl.h')
-rw-r--r--src/rcl/rcl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/rcl/rcl.h b/src/rcl/rcl.h
index 0cb505a57..76f9523fb 100644
--- a/src/rcl/rcl.h
+++ b/src/rcl/rcl.h
@@ -34,6 +34,13 @@
* using as a configuration language
*/
+enum rspamd_cl_error {
+ RSPAMD_CL_EOK = 0,
+ RSPAMD_CL_ESYNTAX,
+ RSPAMD_CL_EIO,
+ RSPAMD_CL_ESTATE
+};
+
enum rspamd_cl_type {
RSPAMD_CL_OBJECT = 0,
RSPAMD_CL_ARRAY,
@@ -56,6 +63,7 @@ typedef struct rspamd_cl_object_s {
gdouble dv; /**< double value of an object */
} value;
enum rspamd_cl_type type; /**< real type */
+ struct rspamd_cl_object_s *next; /**< array handle */
UT_hash_handle hh; /**< hash handle */
} rspamd_cl_object_t;