mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-28 08:54:24 +01:00
proxy_mode() was in routermode.[ch], but it's actually a client mode. Move it into client/proxymode.[ch]. Part of 32123.
23 lines
669 B
C
23 lines
669 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 routermode.h
|
|
* \brief Header file for routermode.c.
|
|
**/
|
|
|
|
#ifndef TOR_ROUTERMODE_H
|
|
#define TOR_ROUTERMODE_H
|
|
|
|
int dir_server_mode(const or_options_t *options);
|
|
|
|
MOCK_DECL(int, server_mode, (const or_options_t *options));
|
|
MOCK_DECL(int, public_server_mode, (const or_options_t *options));
|
|
MOCK_DECL(int, advertised_server_mode, (void));
|
|
|
|
void set_server_advertised(int s);
|
|
|
|
#endif /* !defined(TOR_ROUTERMODE_H) */
|