annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
1 #ifndef SIGNATURE_H
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
2 #define SIGNATURE_H
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
3
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
4 #include "wm.h"
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
5
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
6 #define NSIGNATURE 4096
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
7 #define NBITSIGNATURE (NSIGNATURE * 8)
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
8
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
9 int n_signature;
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
10 int nbit_signature;
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
11 int n_signature1;
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
12 int nbit_signature1;
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
13 int n_signature2;
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
14 int nbit_signature2;
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
15
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
16 char signature[NSIGNATURE];
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
17 char signature1[NSIGNATURE];
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
18 char signature2[NSIGNATURE];
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
19
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
20 void init_signature_bits();
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
21 int get_signature_bit(int n);
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
22 void set_signature_bit(int n, int v);
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
23
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
24 void init_signature1_bits();
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
25 int get_signature1_bit(int n);
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
26 void set_signature1_bit(int n, int v);
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
27
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
28 void init_signature2_bits();
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
29 int get_signature2_bit(int n);
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
30 void set_signature2_bit(int n, int v);
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
31
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
32 #endif

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.