]> mj.ucw.cz Git - libucw.git/blob - ucw/bitsig.h
Merge branch 'master' into dev-lib
[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 struct bitsig;
14
15 struct bitsig *bitsig_init(uns perrlog, uns maxn);
16 void bitsig_free(struct bitsig *b);
17 int bitsig_member(struct bitsig *b, byte *item);
18 int bitsig_insert(struct bitsig *b, byte *item);
19
20 #endif