lsquic_full_conn.h revision 8ca33e0e
1229fce07SDmitri Tikhonov/* Copyright (c) 2017 - 2019 LiteSpeed Technologies Inc. See LICENSE. */ 250aadb33SDmitri Tikhonov#ifndef LSQUIC_FULL_CONN_H 350aadb33SDmitri Tikhonov#define LSQUIC_FULL_CONN_H 450aadb33SDmitri Tikhonov 550aadb33SDmitri Tikhonovstruct lsquic_conn; 650aadb33SDmitri Tikhonovstruct lsquic_stream_if; 750aadb33SDmitri Tikhonovstruct lsquic_engine_public; 850aadb33SDmitri Tikhonov 950aadb33SDmitri Tikhonovstruct lsquic_conn * 1050aadb33SDmitri Tikhonovfull_conn_client_new (struct lsquic_engine_public *, 1150aadb33SDmitri Tikhonov const struct lsquic_stream_if *, 1250aadb33SDmitri Tikhonov void *stream_if_ctx, 1350aadb33SDmitri Tikhonov unsigned flags /* Only FC_SERVER and FC_HTTP */, 148ca33e0eSDmitri Tikhonov const char *hostname, unsigned short max_packet_size, 158ca33e0eSDmitri Tikhonov const unsigned char *zero_rtt, size_t zero_rtt_len); 1650aadb33SDmitri Tikhonov 1750aadb33SDmitri Tikhonovvoid 18bfc7bfd8SDmitri Tikhonovfull_conn_client_call_on_new (struct lsquic_conn *); 1950aadb33SDmitri Tikhonov 2050aadb33SDmitri Tikhonov#endif 21