提供申请和释放QUIC解析字段存储空间函数
This commit is contained in:
@@ -5,8 +5,8 @@
|
|||||||
* Author: root
|
* Author: root
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SRC_GQUIC_H_
|
#ifndef _GQUIC_H_
|
||||||
#define SRC_GQUIC_H_
|
#define _GQUIC_H_
|
||||||
|
|
||||||
#define QUIC_INTEREST_KEY (1<<QUIC_INTEREST_KEY_MASK)
|
#define QUIC_INTEREST_KEY (1<<QUIC_INTEREST_KEY_MASK)
|
||||||
#define QUIC_CLIENT_HELLO (1<<QUIC_CLIENT_HELLO_MASK)
|
#define QUIC_CLIENT_HELLO (1<<QUIC_CLIENT_HELLO_MASK)
|
||||||
@@ -91,4 +91,7 @@ struct _quic_info
|
|||||||
int quic_version_int2string(unsigned int version, char *buff, int buff_len);
|
int quic_version_int2string(unsigned int version, char *buff, int buff_len);
|
||||||
int quic_process(struct streaminfo *pstream, struct _quic_context* _context, int thread_seq, void* a_packet);
|
int quic_process(struct streaminfo *pstream, struct _quic_context* _context, int thread_seq, void* a_packet);
|
||||||
|
|
||||||
|
int quic_init_stream(void **pme, int thread_seq); // **pme=(struct _quic_context* )
|
||||||
|
void quic_release_stream(struct streaminfo *a_tcp, void **pme, int thread_seq);
|
||||||
|
|
||||||
#endif /* SRC_GQUIC_H_ */
|
#endif /* SRC_GQUIC_H_ */
|
||||||
|
|||||||
Reference in New Issue
Block a user