mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-05-06 03:45:32 +00:00
ADD: add prototype of function ht_free in hash.h - DEL: delete include file .c in ndpi_main.c
This commit is contained in:
parent
89b3b085af
commit
ff83bfbad0
2 changed files with 3 additions and 2 deletions
|
|
@ -43,9 +43,9 @@
|
|||
|
||||
#include "ndpi_content_match.c.inc"
|
||||
#include "third_party/include/ndpi_patricia.h"
|
||||
#include "third_party/src/ndpi_patricia.c"
|
||||
/* #include "third_party/src/ndpi_patricia.c" */
|
||||
#include "third_party/include/hash.h"
|
||||
#include "third_party/src/hash.c"
|
||||
/* #include "third_party/src/hash.c" */
|
||||
|
||||
#ifdef HAVE_HYPERSCAN
|
||||
#include <hs/hs.h>
|
||||
|
|
|
|||
1
src/lib/third_party/include/hash.h
vendored
1
src/lib/third_party/include/hash.h
vendored
|
|
@ -25,5 +25,6 @@ extern int ht_hash( hashtable_t *hashtable, char *key );
|
|||
extern entry_t *ht_newpair( char *key, u_int16_t value );
|
||||
extern void ht_set( hashtable_t *hashtable, char *key, u_int16_t value );
|
||||
extern u_int16_t ht_get( hashtable_t *hashtable, char *key );
|
||||
extern void ht_free( hashtable_t *hashtable );
|
||||
|
||||
#endif /* _HASH_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue