diff options
author | imarom <imarom@cisco.com> | 2016-06-27 17:15:05 +0300 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2016-07-03 13:40:20 +0300 |
commit | f03fa158116cfd65659d14698c91446dc9bdb4c4 (patch) | |
tree | 7a270a99b50c4409c5a40acf9d14cccc339cc3ab /src/utl_yaml.h | |
parent | 6535523a2768a5c867fd22b4fa62c7fb43fd9ad8 (diff) |
draft #3 of client config
Diffstat (limited to 'src/utl_yaml.h')
-rwxr-xr-x | src/utl_yaml.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/utl_yaml.h b/src/utl_yaml.h index 71655488..1ada1d66 100755 --- a/src/utl_yaml.h +++ b/src/utl_yaml.h @@ -27,19 +27,23 @@ limitations under the License. bool utl_yaml_read_ip_addr(const YAML::Node& node, - std::string name, - uint32_t & val - ); + const std::string &name, + uint32_t & val); + +bool utl_yaml_read_mac_addr(const YAML::Node &node, + const std::string &name, + uint64_t &val); bool utl_yaml_read_uint32(const YAML::Node& node, - std::string name, - uint32_t & val); + const std::string &name, + uint32_t & val); + bool utl_yaml_read_uint16(const YAML::Node& node, - std::string name, - uint16_t & val); + const std::string &name, + uint16_t & val); bool utl_yaml_read_bool(const YAML::Node& node, - std::string name, + const std::string &name, bool & val); |