"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/lsquic.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.h  (lsquic-2.22.1):lsquic.h  (lsquic-2.23.1)
skipping to change at line 27 skipping to change at line 27
#include <vc_compat.h> #include <vc_compat.h>
#endif #endif
struct sockaddr; struct sockaddr;
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#define LSQUIC_MAJOR_VERSION 2 #define LSQUIC_MAJOR_VERSION 2
#define LSQUIC_MINOR_VERSION 22 #define LSQUIC_MINOR_VERSION 23
#define LSQUIC_PATCH_VERSION 1 #define LSQUIC_PATCH_VERSION 1
/** /**
* Engine flags: * Engine flags:
*/ */
/** Server mode */ /** Server mode */
#define LSENG_SERVER (1 << 0) #define LSENG_SERVER (1 << 0)
/** Use HTTP behavior */ /** Use HTTP behavior */
skipping to change at line 1926 skipping to change at line 1926
*/ */
const char *const * const char *const *
lsquic_get_h3_alpns (unsigned versions); lsquic_get_h3_alpns (unsigned versions);
/** /**
* Returns true if provided buffer could be a valid handshake-stage packet, * Returns true if provided buffer could be a valid handshake-stage packet,
* false otherwise. Do not call this function if a connection has already * false otherwise. Do not call this function if a connection has already
* been established: it will return incorrect result. * been established: it will return incorrect result.
*/ */
int int
lsquic_is_valid_hs_packet (lsquic_engine_t *, const unsigned char *, lsquic_is_valid_hs_packet (lsquic_engine_t *, const unsigned char *, size_t);
size_t bufsz, size_t packet_in_sz);
/** /**
* Parse cid from packet stored in `buf' and store it to `cid'. Returns 0 * Parse cid from packet stored in `buf' and store it to `cid'. Returns 0
* on success and -1 on failure. * on success and -1 on failure.
*/ */
int int
lsquic_cid_from_packet (const unsigned char *, size_t bufsz, lsquic_cid_t *cid); lsquic_cid_from_packet (const unsigned char *, size_t bufsz, lsquic_cid_t *cid);
/** /**
* Returns true if there are connections to be processed, false otherwise. * Returns true if there are connections to be processed, false otherwise.
 End of changes. 2 change blocks. 
3 lines changed or deleted 2 lines changed or added

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