Mercurial > hg > wm
comparison Meerwald/signature.h @ 0:be303a3f5ea8
import
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Sun, 12 Aug 2007 13:14:34 +0200 |
parents | |
children | acb6967ee76d |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:be303a3f5ea8 |
---|---|
1 #ifndef SIGNATURE_H | |
2 #define SIGNATURE_H | |
3 | |
4 #include "wm.h" | |
5 | |
6 #define NSIGNATURE 4096 | |
7 #define NBITSIGNATURE (NSIGNATURE * 8) | |
8 | |
9 int n_signature; | |
10 int nbit_signature; | |
11 int n_signature1; | |
12 int nbit_signature1; | |
13 int n_signature2; | |
14 int nbit_signature2; | |
15 | |
16 char signature[NSIGNATURE]; | |
17 char signature1[NSIGNATURE]; | |
18 char signature2[NSIGNATURE]; | |
19 | |
20 void init_signature_bits(); | |
21 int get_signature_bit(int n); | |
22 void set_signature_bit(int n, int v); | |
23 | |
24 void init_signature1_bits(); | |
25 int get_signature1_bit(int n); | |
26 void set_signature1_bit(int n, int v); | |
27 | |
28 void init_signature2_bits(); | |
29 int get_signature2_bit(int n); | |
30 void set_signature2_bit(int n, int v); | |
31 | |
32 #endif |