summaryrefslogtreecommitdiff
path: root/girepository/cmph/chm_structs.h
blob: fcad1bc3d11b6bfe6425de9c9682df989bfdb2db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef __CMPH_CHM_STRUCTS_H__
#define __CMPH_CHM_STRUCTS_H__

#include "hash_state.h"

struct __chm_data_t
{
	cmph_uint32 m; //edges (words) count
	cmph_uint32 n; //vertex count
	cmph_uint32 *g;
	hash_state_t **hashes;
};

struct __chm_config_data_t
{
	CMPH_HASH hashfuncs[2];
	cmph_uint32 m; //edges (words) count
	cmph_uint32 n; //vertex count
	graph_t *graph;
	cmph_uint32 *g;
	hash_state_t **hashes;
};

#endif