aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-11-01 16:58:00 +0000
committerChristian Grothoff <christian@grothoff.org>2012-11-01 16:58:00 +0000
commit13361222d8b8d47611d67c240ae2329cdc999a7e (patch)
tree6b1f80cddf463309d29952d3847ae49e3a4a60ee /src
parent549784896976cd2feaf7c1096720300df1cecc26 (diff)
downloadgnunet-13361222d8b8d47611d67c240ae2329cdc999a7e.tar.gz
gnunet-13361222d8b8d47611d67c240ae2329cdc999a7e.zip
-doxygen
Diffstat (limited to 'src')
-rw-r--r--src/gns/gns_api.c2
-rw-r--r--src/mesh/gnunet-regex-profiler.c1
-rw-r--r--src/testbed/gnunet-service-testbed.c2
-rw-r--r--src/transport/plugin_transport_http_client.c11
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 */
317static void 317static void
318force_reconnect (struct GNUNET_GNS_Handle *handle) 318force_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 */
1584static int 1585static 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 */
2244static void 2244static void
2245destroy_peer (struct Peer *peer) 2245destroy_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);
344static int 344static int
345client_schedule (struct HTTP_Client_Plugin *plugin, int now); 345client_schedule (struct HTTP_Client_Plugin *plugin, int now);
346 346
347
347static int 348static int
348client_connect_put (struct Session *s); 349client_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 */
383static int 386static int
384client_log (CURL *curl, curl_infotype type, char *data, size_t size, void *cls) 387client_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];