summaryrefslogtreecommitdiff
path: root/girepository/cmph/bmz8_structs.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-11-11 15:01:07 -0500
committerColin Walters <walters@verbum.org>2010-11-16 17:01:07 -0500
commit9bf6ff0e49391c7aee76b2fcb6e479a34e19c058 (patch)
tree79f40cb50da5a4f23f8efeee20612fa9708d2930 /girepository/cmph/bmz8_structs.h
parentc9d0441f7c8fb33f313ba65b11cb552afa4cf533 (diff)
downloadgobject-introspection-9bf6ff0e49391c7aee76b2fcb6e479a34e19c058.tar.gz
Import CMPH 1.0
This will be used for typelib indexing. See README-CMPH-IMPORT.txt for more information.
Diffstat (limited to 'girepository/cmph/bmz8_structs.h')
-rw-r--r--girepository/cmph/bmz8_structs.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/girepository/cmph/bmz8_structs.h b/girepository/cmph/bmz8_structs.h
new file mode 100644
index 00000000..408b5299
--- /dev/null
+++ b/girepository/cmph/bmz8_structs.h
@@ -0,0 +1,25 @@
+#ifndef __CMPH_BMZ8_STRUCTS_H__
+#define __CMPH_BMZ8_STRUCTS_H__
+
+#include "hash_state.h"
+
+struct __bmz8_data_t
+{
+ cmph_uint8 m; //edges (words) count
+ cmph_uint8 n; //vertex count
+ cmph_uint8 *g;
+ hash_state_t **hashes;
+};
+
+
+struct __bmz8_config_data_t
+{
+ CMPH_HASH hashfuncs[2];
+ cmph_uint8 m; //edges (words) count
+ cmph_uint8 n; //vertex count
+ graph_t *graph;
+ cmph_uint8 *g;
+ hash_state_t **hashes;
+};
+
+#endif