blob: 79b5f573f9df351d91f744a4f730343b988b6781 [file] [log] [blame]
Radek Krejcice24ab82015-10-08 15:37:02 +02001/**
Michal Vasko6cf75dd2016-02-03 15:35:11 +01002 * @file config.h
Radek Krejcice24ab82015-10-08 15:37:02 +02003 * @author Radek Krejci <rkrejci@cesnet.cz>
4 * @brief cmocka tests configuration header.
5 *
6 * Copyright (c) 2015 CESNET, z.s.p.o.
7 *
Radek Krejci9b81f5b2016-02-24 13:14:49 +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 Vaskoad1cc6a2016-02-26 15:06:06 +010011 *
Radek Krejci9b81f5b2016-02-24 13:14:49 +010012 * https://opensource.org/licenses/BSD-3-Clause
Radek Krejcice24ab82015-10-08 15:37:02 +020013 */
14
Michal Vaskoba065342017-01-30 14:50:08 +010015#ifdef __GNUC__
16# define UNUSED(x) UNUSED_ ## x __attribute__((__unused__))
17#else
18# define UNUSED(x) UNUSED_ ## x
19#endif
20
Michal Vasko3c37b4f2020-01-03 05:11:39 -050021#define TESTS_DIR "@CMAKE_SOURCE_DIR@/tests"
romanc1d2b092023-02-02 08:58:27 +010022#define MODULES_DIR "@CMAKE_SOURCE_DIR@/modules"
romane15ad542022-07-27 10:03:46 +020023#define BUILD_DIR "@CMAKE_BINARY_DIR@"
Radek Krejcice24ab82015-10-08 15:37:02 +020024
Michal Vasko6cf75dd2016-02-03 15:35:11 +010025@SSH_MACRO@
26@TLS_MACRO@
roman9b1379c2023-03-31 10:11:10 +020027
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"