"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/liblsquic/lsquic_stream.h" between
lsquic-2.22.1.tar.gz and lsquic-2.23.1.tar.gz

About: LSQUIC is LiteSpeed’s QUIC and HTTP/3 Library. A hint: HTTP/3 uses QUIC as the underlying transport protocol instead of TCP.

lsquic_stream.h  (lsquic-2.22.1):lsquic_stream.h  (lsquic-2.23.1)
skipping to change at line 19 skipping to change at line 19
struct lsquic_conn_public; struct lsquic_conn_public;
struct stream_frame; struct stream_frame;
struct uncompressed_headers; struct uncompressed_headers;
enum enc_level; enum enc_level;
enum swtp_status; enum swtp_status;
struct frame_gen_ctx; struct frame_gen_ctx;
struct data_frame; struct data_frame;
enum quic_frame_type; enum quic_frame_type;
struct push_promise; struct push_promise;
union hblock_ctx; union hblock_ctx;
struct lsquic_packet_out;
struct lsquic_send_ctl;
struct network_path;
TAILQ_HEAD(lsquic_streams_tailq, lsquic_stream); TAILQ_HEAD(lsquic_streams_tailq, lsquic_stream);
#ifndef LSQUIC_KEEP_STREAM_HISTORY #ifndef LSQUIC_KEEP_STREAM_HISTORY
# define LSQUIC_KEEP_STREAM_HISTORY 1 # define LSQUIC_KEEP_STREAM_HISTORY 1
#endif #endif
#if LSQUIC_KEEP_STREAM_HISTORY #if LSQUIC_KEEP_STREAM_HISTORY
#define SM_HIST_BITS 6 #define SM_HIST_BITS 6
#define SM_HIST_IDX_MASK ((1 << SM_HIST_BITS) - 1) #define SM_HIST_IDX_MASK ((1 << SM_HIST_BITS) - 1)
skipping to change at line 302 skipping to change at line 305
uint64_t sm_fin_off; uint64_t sm_fin_off;
/* A stream may be generating STREAM or CRYPTO frames */ /* A stream may be generating STREAM or CRYPTO frames */
size_t (*sm_frame_header_sz)( size_t (*sm_frame_header_sz)(
const struct lsquic_stream *, unsigned); const struct lsquic_stream *, unsigned);
enum swtp_status (*sm_write_to_packet)(struct frame_gen_ctx *, enum swtp_status (*sm_write_to_packet)(struct frame_gen_ctx *,
const size_t); const size_t);
size_t (*sm_write_avail)(struct lsquic_stream *); size_t (*sm_write_avail)(struct lsquic_stream *);
int (*sm_readable)(struct lsquic_stream *); int (*sm_readable)(struct lsquic_stream *);
struct lsquic_packet_out * (*sm_get_packet_for_stream)(
struct lsquic_send_ctl *,
unsigned, const struct network_path *,
const struct lsquic_stream *);
/* This element is optional */ /* This element is optional */
const struct stream_filter_if *sm_sfi; const struct stream_filter_if *sm_sfi;
/* sm_promise and sm_promises are never used at the same time and can /* sm_promise and sm_promises are never used at the same time and can
* be combined into a union should space in this struct become tight. * be combined into a union should space in this struct become tight.
*/ */
/* Push promise that engendered this push stream */ /* Push promise that engendered this push stream */
struct push_promise *sm_promise; struct push_promise *sm_promise;
/* Push promises sent on this stream */ /* Push promises sent on this stream */
skipping to change at line 611 skipping to change at line 619
(stream_)->blocked_off == (stream_)->max_send_off) (stream_)->blocked_off == (stream_)->max_send_off)
void void
lsquic_stream_ss_frame_sent (struct lsquic_stream *); lsquic_stream_ss_frame_sent (struct lsquic_stream *);
#ifndef NDEBUG #ifndef NDEBUG
void void
lsquic_stream_set_pwritev_params (unsigned iovecs, unsigned frames); lsquic_stream_set_pwritev_params (unsigned iovecs, unsigned frames);
#endif #endif
void
lsquic_stream_drop_hset_ref (struct lsquic_stream *);
#endif #endif
 End of changes. 3 change blocks. 
0 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)