link fix when using lsquic in a cpp project

This commit is contained in:
MBellahcene 2022-09-16 10:43:54 +02:00
parent 188c055a9c
commit 39e0284e0c
1 changed files with 9 additions and 0 deletions

View File

@ -6,6 +6,10 @@
#ifndef LSQUIC_HASH_H
#define LSQUIC_HASH_H
#ifdef __cplusplus
extern "C" {
#endif
struct lsquic_hash;
struct lsquic_hash_elem
@ -58,4 +62,9 @@ lsquic_hash_count (struct lsquic_hash *);
size_t
lsquic_hash_mem_used (const struct lsquic_hash *);
#ifdef __cplusplus
}
#endif
#endif