diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:51:21 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:51:21 +0000 |
commit | 6fd3e715cae09fa6e657c96f1c6f9711ee51f42f (patch) | |
tree | edbc42f37889069033e57da201fef242939a6e0f /src/include/gnunet_datacache_plugin.h | |
parent | 502af2167f7c218366666ca4944bd7cc54b5b19a (diff) | |
download | gnunet-6fd3e715cae09fa6e657c96f1c6f9711ee51f42f.tar.gz gnunet-6fd3e715cae09fa6e657c96f1c6f9711ee51f42f.zip |
indentation
Diffstat (limited to 'src/include/gnunet_datacache_plugin.h')
-rw-r--r-- | src/include/gnunet_datacache_plugin.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/include/gnunet_datacache_plugin.h b/src/include/gnunet_datacache_plugin.h index c7ce0bef1..6868d6b76 100644 --- a/src/include/gnunet_datacache_plugin.h +++ b/src/include/gnunet_datacache_plugin.h | |||
@@ -109,11 +109,8 @@ struct GNUNET_DATACACHE_PluginFunctions | |||
109 | * @param discard_time when to discard the value in any case | 109 | * @param discard_time when to discard the value in any case |
110 | * @return 0 on error, number of bytes used otherwise | 110 | * @return 0 on error, number of bytes used otherwise |
111 | */ | 111 | */ |
112 | size_t (*put) (void *cls, | 112 | size_t (*put) (void *cls, const GNUNET_HashCode * key, size_t size, |
113 | const GNUNET_HashCode * key, | 113 | const char *data, enum GNUNET_BLOCK_Type type, |
114 | size_t size, | ||
115 | const char *data, | ||
116 | enum GNUNET_BLOCK_Type type, | ||
117 | struct GNUNET_TIME_Absolute discard_time); | 114 | struct GNUNET_TIME_Absolute discard_time); |
118 | 115 | ||
119 | 116 | ||
@@ -128,8 +125,7 @@ struct GNUNET_DATACACHE_PluginFunctions | |||
128 | * @param iter_cls closure for iter | 125 | * @param iter_cls closure for iter |
129 | * @return the number of results found | 126 | * @return the number of results found |
130 | */ | 127 | */ |
131 | unsigned int (*get) (void *cls, | 128 | unsigned int (*get) (void *cls, const GNUNET_HashCode * key, |
132 | const GNUNET_HashCode * key, | ||
133 | enum GNUNET_BLOCK_Type type, | 129 | enum GNUNET_BLOCK_Type type, |
134 | GNUNET_DATACACHE_Iterator iter, void *iter_cls); | 130 | GNUNET_DATACACHE_Iterator iter, void *iter_cls); |
135 | 131 | ||