Tor  0.4.6.0-alpha-dev
rend_encoded_v2_service_descriptor_st.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 rend_encoded_v2_service_descriptor_st.h
9  * @brief Encoded v2 HS descriptor structure.
10  **/
11 
12 #ifndef REND_ENCODED_V2_SERVICE_DESCRIPTOR_ST_H
13 #define REND_ENCODED_V2_SERVICE_DESCRIPTOR_ST_H
14 
15 /** ASCII-encoded v2 hidden service descriptor. */
17  char desc_id[DIGEST_LEN]; /**< Descriptor ID. */
18  char *desc_str; /**< Descriptor string. */
19 };
20 
21 #endif /* !defined(REND_ENCODED_V2_SERVICE_DESCRIPTOR_ST_H) */
rend_encoded_v2_service_descriptor_t::desc_str
char * desc_str
Definition: rend_encoded_v2_service_descriptor_st.h:18
DIGEST_LEN
#define DIGEST_LEN
Definition: digest_sizes.h:20
rend_encoded_v2_service_descriptor_t
Definition: rend_encoded_v2_service_descriptor_st.h:16
rend_encoded_v2_service_descriptor_t::desc_id
char desc_id[DIGEST_LEN]
Definition: rend_encoded_v2_service_descriptor_st.h:17