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_template.c | |
parent | 6fd3e715cae09fa6e657c96f1c6f9711ee51f42f (diff) | |
download | gnunet-5746309cb4be2073d550ad7a6885e918631dbc38.tar.gz gnunet-5746309cb4be2073d550ad7a6885e918631dbc38.zip |
indentation
Diffstat (limited to 'src/block/plugin_block_template.c')
-rw-r--r-- | src/block/plugin_block_template.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/block/plugin_block_template.c b/src/block/plugin_block_template.c index 9eb84ac4b..7ce3004eb 100644 --- a/src/block/plugin_block_template.c +++ b/src/block/plugin_block_template.c | |||
@@ -46,14 +46,11 @@ | |||
46 | * @return characterization of result | 46 | * @return characterization of result |
47 | */ | 47 | */ |
48 | static enum GNUNET_BLOCK_EvaluationResult | 48 | static enum GNUNET_BLOCK_EvaluationResult |
49 | block_plugin_template_evaluate (void *cls, | 49 | block_plugin_template_evaluate (void *cls, enum GNUNET_BLOCK_Type type, |
50 | enum GNUNET_BLOCK_Type type, | ||
51 | const GNUNET_HashCode * query, | 50 | const GNUNET_HashCode * query, |
52 | struct GNUNET_CONTAINER_BloomFilter **bf, | 51 | struct GNUNET_CONTAINER_BloomFilter **bf, |
53 | int32_t bf_mutator, | 52 | int32_t bf_mutator, const void *xquery, |
54 | const void *xquery, | 53 | size_t xquery_size, const void *reply_block, |
55 | size_t xquery_size, | ||
56 | const void *reply_block, | ||
57 | size_t reply_block_size) | 54 | size_t reply_block_size) |
58 | { | 55 | { |
59 | return GNUNET_BLOCK_EVALUATION_TYPE_NOT_SUPPORTED; | 56 | return GNUNET_BLOCK_EVALUATION_TYPE_NOT_SUPPORTED; |
@@ -72,10 +69,9 @@ block_plugin_template_evaluate (void *cls, | |||
72 | * (or if extracting a key from a block of this type does not work) | 69 | * (or if extracting a key from a block of this type does not work) |
73 | */ | 70 | */ |
74 | static int | 71 | static int |
75 | block_plugin_template_get_key (void *cls, | 72 | block_plugin_template_get_key (void *cls, enum GNUNET_BLOCK_Type type, |
76 | enum GNUNET_BLOCK_Type type, | 73 | const void *block, size_t block_size, |
77 | const void *block, | 74 | GNUNET_HashCode * key) |
78 | size_t block_size, GNUNET_HashCode * key) | ||
79 | { | 75 | { |
80 | return GNUNET_SYSERR; | 76 | return GNUNET_SYSERR; |
81 | } | 77 | } |