mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Create rendmid.h
This commit is contained in:
-10
@@ -3432,16 +3432,6 @@ typedef struct rend_cache_entry_t {
|
||||
rend_service_descriptor_t *parsed; /**< Parsed value of 'desc' */
|
||||
} rend_cache_entry_t;
|
||||
|
||||
/********************************* rendmid.c *******************************/
|
||||
int rend_mid_establish_intro(or_circuit_t *circ, const char *request,
|
||||
size_t request_len);
|
||||
int rend_mid_introduce(or_circuit_t *circ, const char *request,
|
||||
size_t request_len);
|
||||
int rend_mid_establish_rendezvous(or_circuit_t *circ, const char *request,
|
||||
size_t request_len);
|
||||
int rend_mid_rendezvous(or_circuit_t *circ, const char *request,
|
||||
size_t request_len);
|
||||
|
||||
/********************************* routerlist.c ***************************/
|
||||
|
||||
/** Represents information about a single trusted directory server. */
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include "config.h"
|
||||
#include "rendclient.h"
|
||||
#include "rendcommon.h"
|
||||
#include "rendmid.h"
|
||||
#include "rendservice.h"
|
||||
#include "routerlist.h"
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include "circuitlist.h"
|
||||
#include "config.h"
|
||||
#include "relay.h"
|
||||
#include "rendmid.h"
|
||||
|
||||
/** Respond to an ESTABLISH_INTRO cell by checking the signed data and
|
||||
* setting the circuit's purpose and service pk digest.
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
/* Copyright (c) 2001 Matej Pfajfar.
|
||||
* Copyright (c) 2001-2004, Roger Dingledine.
|
||||
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
|
||||
* Copyright (c) 2007-2010, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* \file geoip.h
|
||||
* \brief Header file for geoip functions
|
||||
**/
|
||||
|
||||
#ifndef _TOR_GEOIP_H
|
||||
#define _TOR_GEOIP_H
|
||||
|
||||
int rend_mid_establish_intro(or_circuit_t *circ, const char *request,
|
||||
size_t request_len);
|
||||
int rend_mid_introduce(or_circuit_t *circ, const char *request,
|
||||
size_t request_len);
|
||||
int rend_mid_establish_rendezvous(or_circuit_t *circ, const char *request,
|
||||
size_t request_len);
|
||||
int rend_mid_rendezvous(or_circuit_t *circ, const char *request,
|
||||
size_t request_len);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user