Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 17 lines (14 sloc) 0.387 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#define _GNU_SOURCE

#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <dirent.h>
#include <unistd.h>

typedef unsigned char bloom_filter[512];
typedef char path[4096];

int make_bloom_from_file(FILE *f, unsigned char *filter);
void update_bloom(bloom_filter filter, unsigned char *str);
Something went wrong with that request. Please try again.