tor  0.4.2.0-alpha-dev
rendparse.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 
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) */
int rend_parse_introduction_points(rend_service_descriptor_t *parsed, const char *intro_points_encoded, size_t intro_points_encoded_size)
Definition: rendparse.c:378
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:267
int rend_parse_client_keys(strmap_t *parsed_clients, const char *ckstr)
Definition: rendparse.c:516
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:72