Tor  0.4.7.0-alpha-dev
or_sys.h
Go to the documentation of this file.
1 /* Copyright (c) 2001 Matej Pfajfar.
2  * Copyright (c) 2001-2004, Roger Dingledine.
3  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4  * Copyright (c) 2007-2021, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
7 /**
8  * @file or_sys.h
9  * @brief Header for core/or/or_sys.c
10  **/
11 
12 #ifndef TOR_CORE_OR_OR_SYS_H
13 #define TOR_CORE_OR_OR_SYS_H
14 
15 extern const struct subsys_fns_t sys_or;
16 
17 struct pubsub_connector_t;
18 int ocirc_add_pubsub(struct pubsub_connector_t *connector);
19 int orconn_add_pubsub(struct pubsub_connector_t *connector);
20 
21 #endif /* !defined(TOR_CORE_OR_OR_SYS_H) */
struct pubsub_connector_t pubsub_connector_t