diff options
| author | 刘学利 <[email protected]> | 2021-08-23 11:15:11 +0000 |
|---|---|---|
| committer | 刘学利 <[email protected]> | 2021-08-23 11:15:11 +0000 |
| commit | f68700112e61d6b920799a0cad54e1c2fe539b6e (patch) | |
| tree | 2471cc1f228b0c847c0633309ed9d1ec17bd2179 /src/parser-quic.h | |
| parent | 13ba53b5a9a6d11f4349f6b2ec0997db1d08283a (diff) | |
TSG-7298: QUIC解析层支持解析quic-ietf加密SNI
Diffstat (limited to 'src/parser-quic.h')
| -rw-r--r-- | src/parser-quic.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/parser-quic.h b/src/parser-quic.h new file mode 100644 index 0000000..a295bb5 --- /dev/null +++ b/src/parser-quic.h @@ -0,0 +1,24 @@ +/** + * parser-quic.h + * + * Created on 2020-11-26 + * @author: qyc + * + * + */ +#ifndef PARSER_QUIC_H +#define PARSER_QUIC_H + +#ifdef __cplusplus +extern "C" { +#endif + +/*ret: 1 sucess*/ +int dissect_quic(const char *payload, unsigned int length, unsigned char *out, unsigned int *out_length); + +int gcry_init(); +#ifdef __cplusplus +} +#endif + +#endif //PARSER_QUIC_H |
