lsquic_stock_shi.h revision f07b3eae
106b2a236SDmitri Tikhonov/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc. See LICENSE. */ 25392f7a3SLiteSpeed Tech/* 35392f7a3SLiteSpeed Tech * lsquic_stock_shi.h - Stock shared hash interface implementation. 45392f7a3SLiteSpeed Tech */ 55392f7a3SLiteSpeed Tech 65392f7a3SLiteSpeed Tech#ifndef LSQUIC_STOCK_SHI 75392f7a3SLiteSpeed Tech#define LSQUIC_STOCK_SHI 1 85392f7a3SLiteSpeed Tech 9f07b3eaeSTyler Young#include "lsquic_shared_support.h" 105392f7a3SLiteSpeed Tech 115392f7a3SLiteSpeed Tech#ifdef __cplusplus 125392f7a3SLiteSpeed Techextern "C" { 135392f7a3SLiteSpeed Tech#endif 145392f7a3SLiteSpeed Tech 155392f7a3SLiteSpeed Techstruct stock_shared_hash; 165392f7a3SLiteSpeed Tech 175392f7a3SLiteSpeed Techstruct stock_shared_hash * 18a5fa05f9SDmitri Tikhonovlsquic_stock_shared_hash_new (void); 195392f7a3SLiteSpeed Tech 205392f7a3SLiteSpeed Techvoid 21a5fa05f9SDmitri Tikhonovlsquic_stock_shared_hash_destroy (struct stock_shared_hash *); 225392f7a3SLiteSpeed Tech 235392f7a3SLiteSpeed Tech 245392f7a3SLiteSpeed Tech#ifdef __cplusplus 255392f7a3SLiteSpeed Tech} 265392f7a3SLiteSpeed Tech#endif 275392f7a3SLiteSpeed Tech 28f07b3eaeSTyler YoungLSQUIC_EXTERN const struct lsquic_shared_hash_if stock_shi; 295392f7a3SLiteSpeed Tech 305392f7a3SLiteSpeed Tech#endif 31