rendmid.h 845 B

12345678910111213141516171819202122232425
  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-2012, The Tor Project, Inc. */
  5. /* See LICENSE for licensing information */
  6. /**
  7. * \file rendmid.h
  8. * \brief Header file for rendmid.c.
  9. **/
  10. #ifndef _TOR_RENDMID_H
  11. #define _TOR_RENDMID_H
  12. int rend_mid_establish_intro(or_circuit_t *circ, const uint8_t *request,
  13. size_t request_len);
  14. int rend_mid_introduce(or_circuit_t *circ, const uint8_t *request,
  15. size_t request_len);
  16. int rend_mid_establish_rendezvous(or_circuit_t *circ, const uint8_t *request,
  17. size_t request_len);
  18. int rend_mid_rendezvous(or_circuit_t *circ, const uint8_t *request,
  19. size_t request_len);
  20. #endif