diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-11-01 16:58:00 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-11-01 16:58:00 +0000 |
commit | 13361222d8b8d47611d67c240ae2329cdc999a7e (patch) | |
tree | 6b1f80cddf463309d29952d3847ae49e3a4a60ee /src | |
parent | 549784896976cd2feaf7c1096720300df1cecc26 (diff) | |
download | gnunet-13361222d8b8d47611d67c240ae2329cdc999a7e.tar.gz gnunet-13361222d8b8d47611d67c240ae2329cdc999a7e.zip |
-doxygen
Diffstat (limited to 'src')
-rw-r--r-- | src/gns/gns_api.c | 2 | ||||
-rw-r--r-- | src/mesh/gnunet-regex-profiler.c | 1 | ||||
-rw-r--r-- | src/testbed/gnunet-service-testbed.c | 2 | ||||
-rw-r--r-- | src/transport/plugin_transport_http_client.c | 11 |
4 files changed, 11 insertions, 5 deletions
diff --git a/src/gns/gns_api.c b/src/gns/gns_api.c index a1d734df2..1e3cb0169 100644 --- a/src/gns/gns_api.c +++ b/src/gns/gns_api.c | |||
@@ -312,7 +312,7 @@ reconnect_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
312 | /** | 312 | /** |
313 | * Disconnect from service and then reconnect. | 313 | * Disconnect from service and then reconnect. |
314 | * | 314 | * |
315 | * @param h our handle | 315 | * @param handle our handle |
316 | */ | 316 | */ |
317 | static void | 317 | static void |
318 | force_reconnect (struct GNUNET_GNS_Handle *handle) | 318 | force_reconnect (struct GNUNET_GNS_Handle *handle) |
diff --git a/src/mesh/gnunet-regex-profiler.c b/src/mesh/gnunet-regex-profiler.c index 0e7b7391a..536eacccf 100644 --- a/src/mesh/gnunet-regex-profiler.c +++ b/src/mesh/gnunet-regex-profiler.c | |||
@@ -1579,6 +1579,7 @@ status_cb (void *cls, const struct GNUNET_CONFIGURATION_Handle *config, int stat | |||
1579 | * @param filename filename of the file containing the search strings. | 1579 | * @param filename filename of the file containing the search strings. |
1580 | * @param strings set of strings loaded from file. Caller needs to free this | 1580 | * @param strings set of strings loaded from file. Caller needs to free this |
1581 | * if number returned is greater than zero. | 1581 | * if number returned is greater than zero. |
1582 | * @param limit upper limit on the number of strings read from the file | ||
1582 | * @return number of strings found in the file. GNUNET_SYSERR on error. | 1583 | * @return number of strings found in the file. GNUNET_SYSERR on error. |
1583 | */ | 1584 | */ |
1584 | static int | 1585 | static int |
diff --git a/src/testbed/gnunet-service-testbed.c b/src/testbed/gnunet-service-testbed.c index d39bd82ad..ec3e000ee 100644 --- a/src/testbed/gnunet-service-testbed.c +++ b/src/testbed/gnunet-service-testbed.c | |||
@@ -2239,7 +2239,7 @@ peer_create_success_cb (void *cls, const struct GNUNET_MessageHeader *msg) | |||
2239 | /** | 2239 | /** |
2240 | * Function to destroy a peer | 2240 | * Function to destroy a peer |
2241 | * | 2241 | * |
2242 | * @param the peer structure to destroy | 2242 | * @param peer the peer structure to destroy |
2243 | */ | 2243 | */ |
2244 | static void | 2244 | static void |
2245 | destroy_peer (struct Peer *peer) | 2245 | destroy_peer (struct Peer *peer) |
diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c index 8eca99857..ad57e368a 100644 --- a/src/transport/plugin_transport_http_client.c +++ b/src/transport/plugin_transport_http_client.c | |||
@@ -344,9 +344,11 @@ client_stop_session_timeout (struct Session *s); | |||
344 | static int | 344 | static int |
345 | client_schedule (struct HTTP_Client_Plugin *plugin, int now); | 345 | client_schedule (struct HTTP_Client_Plugin *plugin, int now); |
346 | 346 | ||
347 | |||
347 | static int | 348 | static int |
348 | client_connect_put (struct Session *s); | 349 | client_connect_put (struct Session *s); |
349 | 350 | ||
351 | |||
350 | /** | 352 | /** |
351 | * Does a session s exists? | 353 | * Does a session s exists? |
352 | * | 354 | * |
@@ -370,21 +372,24 @@ client_exist_session (struct HTTP_Client_Plugin *plugin, struct Session *s) | |||
370 | return GNUNET_NO; | 372 | return GNUNET_NO; |
371 | } | 373 | } |
372 | 374 | ||
375 | |||
373 | /** | 376 | /** |
374 | * Loggging function | 377 | * Loggging function |
375 | * | 378 | * |
376 | * @param curl the curl easy handle | 379 | * @param curl the curl easy handle |
377 | * @param type message type | 380 | * @param type message type |
378 | * @param data data as a not \0-terminated string | 381 | * @param data data to log, NOT a 0-terminated string |
379 | * @param size data length | 382 | * @param size data length |
380 | * @param cls the closure | 383 | * @param cls the closure |
381 | * @return always 0 | 384 | * @return always 0 |
382 | */ | 385 | */ |
383 | static int | 386 | static int |
384 | client_log (CURL *curl, curl_infotype type, char *data, size_t size, void *cls) | 387 | client_log (CURL *curl, curl_infotype type, |
388 | const char *data, size_t size, void *cls) | ||
385 | { | 389 | { |
386 | struct ConnectionHandle *ch = cls; | 390 | struct ConnectionHandle *ch = cls; |
387 | char *ttype = "UNSPECIFIED"; | 391 | const char *ttype = "UNSPECIFIED"; |
392 | |||
388 | if ((type == CURLINFO_TEXT) || (type == CURLINFO_HEADER_IN) || (type == CURLINFO_HEADER_OUT)) | 393 | if ((type == CURLINFO_TEXT) || (type == CURLINFO_HEADER_IN) || (type == CURLINFO_HEADER_OUT)) |
389 | { | 394 | { |
390 | char text[size + 2]; | 395 | char text[size + 2]; |