summaryrefslogtreecommitdiff
path: root/src/or/rendservice.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-04-05 12:26:02 -0400
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:33 -0400
commit100386e659533cfa92c5bfff93a15fb3535f7970 (patch)
tree9b658596a0c62cb738e876ded2dc975155bc2243 /src/or/rendservice.h
parentdfa6301aed8f1c7164b1e8513ab64119944d976c (diff)
downloadtor-100386e659533cfa92c5bfff93a15fb3535f7970.tar.gz
tor-100386e659533cfa92c5bfff93a15fb3535f7970.zip
prop224: Support legacy INTRODUCE2 cell
Also rename some function to follow a bit more the naming convention in that file. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/rendservice.h')
-rw-r--r--src/or/rendservice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/rendservice.h b/src/or/rendservice.h
index a6d6ec6a46..819dfc176e 100644
--- a/src/or/rendservice.h
+++ b/src/or/rendservice.h
@@ -17,8 +17,6 @@
typedef struct rend_intro_cell_s rend_intro_cell_t;
-#ifdef RENDSERVICE_PRIVATE
-
/* This can be used for both INTRODUCE1 and INTRODUCE2 */
struct rend_intro_cell_s {
@@ -63,6 +61,8 @@ struct rend_intro_cell_s {
uint8_t dh[DH_KEY_LEN];
};
+#ifdef RENDSERVICE_PRIVATE
+
/** Represents a single hidden service running at this OP. */
typedef struct rend_service_t {
/* Fields specified in config file */