blob: 42b619840e06af091f083f4fe558ef384eed1c47 [file] [log] [blame]
Václav Kubernát02a71152020-01-21 14:52:51 +01001/*
2 * Copyright (C) 2020 CESNET, https://photonics.cesnet.cz/
3 *
4 * Written by Václav Kubernát <kubernat@cesnet.cz>
5 *
6*/
7
8#include <libyang/Tree_Data.hpp>
9#include "ast_values.hpp"
10
11leaf_data_ leafValueFromValue(const libyang::S_Value& value, LY_DATA_TYPE type);