2019-12-15 18:10:11 -05:00
|
|
|
/* Copyright (c) 2001 Matej Pfajfar.
|
|
|
|
* Copyright (c) 2001-2004, Roger Dingledine.
|
|
|
|
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
|
2020-01-08 18:39:17 -05:00
|
|
|
* Copyright (c) 2007-2020, The Tor Project, Inc. */
|
2019-12-15 18:10:11 -05:00
|
|
|
/* 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",
|
2020-02-14 09:57:46 -05:00
|
|
|
SUBSYS_DECLARE_LOCATION(),
|
2019-12-15 18:10:11 -05:00
|
|
|
.supported = false,
|
2019-12-18 11:49:26 -05:00
|
|
|
.level = RELAY_SUBSYS_LEVEL,
|
2019-12-15 18:10:11 -05:00
|
|
|
};
|