Tor  0.4.6.0-alpha-dev
rendparse.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 rendparse.h
9  * \brief Header file for rendparse.c.
10  **/
11 
12 #ifndef TOR_REND_PARSE_H
13 #define TOR_REND_PARSE_H
14 
16  char *desc_id_out,
17  char **intro_points_encrypted_out,
18  size_t *intro_points_encrypted_size_out,
19  size_t *encoded_size_out,
20  const char **next_out, const char *desc,
21  int as_hsdir);
22 int rend_decrypt_introduction_points(char **ipos_decrypted,
23  size_t *ipos_decrypted_size,
24  const char *descriptor_cookie,
25  const char *ipos_encrypted,
26  size_t ipos_encrypted_size);
28  const char *intro_points_encoded,
29  size_t intro_points_encoded_size);
30 int rend_parse_client_keys(strmap_t *parsed_clients, const char *str);
31 
32 #endif /* !defined(TOR_REND_PARSE_H) */
rend_parse_client_keys
int rend_parse_client_keys(strmap_t *parsed_clients, const char *str)
Definition: rendparse.c:523
rend_service_descriptor_t
Definition: rend_service_descriptor_st.h:19
rend_parse_introduction_points
int rend_parse_introduction_points(rend_service_descriptor_t *parsed, const char *intro_points_encoded, size_t intro_points_encoded_size)
Definition: rendparse.c:379
rend_parse_v2_service_descriptor
int rend_parse_v2_service_descriptor(rend_service_descriptor_t **parsed_out, char *desc_id_out, char **intro_points_encrypted_out, size_t *intro_points_encrypted_size_out, size_t *encoded_size_out, const char **next_out, const char *desc, int as_hsdir)
Definition: rendparse.c:73
rend_decrypt_introduction_points
int rend_decrypt_introduction_points(char **ipos_decrypted, size_t *ipos_decrypted_size, const char *descriptor_cookie, const char *ipos_encrypted, size_t ipos_encrypted_size)
Definition: rendparse.c:268