1a74702c6SGeorge Wang/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc. See LICENSE. */ 250aadb33SDmitri Tikhonov/* 350aadb33SDmitri Tikhonov * lsquic_version.h -- version manipulation routines 450aadb33SDmitri Tikhonov */ 550aadb33SDmitri Tikhonov 650aadb33SDmitri Tikhonov#ifndef LSQUIC_VERSION_H 750aadb33SDmitri Tikhonov#define LSQUIC_VERSION_H 1 850aadb33SDmitri Tikhonov 950aadb33SDmitri Tikhonov#include <stdint.h> 1050aadb33SDmitri Tikhonov 1150aadb33SDmitri Tikhonovuint32_t 1250aadb33SDmitri Tikhonovlsquic_ver2tag (unsigned version); 1350aadb33SDmitri Tikhonov 1450aadb33SDmitri Tikhonovenum lsquic_version 1550aadb33SDmitri Tikhonovlsquic_tag2ver (uint32_t ver_tag); 1650aadb33SDmitri Tikhonov 1750aadb33SDmitri Tikhonovextern const char *const lsquic_ver2str[]; 1850aadb33SDmitri Tikhonov 195392f7a3SLiteSpeed Techint 205392f7a3SLiteSpeed Techlsquic_gen_ver_tags (unsigned char *buf, size_t bufsz, unsigned versions); 215392f7a3SLiteSpeed Tech 2250aadb33SDmitri Tikhonov#endif 23