YAML processing

Overview

YAML processing

Copyright (C) 2020-2022 OKTET Labs Ltd. More…

// global functions

static const char* te_yaml_scalar_value(const yaml_node_t* node);
static bool te_yaml_value_is_true(const char* value);

Detailed Documentation

YAML processing

Copyright (C) 2020-2022 OKTET Labs Ltd. All rights reserved.

Global Functions

static const char* te_yaml_scalar_value(const yaml_node_t* node)

Extract the value if it’s a scalar node

static bool te_yaml_value_is_true(const char* value)

Check if a value is defined and is a possible YAML value for “true”