aboutsummaryrefslogtreecommitdiff
path: root/src/core/mainloop/mainloop_state_st.h
blob: 5649b536f916598fe379031da2f427a45ee1bdcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* Copyright (c) 2001 Matej Pfajfar.
 * Copyright (c) 2001-2004, Roger Dingledine.
 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
 * Copyright (c) 2007-2020, The Tor Project, Inc. */
/* See LICENSE for licensing information */

/**
 * @file mainloop_state_st.h
 * @brief Declare a state structure for mainloop-relevant fields
 **/

#ifndef TOR_CORE_MAINLOOP_MAINLOOP_STATE_ST_H
#define TOR_CORE_MAINLOOP_MAINLOOP_STATE_ST_H

#include "lib/conf/confdecl.h"

#define CONF_CONTEXT STRUCT
#include "core/mainloop/mainloop_state.inc"
#undef CONF_CONTEXT

typedef struct mainloop_state_t mainloop_state_t;

#endif /* !defined(TOR_CORE_MAINLOOP_MAINLOOP_STATE_ST_H) */