diff options
author | George Kadianakis <desnacked@riseup.net> | 2012-01-26 00:42:30 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2012-07-03 21:26:03 +0300 |
commit | 17caec3676e857bf87f4b3c7d50114a9627b52a4 (patch) | |
tree | 3d6b011c6025815bb0ba30aab37ecd91e0c18a39 /src/or/transports.h | |
parent | aecc728a5adce225c8415ca90121f2dd23f4f695 (diff) | |
download | tor-17caec3676e857bf87f4b3c7d50114a9627b52a4.tar.gz tor-17caec3676e857bf87f4b3c7d50114a9627b52a4.zip |
Make some transports.c functions static.
- Also reorder functions.
Diffstat (limited to 'src/or/transports.h')
-rw-r--r-- | src/or/transports.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/or/transports.h b/src/or/transports.h index aeca87312e..39f7bf4024 100644 --- a/src/or/transports.h +++ b/src/or/transports.h @@ -28,15 +28,11 @@ typedef struct { void mark_transport_list(void); void sweep_transport_list(void); -void clear_transport_list(void); int transport_add_from_config(const tor_addr_t *addr, uint16_t port, const char *name, int socks_ver); -int transport_add(transport_t *t); void transport_free(transport_t *transport); -transport_t *transport_new(const tor_addr_t *addr, uint16_t port, - const char *name, int socks_ver); -transport_t *transport_get_by_name(const char *name); +transport_t *transport_get_by_name(const char *name); void pt_kickstart_proxy(const smartlist_t *transport_list, char **proxy_argv, int is_server); |