mirror of
https://github.com/moparisthebest/spdylay
synced 2024-11-11 20:15:04 -05:00
Made SPDYLAY_PROTO_SPDY2 and SPDYLAY_PROTO_SPDY3 enum
This commit is contained in:
parent
c23a86510e
commit
efebc1e1af
@ -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
|
||||
SPDYLAY_PROTO_SPDY2 = 2,
|
||||
/**
|
||||
* @macro
|
||||
*
|
||||
* SPDY protocol version 3
|
||||
*/
|
||||
#define SPDYLAY_PROTO_SPDY3 3
|
||||
SPDYLAY_PROTO_SPDY3 = 3
|
||||
} spdylay_proto_version;
|
||||
|
||||
/**
|
||||
* @enum
|
||||
|
Loading…
Reference in New Issue
Block a user