diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:54:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:54:06 +0000 |
commit | 5746309cb4be2073d550ad7a6885e918631dbc38 (patch) | |
tree | 89455bc4aadf977816b38df13f990372cd81d71a /src/block/plugin_block_test.c | |
parent | 6fd3e715cae09fa6e657c96f1c6f9711ee51f42f (diff) | |
download | gnunet-5746309cb4be2073d550ad7a6885e918631dbc38.tar.gz gnunet-5746309cb4be2073d550ad7a6885e918631dbc38.zip |
indentation
Diffstat (limited to 'src/block/plugin_block_test.c')
-rw-r--r-- | src/block/plugin_block_test.c | 17 |
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 | */ |
55 | static enum GNUNET_BLOCK_EvaluationResult | 55 | static enum GNUNET_BLOCK_EvaluationResult |
56 | block_plugin_test_evaluate (void *cls, | 56 | block_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 | */ |
102 | static int | 100 | static int |
103 | block_plugin_test_get_key (void *cls, | 101 | block_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 */ |