Tor  0.4.6.0-alpha-dev
mainloop_state_st.h
Go to the documentation of this file.
1 /* Copyright (c) 2001 Matej Pfajfar.
2  * Copyright (c) 2001-2004, Roger Dingledine.
3  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4  * Copyright (c) 2007-2020, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
7 /**
8  * @file mainloop_state_st.h
9  * @brief Declare a state structure for mainloop-relevant fields
10  **/
11 
12 #ifndef TOR_CORE_MAINLOOP_MAINLOOP_STATE_ST_H
13 #define TOR_CORE_MAINLOOP_MAINLOOP_STATE_ST_H
14 
15 #include "lib/conf/confdecl.h"
16 
17 #define CONF_CONTEXT STRUCT
19 #undef CONF_CONTEXT
20 
21 typedef struct mainloop_state_t mainloop_state_t;
22 
23 #endif /* !defined(TOR_CORE_MAINLOOP_MAINLOOP_STATE_ST_H) */
confdecl.h
Macros for generating a configuration struct from a list of its individual fields.
mainloop_state.inc
Declare configuration options for the crypto_ops module.
mainloop_state_t
Definition: mainloop_state.inc:9