diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-08 18:26:58 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-08 18:26:58 +0000 |
commit | ff660e595fb04857e73e1f84d1e13d412fb980ef (patch) | |
tree | 89311f8e1131729d6216537c282925166408dd47 /contrib/libucl/ucl_emitter_streamline.c | |
parent | 40d4ca29664da075d9078161814b01070b6c0058 (diff) | |
download | rspamd-ff660e595fb04857e73e1f84d1e13d412fb980ef.tar.gz rspamd-ff660e595fb04857e73e1f84d1e13d412fb980ef.zip |
Update libucl
Diffstat (limited to 'contrib/libucl/ucl_emitter_streamline.c')
-rw-r--r-- | contrib/libucl/ucl_emitter_streamline.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/contrib/libucl/ucl_emitter_streamline.c b/contrib/libucl/ucl_emitter_streamline.c index ff27c8824..a7178c5d7 100644 --- a/contrib/libucl/ucl_emitter_streamline.c +++ b/contrib/libucl/ucl_emitter_streamline.c @@ -38,12 +38,20 @@ struct ucl_emitter_streamline_stack { struct ucl_emitter_context_streamline { /* Inherited from the main context */ + /** Name of emitter (e.g. json, compact_json) */ const char *name; + /** Unique id (e.g. UCL_EMIT_JSON for standard emitters */ int id; + /** A set of output functions */ const struct ucl_emitter_functions *func; + /** A set of output operations */ const struct ucl_emitter_operations *ops; - unsigned int ident; + /** Current amount of indent tabs */ + unsigned int indent; + /** Top level object */ const ucl_object_t *top; + /** Optional comments */ + const ucl_object_t *comments; /* Streamline specific fields */ struct ucl_emitter_streamline_stack *containers; |