| /** |
| * @file config.h |
| * @author Radek Krejci <rkrejci@cesnet.cz> |
| * @brief cmocka tests configuration header. |
| * |
| * Copyright (c) 2015 CESNET, z.s.p.o. |
| * |
| * This source code is licensed under BSD 3-Clause License (the "License"). |
| * You may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * https://opensource.org/licenses/BSD-3-Clause |
| */ |
| |
| #ifdef __GNUC__ |
| # define UNUSED(x) UNUSED_ ## x __attribute__((__unused__)) |
| #else |
| # define UNUSED(x) UNUSED_ ## x |
| #endif |
| |
| #define TESTS_DIR "@CMAKE_SOURCE_DIR@/tests" |
| #define MODULES_DIR "@CMAKE_SOURCE_DIR@/modules" |
| #define BUILD_DIR "@CMAKE_BINARY_DIR@" |
| |
| @SSH_MACRO@ |
| @TLS_MACRO@ |
| |
| /* nc_server.h local includes (not to use the installed ones) */ |
| #include "netconf.h" |
| #include "log.h" |
| #include "messages_server.h" |
| #include "server_config.h" |
| #include "session_server.h" |
| #include "session_server_ch.h" |
| |
| /* nc_client.h local includes (not to use the installed ones) */ |
| #include "messages_client.h" |
| #include "session_client.h" |
| #include "session_client_ch.h" |