aboutsummaryrefslogtreecommitdiff
path: root/doc/old/tutorial/examples/022.c
blob: a373619bd3b31d684ec123a390a51e391ad8e6bc (plain) (blame)
1
2
3
4
5
6
7
8
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)
{
  // Store the key in the key argument, return GNUNET_OK on success.
}