diff options
author | George Kadianakis <desnacked@riseup.net> | 2013-02-11 20:52:12 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-07-18 14:59:57 -0400 |
commit | e765d6ed8404a9df97f39846bf943217cf6a2001 (patch) | |
tree | 7a1548b6fee39425367be9aa71c30a13c11f71a1 /src/or/channel.h | |
parent | 0ec4e5a698d248448aaf684a74fc51f31c84d313 (diff) | |
download | tor-e765d6ed8404a9df97f39846bf943217cf6a2001.tar.gz tor-e765d6ed8404a9df97f39846bf943217cf6a2001.zip |
Make a channel getter method to retrieve transport names.
Diffstat (limited to 'src/or/channel.h')
-rw-r--r-- | src/or/channel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/channel.h b/src/or/channel.h index 83d7e900ff..bd99ebc933 100644 --- a/src/or/channel.h +++ b/src/or/channel.h @@ -84,6 +84,8 @@ struct channel_s { * available. */ int (*get_remote_addr)(channel_t *, tor_addr_t *); + int (*get_transport_name)(channel_t *chan, char **transport_out); + #define GRD_FLAG_ORIGINAL 1 #define GRD_FLAG_ADDR_ONLY 2 /* |