summaryrefslogtreecommitdiffstats
path: root/include/internal/quic_trace.h
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2024-01-11 08:36:15 +0000
committerHugo Landau <hlandau@openssl.org>2024-04-19 09:29:02 +0100
commit989dd4e055db7b3243f303cc18842d7f349abee2 (patch)
treebdb55c9293141a877028cc9be6397afe705757b7 /include/internal/quic_trace.h
parentace3825d8d85aa12cdd9174b98468b53148b9d09 (diff)
libssl: Move SSL object unwrapping macros to separate header
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23334)
Diffstat (limited to 'include/internal/quic_trace.h')
-rw-r--r--include/internal/quic_trace.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/internal/quic_trace.h b/include/internal/quic_trace.h
new file mode 100644
index 0000000000..35d6996490
--- /dev/null
+++ b/include/internal/quic_trace.h
@@ -0,0 +1,20 @@
+/*
+ * Copyright 2024 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+#ifndef OSSL_QUIC_TRACE_H
+# define OSSL_QUIC_TRACE_H
+
+# ifndef OPENSSL_NO_QUIC
+
+int ossl_quic_trace(int write_p, int version, int content_type,
+ const void *buf, size_t msglen, SSL *ssl, void *arg);
+
+# endif
+
+#endif