Radek Krejci | ce24ab8 | 2015-10-08 15:37:02 +0200 | [diff] [blame] | 1 | /** |
Michal Vasko | 6cf75dd | 2016-02-03 15:35:11 +0100 | [diff] [blame] | 2 | * @file config.h |
Radek Krejci | ce24ab8 | 2015-10-08 15:37:02 +0200 | [diff] [blame] | 3 | * @author Radek Krejci <rkrejci@cesnet.cz> |
| 4 | * @brief cmocka tests configuration header. |
| 5 | * |
| 6 | * Copyright (c) 2015 CESNET, z.s.p.o. |
| 7 | * |
Radek Krejci | 9b81f5b | 2016-02-24 13:14:49 +0100 | [diff] [blame] | 8 | * 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 Vasko | ad1cc6a | 2016-02-26 15:06:06 +0100 | [diff] [blame] | 11 | * |
Radek Krejci | 9b81f5b | 2016-02-24 13:14:49 +0100 | [diff] [blame] | 12 | * https://opensource.org/licenses/BSD-3-Clause |
Radek Krejci | ce24ab8 | 2015-10-08 15:37:02 +0200 | [diff] [blame] | 13 | */ |
| 14 | |
Michal Vasko | ba06534 | 2017-01-30 14:50:08 +0100 | [diff] [blame] | 15 | #ifdef __GNUC__ |
| 16 | # define UNUSED(x) UNUSED_ ## x __attribute__((__unused__)) |
| 17 | #else |
| 18 | # define UNUSED(x) UNUSED_ ## x |
| 19 | #endif |
| 20 | |
Michal Vasko | 3c37b4f | 2020-01-03 05:11:39 -0500 | [diff] [blame] | 21 | #define TESTS_DIR "@CMAKE_SOURCE_DIR@/tests" |
roman | c1d2b09 | 2023-02-02 08:58:27 +0100 | [diff] [blame] | 22 | #define MODULES_DIR "@CMAKE_SOURCE_DIR@/modules" |
roman | e15ad54 | 2022-07-27 10:03:46 +0200 | [diff] [blame] | 23 | #define BUILD_DIR "@CMAKE_BINARY_DIR@" |
Radek Krejci | ce24ab8 | 2015-10-08 15:37:02 +0200 | [diff] [blame] | 24 | |
Michal Vasko | 6cf75dd | 2016-02-03 15:35:11 +0100 | [diff] [blame] | 25 | @SSH_MACRO@ |
| 26 | @TLS_MACRO@ |
roman | 9b1379c | 2023-03-31 10:11:10 +0200 | [diff] [blame] | 27 | |
| 28 | /* nc_server.h local includes (not to use the installed ones) */ |
| 29 | #include "netconf.h" |
| 30 | #include "log.h" |
| 31 | #include "messages_server.h" |
| 32 | #include "server_config.h" |
| 33 | #include "session_server.h" |
| 34 | #include "session_server_ch.h" |
| 35 | |
| 36 | /* nc_client.h local includes (not to use the installed ones) */ |
| 37 | #include "messages_client.h" |
| 38 | #include "session_client.h" |
| 39 | #include "session_client_ch.h" |