diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Meerwald/signature.h	Sun Aug 12 13:14:34 2007 +0200
@@ -0,0 +1,32 @@
+#ifndef SIGNATURE_H
+#define SIGNATURE_H
+
+#include "wm.h"
+
+#define NSIGNATURE 4096
+#define NBITSIGNATURE (NSIGNATURE * 8)
+
+int n_signature;
+int nbit_signature;
+int n_signature1;
+int nbit_signature1;
+int n_signature2;
+int nbit_signature2;
+
+char signature[NSIGNATURE];
+char signature1[NSIGNATURE];
+char signature2[NSIGNATURE];
+
+void init_signature_bits();
+int get_signature_bit(int n);
+void set_signature_bit(int n, int v);
+
+void init_signature1_bits();
+int get_signature1_bit(int n);
+void set_signature1_bit(int n, int v);
+
+void init_signature2_bits();
+int get_signature2_bit(int n);
+void set_signature2_bit(int n, int v);
+
+#endif

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