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.

19 lines
417 B

#ifndef HAS_BITMAP_H
#define HAS_BITMAP_H 1
11 years ago
10 years ago
#define BITMAP_SIDE 16
#define BITMAP_SIZE (BITMAP_SIDE * (BITMAP_SIDE / 8))
#define BITMAP_BITS (BITMAP_SIZE * 8)
11 years ago
typedef unsigned char bitmap_t[BITMAP_SIZE];
int
bitmap_compare(const unsigned char *a,
const unsigned char *b);
int
bitmap_diffmap(unsigned char *diff,
const unsigned char *a,
const unsigned char *b);
#endif