Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
hash-value.h
Go to the documentation of this file.
1/*
2 HASH-VALUE.hpp - collection of tools and definitions for working with hashes
3
4 Copyright (C)
5 2012, Hermann Vosseler <Ichthyostega@web.de>
6
7  **Lumiera** is free software; you can redistribute it and/or modify it
8  under the terms of the GNU General Public License as published by the
9  Free Software Foundation; either version 2 of the License, or (at your
10  option) any later version. See the file COPYING for further details.
11
12*/
13
14
30#ifndef LIB_HASH_VALUE_H
31#define LIB_HASH_VALUE_H
32
33#include <stdlib.h>
34
35
40typedef unsigned char lumiera_uid[16];
42
43
44
45#ifdef __cplusplus /* =========== C++ definitions ====================== */
46
47#include <climits>
48
49namespace lib {
50
52 typedef size_t HashVal;
53
55 typedef lumiera_uid* LUID;
56
57
60} // namespace lib
61#endif /* C++ */
62#endif /*LIB_HASH_UTIL_H*/
lumiera_uid * LumieraUid
Definition hash-value.h:41
unsigned char lumiera_uid[16]
storage for a Lumiera unique ID, based on a 128bit random number
Definition hash-value.h:40
Implementation namespace for support and library code.
size_t HashVal
a STL compatible hash value
Definition hash-value.h:52
lumiera_uid * LUID
a Lumiera UID
Definition hash-value.h:55