Tor  0.4.5.0-alpha-dev
Data Structures | Macros | Enumerations
or_options_st.h File Reference

The or_options_t structure, which represents Tor's configuration. More...

#include "core/or/or.h"
#include "lib/cc/torint.h"
#include "lib/net/address.h"
#include "app/config/tor_cmdline_mode.h"

Go to the source code of this file.

Data Structures

struct  or_options_t
 

Macros

#define MAX_MAX_CLIENT_CIRCUITS_PENDING   1024
 

Enumerations

enum  outbound_addr_t { OUTBOUND_ADDR_EXIT, OUTBOUND_ADDR_OR, OUTBOUND_ADDR_EXIT_AND_OR, OUTBOUND_ADDR_MAX }
 
enum  tcp_proxy_protocol_t { TCP_PROXY_PROTOCOL_HAPROXY }
 
enum  key_expiration_format_t { KEY_EXPIRATION_FORMAT_ISO8601 = 0, KEY_EXPIRATION_FORMAT_TIMESTAMP }
 

Detailed Description

The or_options_t structure, which represents Tor's configuration.

Definition in file or_options_st.h.

Enumeration Type Documentation

◆ key_expiration_format_t

Enumeration of available time formats for output of –key-expiration

Definition at line 39 of file or_options_st.h.

◆ outbound_addr_t

Enumeration of outbound address configuration types: Exit-only, OR-only, or both

Definition at line 28 of file or_options_st.h.

◆ tcp_proxy_protocol_t

Which protocol to use for TCPProxy.

Enumerator
TCP_PROXY_PROTOCOL_HAPROXY 

Use the HAProxy proxy protocol.

Definition at line 33 of file or_options_st.h.