#include "common.h"
Go to the source code of this file.
Data Structures | |
| struct | kuid |
Defines | |
| #define | KUID_RAW_SIZE 20 |
Typedefs | |
| typedef kuid | kuid_t |
Functions | |
| void | kuid_init (void) |
| Initialize KUID management. | |
| void | kuid_random_fill (kuid_t *kuid) |
| Generate a new random KUID within given `kuid'. | |
| gint | kuid_cmp (const kuid_t *target, const kuid_t *kuid1, const kuid_t *kuid2) |
| Compare three KUID with the XOR distance, to determine whether `kuid1' is closer to `target' than `kuid2'. | |
| const gchar * | kuid_to_string (const kuid_t *kuid) |
| Convert a KUID to a base32 string. | |
| kuid_t * | kuid_get_atom (const kuid_t *k) |
| void | kuid_atom_free (const kuid_t *k) |
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
Compare three KUID with the XOR distance, to determine whether `kuid1' is closer to `target' than `kuid2'.
|
|
|
|
|
|
Initialize KUID management.
|
|
|
Generate a new random KUID within given `kuid'.
|
|
|
Convert a KUID to a base32 string.
|
1.3.9.1