Tor  0.4.7.0-alpha-dev
dos_options_st.h
Go to the documentation of this file.
1 /* Copyright (c) 2021-2021, The Tor Project, Inc. */
2 /* See LICENSE for licensing information */
3 
4 /**
5  * @file dos_options_st.h
6  * @brief Structure dos_options_t to hold options for the DoS subsystem.
7  **/
8 
9 #ifndef TOR_CORE_OR_DOS_OPTIONS_ST_H
10 #define TOR_CORE_OR_DOS_OPTIONS_ST_H
11 
12 #include "lib/conf/confdecl.h"
13 
14 #define CONF_CONTEXT STRUCT
15 #include "core/or/dos_options.inc"
16 #undef CONF_CONTEXT
17 
18 typedef struct dos_options_t dos_options_t;
19 
20 #endif /* !defined(TOR_CORE_OR_DOS_OPTIONS_ST_H) */
Macros for generating a configuration struct from a list of its individual fields.
Declare configuration options for the DoS module.