tor/src/feature/relay/relay_stub.c
Nick Mathewson 13df744921 Declare relay/dirauth subsystem levels in a header.
This way, we can't get out of sync between the two declarations.
2019-12-19 07:54:56 -05:00

20 lines
548 B
C

/* Copyright (c) 2001 Matej Pfajfar.
* Copyright (c) 2001-2004, Roger Dingledine.
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
* Copyright (c) 2007-2019, 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,
};