summaryrefslogtreecommitdiff
path: root/src/block/plugin_block_test.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-15 21:54:06 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-15 21:54:06 +0000
commit5746309cb4be2073d550ad7a6885e918631dbc38 (patch)
tree89455bc4aadf977816b38df13f990372cd81d71a /src/block/plugin_block_test.c
parent6fd3e715cae09fa6e657c96f1c6f9711ee51f42f (diff)
downloadgnunet-5746309cb4be2073d550ad7a6885e918631dbc38.tar.gz
gnunet-5746309cb4be2073d550ad7a6885e918631dbc38.zip
indentation
Diffstat (limited to 'src/block/plugin_block_test.c')
-rw-r--r--src/block/plugin_block_test.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/block/plugin_block_test.c b/src/block/plugin_block_test.c
index b5c03eea9..6fa535afe 100644
--- a/src/block/plugin_block_test.c
+++ b/src/block/plugin_block_test.c
@@ -53,14 +53,12 @@
53 * @return characterization of result 53 * @return characterization of result
54 */ 54 */
55static enum GNUNET_BLOCK_EvaluationResult 55static enum GNUNET_BLOCK_EvaluationResult
56block_plugin_test_evaluate (void *cls, 56block_plugin_test_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
57 enum GNUNET_BLOCK_Type type,
58 const GNUNET_HashCode * query, 57 const GNUNET_HashCode * query,
59 struct GNUNET_CONTAINER_BloomFilter **bf, 58 struct GNUNET_CONTAINER_BloomFilter **bf,
60 int32_t bf_mutator, 59 int32_t bf_mutator, const void *xquery,
61 const void *xquery, 60 size_t xquery_size, const void *reply_block,
62 size_t xquery_size, 61 size_t reply_block_size)
63 const void *reply_block, size_t reply_block_size)
64{ 62{
65 GNUNET_HashCode chash; 63 GNUNET_HashCode chash;
66 GNUNET_HashCode mhash; 64 GNUNET_HashCode mhash;
@@ -100,10 +98,9 @@ block_plugin_test_evaluate (void *cls,
100 * (or if extracting a key from a block of this type does not work) 98 * (or if extracting a key from a block of this type does not work)
101 */ 99 */
102static int 100static int
103block_plugin_test_get_key (void *cls, 101block_plugin_test_get_key (void *cls, enum GNUNET_BLOCK_Type type,
104 enum GNUNET_BLOCK_Type type, 102 const void *block, size_t block_size,
105 const void *block, 103 GNUNET_HashCode * key)
106 size_t block_size, GNUNET_HashCode * key)
107{ 104{
108 /* always fails since there is no fixed relationship between 105 /* always fails since there is no fixed relationship between
109 * keys and values for test values */ 106 * keys and values for test values */