lsquic_full_conn.h revision 50aadb33
150aadb33SDmitri Tikhonov/* Copyright (c) 2017 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 */, 1450aadb33SDmitri Tikhonov const char *hostname, unsigned short max_packet_size); 1550aadb33SDmitri Tikhonov 1650aadb33SDmitri Tikhonovvoid 1750aadb33SDmitri Tikhonovfull_conn_close_internal (lsquic_conn_t *, int is_user); 1850aadb33SDmitri Tikhonov 1950aadb33SDmitri Tikhonov#endif 20