summaryrefslogtreecommitdiff
path: root/src/parser-quic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser-quic.h')
-rw-r--r--src/parser-quic.h24
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