diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-03-23 16:15:50 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-03-23 16:15:50 +0000 |
commit | d0818f55815212dde381bd1a65a67f4d7d6124ff (patch) | |
tree | e54e3f080bde1441ce732956e025683f36f1c291 | |
parent | c83780d7be3f1a744f72437220b351ce2ce0d68e (diff) | |
download | gnunet-d0818f55815212dde381bd1a65a67f4d7d6124ff.tar.gz gnunet-d0818f55815212dde381bd1a65a67f4d7d6124ff.zip |
- dozygen
-rw-r--r-- | src/gns/gnunet-service-gns_resolver.h | 2 | ||||
-rw-r--r-- | src/include/gnunet_gns_service.h | 34 | ||||
-rw-r--r-- | src/mysql/mysql.c | 1 | ||||
-rw-r--r-- | src/stream/stream_api.c | 4 |
4 files changed, 20 insertions, 21 deletions
diff --git a/src/gns/gnunet-service-gns_resolver.h b/src/gns/gnunet-service-gns_resolver.h index fd5d2a5d3..ad7ff6223 100644 --- a/src/gns/gnunet-service-gns_resolver.h +++ b/src/gns/gnunet-service-gns_resolver.h | |||
@@ -45,7 +45,7 @@ typedef void (*ResolverCleanupContinuation) (void); | |||
45 | * | 45 | * |
46 | * @param cls the closure | 46 | * @param cls the closure |
47 | * @param rd_count number of results | 47 | * @param rd_count number of results |
48 | * @pram rd resukt data | 48 | * @param rd resukt data |
49 | */ | 49 | */ |
50 | typedef void (*RecordLookupProcessor) (void *cls, | 50 | typedef void (*RecordLookupProcessor) (void *cls, |
51 | uint32_t rd_count, | 51 | uint32_t rd_count, |
diff --git a/src/include/gnunet_gns_service.h b/src/include/gnunet_gns_service.h index 24e0a67b7..90280a7b1 100644 --- a/src/include/gnunet_gns_service.h +++ b/src/include/gnunet_gns_service.h | |||
@@ -85,7 +85,7 @@ enum GNUNET_GNS_RecordType | |||
85 | * Initialize the connection with the GNS service. | 85 | * Initialize the connection with the GNS service. |
86 | * | 86 | * |
87 | * @param cfg configuration to use | 87 | * @param cfg configuration to use |
88 | * @param ht_len size of the internal hash table to use for parallel requests | 88 | * |
89 | * @return handle to the GNS service, or NULL on error | 89 | * @return handle to the GNS service, or NULL on error |
90 | */ | 90 | */ |
91 | struct GNUNET_GNS_Handle * | 91 | struct GNUNET_GNS_Handle * |
@@ -152,20 +152,19 @@ typedef void (*GNUNET_GNS_ShortenResultProcessor) (void *cls, | |||
152 | 152 | ||
153 | 153 | ||
154 | /** | 154 | /** |
155 | * Perform a shorten operation on name using the GNS. | 155 | * Perform a name shortening operation on the GNS. |
156 | * | 156 | * |
157 | * @param handle handle to the GNS service | 157 | * @param handle handle to the GNS service |
158 | * @param name the name to shorten | 158 | * @param name the name to look up |
159 | * @param proc processor to call on result | 159 | * @param proc function to call on result |
160 | * @param cls closure for processor | 160 | * @param proc_cls closure for processor |
161 | * | 161 | * @return handle to the operation |
162 | * @return handle to the shorten operation | ||
163 | */ | 162 | */ |
164 | struct GNUNET_GNS_QueueEntry * | 163 | struct GNUNET_GNS_QueueEntry * |
165 | GNUNET_GNS_shorten (struct GNUNET_GNS_Handle *handle, | 164 | GNUNET_GNS_shorten (struct GNUNET_GNS_Handle *handle, |
166 | const char * name, | 165 | const char * name, |
167 | GNUNET_GNS_ShortenResultProcessor proc, | 166 | GNUNET_GNS_ShortenResultProcessor proc, |
168 | void *cls); | 167 | void *proc_cls); |
169 | 168 | ||
170 | 169 | ||
171 | /* *************** Standard API: get authority ******************* */ | 170 | /* *************** Standard API: get authority ******************* */ |
@@ -183,20 +182,19 @@ typedef void (*GNUNET_GNS_GetAuthResultProcessor) (void *cls, | |||
183 | 182 | ||
184 | 183 | ||
185 | /** | 184 | /** |
186 | * Perform a shorten operation on name using the GNS. | 185 | * Perform an authority lookup for a given name. |
187 | * | 186 | * |
188 | * @param handle handle to the GNS service | 187 | * @param handle handle to the GNS service |
189 | * @param name the name to look up authority for | 188 | * @param name the name to look up authority for |
190 | * @param proc processor to call on result | 189 | * @param proc function to call on result |
191 | * @param cls closure for processor | 190 | * @param proc_cls closure for processor |
192 | * | 191 | * @return handle to the operation |
193 | * @return handle to the get authority operation | ||
194 | */ | 192 | */ |
195 | struct GNUNET_GNS_QueueEntry * | 193 | struct GNUNET_GNS_QueueEntry * |
196 | GNUNET_GNS_get_authority (struct GNUNET_GNS_Handle *handle, | 194 | GNUNET_GNS_get_authority (struct GNUNET_GNS_Handle *handle, |
197 | const char * name, | 195 | const char * name, |
198 | GNUNET_GNS_GetAuthResultProcessor proc, | 196 | GNUNET_GNS_GetAuthResultProcessor proc, |
199 | void *cls); | 197 | void *proc_cls); |
200 | 198 | ||
201 | #if 0 /* keep Emacsens' auto-indent happy */ | 199 | #if 0 /* keep Emacsens' auto-indent happy */ |
202 | { | 200 | { |
diff --git a/src/mysql/mysql.c b/src/mysql/mysql.c index e4f095396..098213b33 100644 --- a/src/mysql/mysql.c +++ b/src/mysql/mysql.c | |||
@@ -125,6 +125,7 @@ struct GNUNET_MYSQL_StatementHandle | |||
125 | * Obtain the location of ".my.cnf". | 125 | * Obtain the location of ".my.cnf". |
126 | * | 126 | * |
127 | * @param cfg our configuration | 127 | * @param cfg our configuration |
128 | * @param section the section | ||
128 | * @return NULL on error | 129 | * @return NULL on error |
129 | */ | 130 | */ |
130 | static char * | 131 | static char * |
diff --git a/src/stream/stream_api.c b/src/stream/stream_api.c index f8222ff40..56dbdc478 100644 --- a/src/stream/stream_api.c +++ b/src/stream/stream_api.c | |||
@@ -2480,10 +2480,10 @@ GNUNET_STREAM_listen (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
2480 | /** | 2480 | /** |
2481 | * Closes the listen socket | 2481 | * Closes the listen socket |
2482 | * | 2482 | * |
2483 | * @param lsocket the listen socket | 2483 | * @param socket the listen socket |
2484 | */ | 2484 | */ |
2485 | void | 2485 | void |
2486 | GNUNET_STREAM_listen_close (struct GNUNET_STREAM_ListenSocket *lsocket) | 2486 | GNUNET_STREAM_listen_close (struct GNUNET_STREAM_ListenSocket *socket) |
2487 | { | 2487 | { |
2488 | /* Close MESH connection */ | 2488 | /* Close MESH connection */ |
2489 | GNUNET_assert (NULL != lsocket->mesh); | 2489 | GNUNET_assert (NULL != lsocket->mesh); |