Tor
0.4.7.0-alpha-dev
feature
relay
relay_stub.c
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-2021, The Tor Project, Inc. */
5
/* See LICENSE for licensing information */
6
7
/**
8
* @file relay_stub.c
9
* @brief Stub declarations for use when relay module is disabled.
10
**/
11
12
#include "orconfig.h"
13
#include "
feature/relay/relay_sys.h
"
14
#include "
lib/subsys/subsys.h
"
15
16
const
struct
subsys_fns_t
sys_relay = {
17
.
name
=
"relay"
,
18
SUBSYS_DECLARE_LOCATION
(),
19
.supported =
false
,
20
.level =
RELAY_SUBSYS_LEVEL
,
21
};
relay_sys.h
Header for feature/relay/relay_sys.c.
RELAY_SUBSYS_LEVEL
#define RELAY_SUBSYS_LEVEL
Definition:
relay_sys.h:23
subsys_fns_t
Definition:
subsys.h:38
subsys_fns_t::name
const char * name
Definition:
subsys.h:43
subsys.h
Types used to declare a subsystem.
SUBSYS_DECLARE_LOCATION
#define SUBSYS_DECLARE_LOCATION()
Definition:
subsys.h:211
Generated by
1.9.1