Made SPDYLAY_PROTO_SPDY2 and SPDYLAY_PROTO_SPDY3 enum

This commit is contained in:
Tatsuhiro Tsujikawa 2012-03-27 18:23:05 +09:00
parent c23a86510e
commit efebc1e1af
1 changed files with 12 additions and 9 deletions

View File

@ -46,17 +46,20 @@ struct spdylay_session;
typedef struct spdylay_session spdylay_session;
/**
* @macro
* @enum
*
* The SPDY protocol version.
*/
typedef enum {
/**
* SPDY protocol version 2
*/
#define SPDYLAY_PROTO_SPDY2 2
/**
* @macro
*
SPDYLAY_PROTO_SPDY2 = 2,
/**
* SPDY protocol version 3
*/
#define SPDYLAY_PROTO_SPDY3 3
SPDYLAY_PROTO_SPDY3 = 3
} spdylay_proto_version;
/**
* @enum