diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-08-02 13:40:19 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-08-02 13:50:00 -0400 |
commit | 46ef4487d3914cac1aba148ec58ff271bda3c636 (patch) | |
tree | 300a4fdfb5f8714ae970fe78c9bd9beeda6c378b /src/or/or.h | |
parent | cd9d39d54bbc9998938e9acddb1ec34507fc9108 (diff) | |
download | tor-46ef4487d3914cac1aba148ec58ff271bda3c636.tar.gz tor-46ef4487d3914cac1aba148ec58ff271bda3c636.zip |
Remove generic_buffer_*() functions as needless.
These functions were there so that we could abstract the differences
between evbuffer and buf_t. But with the bufferevent removal, this
no longer serves a purpose.
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/or.h b/src/or/or.h index 3ca9ea248f..1bac43c20a 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1132,7 +1132,7 @@ typedef struct { typedef struct buf_t buf_t; typedef struct socks_request_t socks_request_t; -#define generic_buffer_t buf_t +#define buf_t buf_t typedef struct entry_port_cfg_t { /* Client port types (socks, dns, trans, natd) only: */ @@ -1619,11 +1619,11 @@ typedef struct entry_connection_t { /** For AP connections only: buffer for data that we have sent * optimistically, which we might need to re-send if we have to * retry this connection. */ - generic_buffer_t *pending_optimistic_data; + buf_t *pending_optimistic_data; /* For AP connections only: buffer for data that we previously sent * optimistically which we are currently re-sending as we retry this * connection. */ - generic_buffer_t *sending_optimistic_data; + buf_t *sending_optimistic_data; /** If this is a DNSPort connection, this field holds the pending DNS * request that we're going to try to answer. */ |