prop289: Move SENDME cell processing in a separate function
[tor.git] / src / feature / rend / rend_authorized_client_st.h
blob7bd4f2fe8c55817e9919dfb3fea2357ffbd816a4
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 */
7 #ifndef REND_AUTHORIZED_CLIENT_ST_H
8 #define REND_AUTHORIZED_CLIENT_ST_H
10 /** Hidden-service side configuration of client authorization. */
11 struct rend_authorized_client_t {
12 char *client_name;
13 uint8_t descriptor_cookie[REND_DESC_COOKIE_LEN];
14 crypto_pk_t *client_key;
17 #endif