lsquic_version.h revision 50aadb33
150aadb33SDmitri Tikhonov/* Copyright (c) 2017 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 1950aadb33SDmitri Tikhonovint 2050aadb33SDmitri Tikhonovgen_ver_tags (unsigned char *buf, size_t bufsz, unsigned versions); 2150aadb33SDmitri Tikhonov 2250aadb33SDmitri Tikhonov#endif 23