summaryrefslogtreecommitdiff
path: root/src/reference_tree.mli
diff options
context:
space:
mode:
authorPhil Summers <phil@blindlime.org>2016-12-22 01:20:08 +0000
committerPhil Summers <phil@blindlime.org>2016-12-22 01:20:08 +0000
commitf2b20137711c8d6f2e468595d484b1e8ba3b1efd (patch)
tree834c5c1596e3a2186d7496f645c6c199d6b88d75 /src/reference_tree.mli
parent3e66b20e08e4c3271a13797dade33426cad3fde0 (diff)
downloadvyconf-f2b20137711c8d6f2e468595d484b1e8ba3b1efd.tar.gz
vyconf-f2b20137711c8d6f2e468595d484b1e8ba3b1efd.zip
T226: Add secret and hidden properties to the reference tree.
Diffstat (limited to 'src/reference_tree.mli')
-rw-r--r--src/reference_tree.mli6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/reference_tree.mli b/src/reference_tree.mli
index f0d7807..3bbfc4b 100644
--- a/src/reference_tree.mli
+++ b/src/reference_tree.mli
@@ -10,6 +10,8 @@ type ref_node_data = {
valueless: bool;
owner: string option;
keep_order: bool;
+ hidden: bool;
+ secret: bool;
}
exception Validation_error of string
@@ -23,3 +25,7 @@ val load_from_xml : t -> string -> t
val validate_path : string -> t -> string list -> string list * string option
val is_multi : t -> string list -> bool
+
+val is_hidden : t -> string list -> bool
+
+val is_secret : t -> string list -> bool