rend_encoded_v2_service_descriptor_st.h 545 B

1234567891011121314151617
  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. #ifndef REND_ENCODED_V2_SERVICE_DESCRIPTOR_ST_H
  7. #define REND_ENCODED_V2_SERVICE_DESCRIPTOR_ST_H
  8. /** ASCII-encoded v2 hidden service descriptor. */
  9. struct rend_encoded_v2_service_descriptor_t {
  10. char desc_id[DIGEST_LEN]; /**< Descriptor ID. */
  11. char *desc_str; /**< Descriptor string. */
  12. };
  13. #endif