aboutsummaryrefslogtreecommitdiff
path: root/src/or/ext_orport.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-07-16 13:42:25 -0400
committerNick Mathewson <nickm@torproject.org>2013-08-15 12:03:34 -0400
commite4a241af11dce61d8722b74ad41d6ea0bec44ef1 (patch)
tree7add7b7b25cd07121ff9eead63d8627a513130f0 /src/or/ext_orport.h
parent656842441039399aca0dee95b7c51be7a3749ce0 (diff)
downloadtor-e4a241af11dce61d8722b74ad41d6ea0bec44ef1.tar
tor-e4a241af11dce61d8722b74ad41d6ea0bec44ef1.tar.gz
Add guards to ext_orport.h, rename get_file to get_file_name
Diffstat (limited to 'src/or/ext_orport.h')
-rw-r--r--src/or/ext_orport.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/or/ext_orport.h b/src/or/ext_orport.h
index a7038b918..89c3032df 100644
--- a/src/or/ext_orport.h
+++ b/src/or/ext_orport.h
@@ -1,3 +1,12 @@
+/* Copyright (c) 2001 Matej Pfajfar.
+ * Copyright (c) 2001-2004, Roger Dingledine.
+ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
+ * Copyright (c) 2007-2013, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
+#ifndef EXT_ORPORT_H
+#define EXT_ORPORT_H
+
int connection_ext_or_start_auth(or_connection_t *or_conn);
ext_or_cmd_t *ext_or_cmd_new(uint16_t len);
@@ -10,5 +19,7 @@ int connection_ext_or_finished_flushing(or_connection_t *conn);
int connection_ext_or_process_inbuf(or_connection_t *or_conn);
int init_ext_or_cookie_authentication(int is_enabled);
-char *get_ext_or_auth_cookie_file(void);
+char *get_ext_or_auth_cookie_file_name(void);
+
+#endif