Tor  0.4.7.0-alpha-dev
Functions
proxymode.c File Reference

Determine whether we are trying to be a proxy. More...

#include "core/or/or.h"
#include "app/config/config.h"
#include "core/mainloop/connection.h"
#include "core/or/port_cfg_st.h"
#include "feature/client/proxymode.h"

Go to the source code of this file.

Functions

int proxy_mode (const or_options_t *options)
 

Detailed Description

Determine whether we are trying to be a proxy.

Definition in file proxymode.c.

Function Documentation

◆ proxy_mode()

int proxy_mode ( const or_options_t options)

Return true iff we are trying to proxy client connections.

Definition at line 21 of file proxymode.c.

Referenced by circuit_expire_old_circs_as_needed(), and signewnym_impl().