Commit 7caa8351 authored by Sebastian Hahn's avatar Sebastian Hahn
Browse files

Create rendclient.h

parent 31e81439
......@@ -10,6 +10,7 @@
**/
#include "or.h"
#include "rendclient.h"
#include "rendcommon.h"
#include "routerlist.h"
#include "ht.h"
......
......@@ -10,6 +10,7 @@
**/
#include "or.h"
#include "rendclient.h"
#include "rendcommon.h"
#include "router.h"
#include "routerlist.h"
......
......@@ -13,6 +13,7 @@
#include "or.h"
#include "geoip.h"
#include "rendclient.h"
#include "router.h"
#include "routerlist.h"
#ifdef MS_WINDOWS
......
......@@ -13,6 +13,7 @@
#include "or.h"
#include "dnsserv.h"
#include "geoip.h"
#include "rendclient.h"
#include "rendcommon.h"
#include "router.h"
......
......@@ -11,6 +11,7 @@
#include "or.h"
#include "dnsserv.h"
#include "rendclient.h"
#include "rendcommon.h"
#include "router.h"
#include "routerlist.h"
......
......@@ -5,6 +5,7 @@
#include "or.h"
#include "geoip.h"
#include "rendclient.h"
#include "rendcommon.h"
#include "router.h"
#include "routerlist.h"
......
......@@ -14,6 +14,7 @@
#include "or.h"
#include "dnsserv.h"
#include "geoip.h"
#include "rendclient.h"
#include "rendcommon.h"
#include "router.h"
#include "routerlist.h"
......
......@@ -4612,32 +4612,6 @@ void rep_hist_buffer_stats_add_circ(circuit_t *circ,
time_t end_of_interval);
void rep_hist_buffer_stats_write(time_t now);
/********************************* rendclient.c ***************************/
void rend_client_introcirc_has_opened(origin_circuit_t *circ);
void rend_client_rendcirc_has_opened(origin_circuit_t *circ);
int rend_client_introduction_acked(origin_circuit_t *circ, const char *request,
size_t request_len);
void rend_client_refetch_v2_renddesc(const rend_data_t *rend_query);
int rend_client_remove_intro_point(extend_info_t *failed_intro,
const rend_data_t *rend_query);
int rend_client_rendezvous_acked(origin_circuit_t *circ, const char *request,
size_t request_len);
int rend_client_receive_rendezvous(origin_circuit_t *circ, const char *request,
size_t request_len);
void rend_client_desc_trynow(const char *query);
extend_info_t *rend_client_get_random_intro(const rend_data_t *rend_query);
int rend_client_send_introduction(origin_circuit_t *introcirc,
origin_circuit_t *rendcirc);
int rend_parse_service_authorization(or_options_t *options,
int validate_only);
rend_service_authorization_t *rend_client_lookup_service_authorization(
const char *onion_address);
void rend_service_authorization_free_all(void);
rend_data_t *rend_data_dup(const rend_data_t *request);
/********************************* rendcommon.c ***************************/
/** Hidden-service side configuration of client authorization. */
......
......@@ -8,6 +8,7 @@
**/
#include "or.h"
#include "rendclient.h"
#include "rendcommon.h"
#include "routerlist.h"
......
/* 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 rendclient.h
* \brief Header file for client rend functions
**/
#ifndef _TOR_RENDCLIENT_H
#define _TOR_RENDCLIENT_H
void rend_client_introcirc_has_opened(origin_circuit_t *circ);
void rend_client_rendcirc_has_opened(origin_circuit_t *circ);
int rend_client_introduction_acked(origin_circuit_t *circ, const char *request,
size_t request_len);
void rend_client_refetch_v2_renddesc(const rend_data_t *rend_query);
int rend_client_remove_intro_point(extend_info_t *failed_intro,
const rend_data_t *rend_query);
int rend_client_rendezvous_acked(origin_circuit_t *circ, const char *request,
size_t request_len);
int rend_client_receive_rendezvous(origin_circuit_t *circ, const char *request,
size_t request_len);
void rend_client_desc_trynow(const char *query);
extend_info_t *rend_client_get_random_intro(const rend_data_t *rend_query);
int rend_client_send_introduction(origin_circuit_t *introcirc,
origin_circuit_t *rendcirc);
int rend_parse_service_authorization(or_options_t *options,
int validate_only);
rend_service_authorization_t *rend_client_lookup_service_authorization(
const char *onion_address);
void rend_service_authorization_free_all(void);
rend_data_t *rend_data_dup(const rend_data_t *request);
#endif
......@@ -9,6 +9,7 @@
**/
#include "or.h"
#include "rendclient.h"
#include "rendcommon.h"
#include "routerlist.h"
......
......@@ -8,6 +8,7 @@
**/
#include "or.h"
#include "rendclient.h"
#include "rendcommon.h"
#include "router.h"
#include "routerlist.h"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment