nemea-common  1.6.3
nemea-common.h
Go to the documentation of this file.
1 
6 /*
7  * Copyright (C) 2013-2017 CESNET
8  *
9  * LICENSE TERMS
10  *
11  * Redistribution and use in source and binary forms, with or without
12  * modification, are permitted provided that the following conditions
13  * are met:
14  * 1. Redistributions of source code must retain the above copyright
15  * notice, this list of conditions and the following disclaimer.
16  * 2. Redistributions in binary form must reproduce the above copyright
17  * notice, this list of conditions and the following disclaimer in
18  * the documentation and/or other materials provided with the
19  * distribution.
20  * 3. Neither the name of the Company nor the names of its contributors
21  * may be used to endorse or promote products derived from this
22  * software without specific prior written permission.
23  *
24  * ALTERNATIVELY, provided that this notice is retained in full, this
25  * product may be distributed under the terms of the GNU General Public
26  * License (GPL) version 2 or later, in which case the provisions
27  * of the GPL apply INSTEAD OF those given above.
28  *
29  * This software is provided ``as is'', and any express or implied
30  * warranties, including, but not limited to, the implied warranties of
31  * merchantability and fitness for a particular purpose are disclaimed.
32  * In no event shall the company or contributors be liable for any
33  * direct, indirect, incidental, special, exemplary, or consequential
34  * damages (including, but not limited to, procurement of substitute
35  * goods or services; loss of use, data, or profits; or business
36  * interruption) however caused and on any theory of liability, whether
37  * in contract, strict liability, or tort (including negligence or
38  * otherwise) arising in any way out of the use of this software, even
39  * if advised of the possibility of such damage.
40  *
41  */
42 #ifndef _NEMEA_COMMON_H
43 #define _NEMEA_COMMON_H
44 
45 
46 # ifdef __cplusplus
47 extern "C" {
48 # endif
49 
50 // include Super Fast Hash
51 #include "super_fast_hash.h"
52 
53 #include "configurator.h"
54 #include "cuckoo_hash.h"
55 #include "cuckoo_hash_v2.h"
56 #include "fast_hash_table.h"
57 #include "fast_hash_filter.h"
58 #include "progress_printer.h"
59 
60 # ifdef __cplusplus
61 }
62 # endif
63 #endif
64 
Fast 4-way hash table with stash - header file.
Fast 8-way hash table with rehashing possibility.
Generic hash table with Cuckoo hashing support – header file.
Generic hash table with Cuckoo hashing support – header file.
Macros for printing a given character (dot by default) every N records – header file.
SuperFastHash (http://www.azillionmonkeys.com/qed/hash.html)