summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2015-04-26 12:47:48 +0600
committerDaniil Baturin <daniil@baturin.org>2015-04-26 12:47:48 +0600
commit124b2b2e1081e45bfd31bb71992f9b60550e6668 (patch)
treef1501faa4289e33a08caf2831d68bb7b6d5387d9 /src
parente72f0a0af5600589333070612e93ed5be3d06f7e (diff)
downloadvyconf-124b2b2e1081e45bfd31bb71992f9b60550e6668.tar.gz
vyconf-124b2b2e1081e45bfd31bb71992f9b60550e6668.zip
Expose Vytree.find/find_or_fail.
Diffstat (limited to 'src')
-rw-r--r--src/vytree.mli3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vytree.mli b/src/vytree.mli
index 2ce7a36..4f57a0e 100644
--- a/src/vytree.mli
+++ b/src/vytree.mli
@@ -16,6 +16,9 @@ val name_of_node : 'a t -> string
val data_of_node : 'a t -> 'a
val children_of_node : 'a t -> 'a t list
+val find : 'a t -> string -> 'a t option
+val find_or_fail : 'a t -> string -> 'a t
+
val insert : 'a t -> string list -> 'a -> 'a t
val delete : 'a t -> string list -> 'a t