blob: c462852814d28142db020c3889a046c9063916c7 [file] [log] [blame]
Radek Krejci58685c12015-10-05 12:35:06 +02001/**
Radek Krejcic16b5812016-09-27 15:48:43 +02002 * @file config.h
Radek Krejci58685c12015-10-05 12:35:06 +02003 * @author Radek Krejci <rkrejci@cesnet.cz>
4 * @brief cmocka tests configuration header.
5 *
Michal Vasko7d3ad5a2018-03-27 14:22:19 +02006 * Copyright (c) 2015 - 2018 CESNET, z.s.p.o.
Radek Krejci58685c12015-10-05 12:35:06 +02007 *
Radek Krejci54f6fb32016-02-24 12:56:39 +01008 * This source code is licensed under BSD 3-Clause License (the "License").
9 * You may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
Michal Vasko8de098c2016-02-26 10:00:25 +010011 *
Radek Krejci54f6fb32016-02-24 12:56:39 +010012 * https://opensource.org/licenses/BSD-3-Clause
Radek Krejci58685c12015-10-05 12:35:06 +020013 */
Michal Vasko7d3ad5a2018-03-27 14:22:19 +020014#ifndef LYTEST_CONFIG_H_
15#define LYTEST_CONFIG_H_
Radek Krejci58685c12015-10-05 12:35:06 +020016
Michal Vasko13af2602018-07-10 15:44:24 +020017#define UNUSED(x) @COMPILER_UNUSED_ATTR@
18
Alexandre Snarskii8e5e0712018-09-03 18:35:38 +030019#define TESTS_DIR "@TESTS_DIR@"
Michal Vasko7d3ad5a2018-03-27 14:22:19 +020020#define BUILD_DIR "@PROJECT_BINARY_DIR@"
21
Michal Vasko24affa02018-04-03 09:06:06 +020022#ifdef LY_ENABLED_CACHE
23int lyd_list_has_keys(struct lyd_node *list);
24#endif
25
Michal Vasko7d3ad5a2018-03-27 14:22:19 +020026#endif /* LYTEST_CONFIG_H_ */