link fix when using lsquic in a cpp project (#418)

Co-authored-by: MBellahcene <moussa.bellahcene@4d.com>
This commit is contained in:
M-BELLAHCENE 2022-09-16 14:56:16 +02:00 committed by GitHub
parent 188c055a9c
commit 732da98508
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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