GNUnet
0.19.4
testing_messenger_setup.h
Go to the documentation of this file.
1
/*
2
This file is part of GNUnet.
3
Copyright (C) 2021 GNUnet e.V.
4
5
GNUnet is free software: you can redistribute it and/or modify it
6
under the terms of the GNU Affero General Public License as published
7
by the Free Software Foundation, either version 3 of the License,
8
or (at your option) any later version.
9
10
GNUnet is distributed in the hope that it will be useful, but
11
WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
Affero General Public License for more details.
14
15
You should have received a copy of the GNU Affero General Public License
16
along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18
SPDX-License-Identifier: AGPL3.0-or-later
19
*/
26
#ifndef GNUNET_TESTING_MESSENGER_SETUP_H_
27
#define GNUNET_TESTING_MESSENGER_SETUP_H_
28
29
struct
test_configuration
30
{
31
unsigned
int
count
;
32
unsigned
int
*
doors
;
33
unsigned
int
*
stages
;
34
};
35
36
int
37
GNUNET_run_messenger_setup
(
const
char
* test_name,
38
const
struct
test_configuration
*
cfg
);
39
40
#endif
/* GNUNET_TESTING_MESSENGER_SETUP_H_ */
cfg
static const struct GNUNET_CONFIGURATION_Handle * cfg
Configuration we are using.
Definition:
gnunet-abd.c:36
test_configuration
Definition:
testing_messenger_setup.h:30
test_configuration::count
unsigned int count
Definition:
testing_messenger_setup.h:31
test_configuration::stages
unsigned int * stages
Definition:
testing_messenger_setup.h:33
test_configuration::doors
unsigned int * doors
Definition:
testing_messenger_setup.h:32
GNUNET_run_messenger_setup
int GNUNET_run_messenger_setup(const char *test_name, const struct test_configuration *cfg)
Definition:
testing_messenger_setup.c:521
src
messenger
testing_messenger_setup.h
Generated by
1.9.1