GNUnet  0.10.x
022.c
Go to the documentation of this file.
1 static int
3  const void *block, size_t block_size,
4  struct GNUNET_HashCode *key)
5 {
6  // Store the key in the key argument, return GNUNET_OK on success.
7 }
8 
GNUNET_BLOCK_Type
Blocks in the datastore and the datacache must have a unique type.
static int block_plugin_SERVICE_get_key(void *cls, enum GNUNET_BLOCK_Type type, const void *block, size_t block_size, struct GNUNET_HashCode *key)
Definition: 022.c:2
A 512-bit hashcode.
struct GNUNET_HashCode key
The key used in the DHT.
enum GNUNET_TESTBED_UnderlayLinkModelType type
the type of this model