blob: 42e08fcb6cb4f2f56ba50c4ce097e47c2a56483b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* 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 relay_stub.c
* @brief Stub declarations for use when relay module is disabled.
**/
#include "orconfig.h"
#include "feature/relay/relay_sys.h"
#include "lib/subsys/subsys.h"
const struct subsys_fns_t sys_relay = {
.name = "relay",
.supported = false,
.level = RELAY_SUBSYS_LEVEL,
};
|