QUIC Refactor: Fix ANSI - struct definition duplications
[openssl.git] / include / internal / quic_predef.h
1 /*
2  * Copyright 2023 The OpenSSL Project Authors. All Rights Reserved.
3  *
4  * Licensed under the Apache License 2.0 (the "License").  You may not use
5  * this file except in compliance with the License.  You can obtain a copy
6  * in the file LICENSE in the source distribution or at
7  * https://www.openssl.org/source/license.html
8  */
9
10 #ifndef OSSL_QUIC_PREDEF_H
11 # define OSSL_QUIC_PREDEF_H
12
13 # ifndef OPENSSL_NO_QUIC
14
15 typedef struct quic_port_st QUIC_PORT;
16 typedef struct quic_channel_st QUIC_CHANNEL;
17 typedef struct quic_tls_st QUIC_TLS;
18 typedef struct quic_txpim_st QUIC_TXPIM;
19 typedef struct quic_fifd_st QUIC_FIFD;
20 typedef struct quic_cfq_st QUIC_CFQ;
21 typedef struct ossl_quic_tx_packetiser_st OSSL_QUIC_TX_PACKETISER;
22 typedef struct ossl_ackm_st OSSL_ACKM;
23 typedef struct quic_srt_elem_st QUIC_SRT_ELEM;
24 typedef struct ossl_cc_data_st OSSL_CC_DATA;
25 typedef struct ossl_cc_method_st OSSL_CC_METHOD;
26 typedef struct quic_stream_map_st QUIC_STREAM_MAP;
27 typedef struct quic_stream_st QUIC_STREAM;
28 typedef struct quic_sstream_st QUIC_SSTREAM;
29 typedef struct quic_rstream_st QUIC_RSTREAM;
30 typedef struct quic_reactor_st QUIC_REACTOR;
31 typedef struct ossl_statm_st OSSL_STATM;
32 typedef struct quic_demux_st QUIC_DEMUX;
33 typedef struct ossl_qrx_pkt_st OSSL_QRX_PKT;
34 typedef struct ossl_qtx_pkt_st OSSL_QTX_PKT;
35 typedef struct quic_tick_result_st QUIC_TICK_RESULT;
36 typedef struct quic_srtm_st QUIC_SRTM;
37 typedef struct quic_lcidm_st QUIC_LCIDM;
38 typedef struct quic_urxe_st QUIC_URXE;
39
40 # endif
41
42 #endif