20 lines
560 B
C
20 lines
560 B
C
/* Copyright (c) 2017 LiteSpeed Technologies Inc. See LICENSE. */
|
|
#ifndef LSQUIC_FULL_CONN_H
|
|
#define LSQUIC_FULL_CONN_H
|
|
|
|
struct lsquic_conn;
|
|
struct lsquic_stream_if;
|
|
struct lsquic_engine_public;
|
|
|
|
struct lsquic_conn *
|
|
full_conn_client_new (struct lsquic_engine_public *,
|
|
const struct lsquic_stream_if *,
|
|
void *stream_if_ctx,
|
|
unsigned flags /* Only FC_SERVER and FC_HTTP */,
|
|
const char *hostname, unsigned short max_packet_size);
|
|
|
|
void
|
|
full_conn_close_internal (lsquic_conn_t *, int is_user);
|
|
|
|
#endif
|