GNUnet
0.22.1
022.c
Go to the documentation of this file.
1
static
int
2
block_plugin_SERVICE_get_key
(
void
*cls,
enum
GNUNET_BLOCK_Type
type
,
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
block_plugin_SERVICE_get_key
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
key
struct GNUNET_HashCode key
The key used in the DHT.
Definition:
gnunet-dht-put.c:37
type
static uint32_t type
Type string converted to DNS type value.
Definition:
gnunet-namestore.c:306
GNUNET_BLOCK_Type
GNUNET_BLOCK_Type
WARNING: This header is generated! In order to add DHT block types, you must register them in GANA,...
Definition:
gnunet_dht_block_types.h:43
GNUNET_HashCode
A 512-bit hashcode.
Definition:
gnunet_common.h:284
doc
old
tutorial
examples
022.c
Generated by
1.9.4