diff options
| author | liuxueli <[email protected]> | 2020-06-01 17:20:22 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2020-06-01 17:20:22 +0800 |
| commit | 86f4dc968f94482d469d8dd3b538fef85ad2441d (patch) | |
| tree | 791cc69128546619628663fa85e5ae4d92eca290 | |
| parent | 3f09c62e1ca2e15f3421c70bf601791bff21e590 (diff) | |
提供申请和释放QUIC解析字段存储空间函数
| -rw-r--r-- | src/gquic.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gquic.h b/src/gquic.h index 3415791..6ed98b4 100644 --- a/src/gquic.h +++ b/src/gquic.h @@ -5,8 +5,8 @@ * Author: root */ -#ifndef SRC_GQUIC_H_ -#define SRC_GQUIC_H_ +#ifndef _GQUIC_H_ +#define _GQUIC_H_ #define QUIC_INTEREST_KEY (1<<QUIC_INTEREST_KEY_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_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_ */ |
