From f0eeeead03cd27c375ca28161dab603bee56341c Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Tue, 20 Dec 2016 17:19:21 +0700 Subject: T224: add node comment functionality to the config tree. --- src/config_tree.mli | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/config_tree.mli') diff --git a/src/config_tree.mli b/src/config_tree.mli index 27042f8..ac9c5a9 100644 --- a/src/config_tree.mli +++ b/src/config_tree.mli @@ -5,7 +5,7 @@ exception Node_has_no_value type config_node_data = { values : string list; - comment : string; + comment : string option; } type t = config_node_data Vytree.t @@ -21,3 +21,7 @@ val delete : t -> string list -> string option -> t val get_values : t -> string list -> string list val get_value : t -> string list -> string + +val set_comment : t -> string list -> string option -> t + +val get_comment : t -> string list -> string option -- cgit v1.2.3