tor  0.4.2.0-alpha-dev
control_connection_st.h
1 /* Copyright (c) 2001 Matej Pfajfar.
2  * Copyright (c) 2001-2004, Roger Dingledine.
3  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4  * Copyright (c) 2007-2019, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
7 #ifndef CONTROL_CONNECTION_ST_H
8 #define CONTROL_CONNECTION_ST_H
9 
10 #include "core/or/or.h"
11 #include "core/or/connection_st.h"
12 
15  connection_t base_;
16 
17  uint64_t event_mask;
22  unsigned int have_sent_protocolinfo:1;
26 
29 
35 
37  uint32_t incoming_cmd_len;
42  char *incoming_cmd;
44  char *current_cmd;
45 };
46 
47 #endif /* !defined(CONTROL_CONNECTION_ST_H) */
unsigned int have_sent_protocolinfo
Master header file for Tor-specific functionality.
unsigned int is_owning_control_connection
smartlist_t * ephemeral_onion_services