diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-10-07 08:01:46 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-10-07 08:01:46 +0000 |
commit | b37abd79cafa9ef6221e4d86ba426ed94b037281 (patch) | |
tree | a0706e4856e68a10f3e1e68ce659bc53e65f473c /src/block | |
parent | 2d60ec0a85a587b802c4b10c6f89f30618cdab69 (diff) | |
download | gnunet-b37abd79cafa9ef6221e4d86ba426ed94b037281.tar.gz gnunet-b37abd79cafa9ef6221e4d86ba426ed94b037281.zip |
stuff
Diffstat (limited to 'src/block')
-rw-r--r-- | src/block/plugin_block.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/block/plugin_block.h b/src/block/plugin_block.h index 671f83aad..e0a323d25 100644 --- a/src/block/plugin_block.h +++ b/src/block/plugin_block.h | |||
@@ -32,7 +32,6 @@ | |||
32 | #include "gnunet_block_lib.h" | 32 | #include "gnunet_block_lib.h" |
33 | 33 | ||
34 | 34 | ||
35 | |||
36 | /** | 35 | /** |
37 | * Function called to validate a reply or a request. For | 36 | * Function called to validate a reply or a request. For |
38 | * request evaluation, simply pass "NULL" for the reply_block. | 37 | * request evaluation, simply pass "NULL" for the reply_block. |
@@ -71,7 +70,9 @@ typedef enum GNUNET_BLOCK_EvaluationResult | |||
71 | * @param block block to get the key for | 70 | * @param block block to get the key for |
72 | * @param block_size number of bytes in block | 71 | * @param block_size number of bytes in block |
73 | * @param key set to the key (query) for the given block | 72 | * @param key set to the key (query) for the given block |
74 | * @return GNUNET_OK on success, GNUNET_SYSERR if type not supported | 73 | * @return GNUNET_YES on success, |
74 | * GNUNET_NO if the block is malformed | ||
75 | * GNUNET_SYSERR if type not supported | ||
75 | * (or if extracting a key from a block of this type does not work) | 76 | * (or if extracting a key from a block of this type does not work) |
76 | */ | 77 | */ |
77 | typedef int | 78 | typedef int |