1AUTH2TABLE(3) AUT STRUCTURE DEFINITIONS AUTH2TABLE(3)
2
3
4
6 auth2table - hash table structure
7
9 The auth2table structure is used to describe an hash table with two
10 keys.
11
12 The declarations needed to work on auth2table are available in the
13 header file "/labo/include/aut101.h", where '101' is the actual aut
14 version.
15
16 The following C structure supports the description of an hash element :
17 typedef struct auth2table
18 {
19 auth2elem ∗TABLE;
20 long TABLE_SIZE;
21 long NUMBER_ELEM;
22 long NUMBER_ADD;
23 long NUMBER_SCAN;
24 long NUMBER_DEL;
25 long NUMBER_STRETCH;
26 } auth2table;
27
28 TABLE
29 TABLE is the hash element array.
30
31 TABLE_SIZE
32 TABLE_SIZE is the size of the hash table.
33
34 NUMBER_ELEM
35 NUMBER_ELEM is the number of element in the hash
36 table.
37
38 NUMBER_ADD
39 NUMBER_ADD is the number of added elements.
40
41 NUMBER_SCAN
42 NUMBER_SCAN is the number of scans to find an ele‐
43 ment.
44
45 NUMBER_DEL
46 NUMBER_DEL is the number of deleted elements.
47
48 NUMBER_STRETCH
49 NUMBER_STRETCH is the number of hash table
50 stretch.
51
53 aut(1), auth2table(3),
54
55
56
57
58
59
60ASIM/LIP6 October 1, 1997 AUTH2TABLE(3)