Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mike Perry
Tor
Commits
85a1d635
Commit
85a1d635
authored
Jul 22, 2010
by
Sebastian Hahn
Browse files
Create rendservice.h
parent
7caa8351
Changes
9
Hide whitespace changes
Inline
Side-by-side
src/or/circuituse.c
View file @
85a1d635
...
...
@@ -12,6 +12,7 @@
#include
"or.h"
#include
"rendclient.h"
#include
"rendcommon.h"
#include
"rendservice.h"
#include
"router.h"
#include
"routerlist.h"
...
...
src/or/config.c
View file @
85a1d635
...
...
@@ -14,6 +14,7 @@
#include
"or.h"
#include
"geoip.h"
#include
"rendclient.h"
#include
"rendservice.h"
#include
"router.h"
#include
"routerlist.h"
#ifdef MS_WINDOWS
...
...
src/or/connection_edge.c
View file @
85a1d635
...
...
@@ -13,6 +13,7 @@
#include
"dnsserv.h"
#include
"rendclient.h"
#include
"rendcommon.h"
#include
"rendservice.h"
#include
"router.h"
#include
"routerlist.h"
...
...
src/or/main.c
View file @
85a1d635
...
...
@@ -16,6 +16,7 @@
#include
"geoip.h"
#include
"rendclient.h"
#include
"rendcommon.h"
#include
"rendservice.h"
#include
"router.h"
#include
"routerlist.h"
#ifdef USE_DMALLOC
...
...
src/or/or.h
View file @
85a1d635
...
...
@@ -4661,30 +4661,6 @@ typedef struct rend_cache_entry_t {
rend_service_descriptor_t
*
parsed
;
/**< Parsed value of 'desc' */
}
rend_cache_entry_t
;
/********************************* rendservice.c ***************************/
int
num_rend_services
(
void
);
int
rend_config_services
(
or_options_t
*
options
,
int
validate_only
);
int
rend_service_load_keys
(
void
);
void
rend_services_init
(
void
);
void
rend_services_introduce
(
void
);
void
rend_consider_services_upload
(
time_t
now
);
void
rend_hsdir_routers_changed
(
void
);
void
rend_consider_descriptor_republication
(
void
);
void
rend_service_intro_has_opened
(
origin_circuit_t
*
circuit
);
int
rend_service_intro_established
(
origin_circuit_t
*
circuit
,
const
char
*
request
,
size_t
request_len
);
void
rend_service_rendezvous_has_opened
(
origin_circuit_t
*
circuit
);
int
rend_service_introduce
(
origin_circuit_t
*
circuit
,
const
char
*
request
,
size_t
request_len
);
void
rend_service_relaunch_rendezvous
(
origin_circuit_t
*
oldcirc
);
int
rend_service_set_connection_addr_port
(
edge_connection_t
*
conn
,
origin_circuit_t
*
circ
);
void
rend_service_dump_stats
(
int
severity
);
void
rend_service_free_all
(
void
);
/********************************* rendmid.c *******************************/
int
rend_mid_establish_intro
(
or_circuit_t
*
circ
,
const
char
*
request
,
size_t
request_len
);
...
...
src/or/rendcommon.c
View file @
85a1d635
...
...
@@ -11,6 +11,7 @@
#include
"or.h"
#include
"rendclient.h"
#include
"rendcommon.h"
#include
"rendservice.h"
#include
"routerlist.h"
/** Return 0 if one and two are the same service ids, else -1 or 1 */
...
...
src/or/rendservice.c
View file @
85a1d635
...
...
@@ -10,6 +10,7 @@
#include
"or.h"
#include
"rendclient.h"
#include
"rendcommon.h"
#include
"rendservice.h"
#include
"router.h"
#include
"routerlist.h"
...
...
src/or/rendservice.h
0 → 100644
View file @
85a1d635
/* 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 rendservice.h
* \brief Header file for rendservice functions
**/
#ifndef _TOR_RENDSERVICE_H
#define _TOR_RENDSERVICE_H
int
num_rend_services
(
void
);
int
rend_config_services
(
or_options_t
*
options
,
int
validate_only
);
int
rend_service_load_keys
(
void
);
void
rend_services_init
(
void
);
void
rend_services_introduce
(
void
);
void
rend_consider_services_upload
(
time_t
now
);
void
rend_hsdir_routers_changed
(
void
);
void
rend_consider_descriptor_republication
(
void
);
void
rend_service_intro_has_opened
(
origin_circuit_t
*
circuit
);
int
rend_service_intro_established
(
origin_circuit_t
*
circuit
,
const
char
*
request
,
size_t
request_len
);
void
rend_service_rendezvous_has_opened
(
origin_circuit_t
*
circuit
);
int
rend_service_introduce
(
origin_circuit_t
*
circuit
,
const
char
*
request
,
size_t
request_len
);
void
rend_service_relaunch_rendezvous
(
origin_circuit_t
*
oldcirc
);
int
rend_service_set_connection_addr_port
(
edge_connection_t
*
conn
,
origin_circuit_t
*
circ
);
void
rend_service_dump_stats
(
int
severity
);
void
rend_service_free_all
(
void
);
#endif
src/or/routerlist.c
View file @
85a1d635
...
...
@@ -14,6 +14,7 @@
#include
"or.h"
#include
"geoip.h"
#include
"rendcommon.h"
#include
"rendservice.h"
#include
"router.h"
#include
"routerlist.h"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment