You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
690 B
28 lines
690 B
2 months ago
|
/*
|
||
|
* UCW Library -- Bit Array Signatures -- A Dubious Detector of Duplicates
|
||
|
*
|
||
|
* (c) 2002 Martin Mares <mj@ucw.cz>
|
||
|
*
|
||
|
* This software may be freely distributed and used according to the terms
|
||
|
* of the GNU Lesser General Public License.
|
||
|
*/
|
||
|
|
||
|
#ifndef _UCW_BITSIG_H
|
||
|
#define _UCW_BITSIG_H
|
||
|
|
||
|
#ifdef CONFIG_UCW_CLEAN_ABI
|
||
|
#define bitsig_free ucw_bitsig_free
|
||
|
#define bitsig_init ucw_bitsig_init
|
||
|
#define bitsig_insert ucw_bitsig_insert
|
||
|
#define bitsig_member ucw_bitsig_member
|
||
|
#endif
|
||
|
|
||
|
struct bitsig;
|
||
|
|
||
|
struct bitsig *bitsig_init(uint perrlog, uint maxn);
|
||
|
void bitsig_free(struct bitsig *b);
|
||
|
int bitsig_member(struct bitsig *b, byte *item);
|
||
|
int bitsig_insert(struct bitsig *b, byte *item);
|
||
|
|
||
|
#endif
|