diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-03-25 11:16:18 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-03-25 11:27:43 -0400 |
commit | d5e11f21cc98f4e42b05bdddb9e3316072ec0bef (patch) | |
tree | 056208ee2c9a9bf76ab429235294feea2288f420 /src/common/tortls.c | |
parent | c3dd2e3d9e1b307862313293f03554807649b5d5 (diff) | |
download | tor-d5e11f21cc98f4e42b05bdddb9e3316072ec0bef.tar.gz tor-d5e11f21cc98f4e42b05bdddb9e3316072ec0bef.zip |
Fix warnings from doxygen
Most of these are simple. The only nontrivial part is that our
pattern for using ENUM_BF was confusing doxygen by making declarations
that didn't look like declarations.
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r-- | src/common/tortls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c index 315a767e9e..8defab2adb 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -149,6 +149,7 @@ typedef enum { TOR_TLS_ST_SENTCLOSE, TOR_TLS_ST_CLOSED, TOR_TLS_ST_RENEGOTIATE, TOR_TLS_ST_BUFFEREVENT } tor_tls_state_t; +#define tor_tls_state_bitfield_t ENUM_BF(tor_tls_state_t) /** Holds a SSL object and its associated data. Members are only * accessed from within tortls.c. @@ -159,7 +160,7 @@ struct tor_tls_t { SSL *ssl; /**< An OpenSSL SSL object. */ int socket; /**< The underlying file descriptor for this TLS connection. */ char *address; /**< An address to log when describing this connection. */ - ENUM_BF(tor_tls_state_t) state : 3; /**< The current SSL state, + tor_tls_state_bitfield_t state : 3; /**< The current SSL state, * depending on which operations * have completed successfully. */ unsigned int isServer:1; /**< True iff this is a server-side connection */ |