lsquic_types.h revision 10c492f0
1/* Copyright (c) 2017 - 2018 LiteSpeed Technologies Inc. See LICENSE. */ 2#ifndef __LSQUIC_TYPES_H__ 3#define __LSQUIC_TYPES_H__ 4 5/** 6 * @file 7 * LSQUIC types. 8 */ 9 10#include <stdint.h> 11 12/** 13 * Connection ID 14 */ 15typedef uint64_t lsquic_cid_t; 16 17/** LSQUIC engine */ 18typedef struct lsquic_engine lsquic_engine_t; 19 20/** Connection */ 21typedef struct lsquic_conn lsquic_conn_t; 22 23/** Connection context. This is the return value of @ref on_new_conn. */ 24typedef struct lsquic_conn_ctx lsquic_conn_ctx_t; 25 26/** Stream */ 27typedef struct lsquic_stream lsquic_stream_t; 28 29/** Stream context. This is the return value of @ref on_new_stream. */ 30typedef struct lsquic_stream_ctx lsquic_stream_ctx_t; 31 32/** HTTP headers */ 33typedef struct lsquic_http_headers lsquic_http_headers_t; 34 35#endif 36