Tor
0.4.7.0-alpha-dev
|
Declare the "mainloop" subsystem. More...
#include "core/or/or.h"
#include "core/mainloop/mainloop_sys.h"
#include "core/mainloop/mainloop.h"
#include "core/mainloop/mainloop_state_st.h"
#include "core/mainloop/netstatus.h"
#include "lib/conf/conftypes.h"
#include "lib/conf/confdecl.h"
#include "lib/subsys/subsys.h"
#include "core/mainloop/mainloop_state.inc"
Go to the source code of this file.
Macros | |
#define | CONF_CONTEXT TABLE |
#define | MAINLOOP_STATE_MAGIC 0x59455449 |
Functions | |
static int | subsys_mainloop_initialize (void) |
static void | subsys_mainloop_shutdown (void) |
static int | mainloop_set_state (void *arg) |
static int | mainloop_flush_state (void *arg) |
Variables | |
static config_format_t | mainloop_state_fmt |
const struct subsys_fns_t | sys_mainloop |
Declare the "mainloop" subsystem.
Definition in file mainloop_sys.c.
#define CONF_CONTEXT TABLE |
Declare a list of state variables for mainloop state.
Definition at line 36 of file mainloop_sys.c.
#define MAINLOOP_STATE_MAGIC 0x59455449 |
Magic number for mainloop state objects
Definition at line 41 of file mainloop_sys.c.
|
static |
Format object for mainloop state.
Definition at line 46 of file mainloop_sys.c.
const struct subsys_fns_t sys_mainloop |
Definition at line 69 of file mainloop_sys.c.