lsquic_full_conn.h revision 229fce07
1/* Copyright (c) 2017 - 2019 LiteSpeed Technologies Inc.  See LICENSE. */
2#ifndef LSQUIC_FULL_CONN_H
3#define LSQUIC_FULL_CONN_H
4
5struct lsquic_conn;
6struct lsquic_stream_if;
7struct lsquic_engine_public;
8
9struct lsquic_conn *
10full_conn_client_new (struct lsquic_engine_public *,
11               const struct lsquic_stream_if *,
12               void *stream_if_ctx,
13               unsigned flags /* Only FC_SERVER and FC_HTTP */,
14               const char *hostname, unsigned short max_packet_size);
15
16void
17full_conn_client_call_on_new (struct lsquic_conn *);
18
19#endif
20