]> mj.ucw.cz Git - libucw.git/blob - ucw/bitsig.h
tableprinter: code cleanup contd.
[libucw.git] / ucw / bitsig.h
1 /*
2  *      UCW Library -- Bit Array Signatures -- A Dubious Detector of Duplicates
3  *
4  *      (c) 2002 Martin Mares <mj@ucw.cz>
5  *
6  *      This software may be freely distributed and used according to the terms
7  *      of the GNU Lesser General Public License.
8  */
9
10 #ifndef _UCW_BITSIG_H
11 #define _UCW_BITSIG_H
12
13 #ifdef CONFIG_UCW_CLEAN_ABI
14 #define bitsig_free ucw_bitsig_free
15 #define bitsig_init ucw_bitsig_init
16 #define bitsig_insert ucw_bitsig_insert
17 #define bitsig_member ucw_bitsig_member
18 #endif
19
20 struct bitsig;
21
22 struct bitsig *bitsig_init(uint perrlog, uint maxn);
23 void bitsig_free(struct bitsig *b);
24 int bitsig_member(struct bitsig *b, byte *item);
25 int bitsig_insert(struct bitsig *b, byte *item);
26
27 #endif