Tor  0.4.4.0-alpha-dev
control_fmt.h
Go to the documentation of this file.
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-2020, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
7 /**
8  * \file control_fmt.h
9  * \brief Header file for control_fmt.c.
10  **/
11 
12 #ifndef TOR_CONTROL_FMT_H
13 #define TOR_CONTROL_FMT_H
14 
16  size_t len);
17 void orconn_target_get_name(char *buf, size_t len,
18  or_connection_t *conn);
21  entry_connection_t *conn);
22 
23 MOCK_DECL(const char *, node_describe_longname_by_id,(const char *id_digest));
24 
25 #endif /* !defined(TOR_CONTROL_FMT_H) */
const char * node_describe_longname_by_id(const char *id_digest)
Definition: control_fmt.c:269
int write_stream_target_to_buf(entry_connection_t *conn, char *buf, size_t len)
Definition: control_fmt.c:32
void orconn_target_get_name(char *buf, size_t len, or_connection_t *conn)
Definition: control_fmt.c:54
char * circuit_describe_status_for_controller(origin_circuit_t *circ)
Definition: control_fmt.c:73
char * entry_connection_describe_status_for_controller(const entry_connection_t *conn)
Definition: control_fmt.c:170
#define MOCK_DECL(rv, funcname, arglist)
Definition: testsupport.h:127