[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r24665 - in gnunet/src: gns mesh testbed transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r24665 - in gnunet/src: gns mesh testbed transport |
Date: |
Thu, 1 Nov 2012 17:58:00 +0100 |
Author: grothoff
Date: 2012-11-01 17:58:00 +0100 (Thu, 01 Nov 2012)
New Revision: 24665
Modified:
gnunet/src/gns/gns_api.c
gnunet/src/mesh/gnunet-regex-profiler.c
gnunet/src/testbed/gnunet-service-testbed.c
gnunet/src/transport/plugin_transport_http_client.c
Log:
-doxygen
Modified: gnunet/src/gns/gns_api.c
===================================================================
--- gnunet/src/gns/gns_api.c 2012-11-01 16:50:46 UTC (rev 24664)
+++ gnunet/src/gns/gns_api.c 2012-11-01 16:58:00 UTC (rev 24665)
@@ -312,7 +312,7 @@
/**
* Disconnect from service and then reconnect.
*
- * @param h our handle
+ * @param handle our handle
*/
static void
force_reconnect (struct GNUNET_GNS_Handle *handle)
Modified: gnunet/src/mesh/gnunet-regex-profiler.c
===================================================================
--- gnunet/src/mesh/gnunet-regex-profiler.c 2012-11-01 16:50:46 UTC (rev
24664)
+++ gnunet/src/mesh/gnunet-regex-profiler.c 2012-11-01 16:58:00 UTC (rev
24665)
@@ -1579,6 +1579,7 @@
* @param filename filename of the file containing the search strings.
* @param strings set of strings loaded from file. Caller needs to free this
* if number returned is greater than zero.
+ * @param limit upper limit on the number of strings read from the file
* @return number of strings found in the file. GNUNET_SYSERR on error.
*/
static int
Modified: gnunet/src/testbed/gnunet-service-testbed.c
===================================================================
--- gnunet/src/testbed/gnunet-service-testbed.c 2012-11-01 16:50:46 UTC (rev
24664)
+++ gnunet/src/testbed/gnunet-service-testbed.c 2012-11-01 16:58:00 UTC (rev
24665)
@@ -2239,7 +2239,7 @@
/**
* Function to destroy a peer
*
- * @param the peer structure to destroy
+ * @param peer the peer structure to destroy
*/
static void
destroy_peer (struct Peer *peer)
Modified: gnunet/src/transport/plugin_transport_http_client.c
===================================================================
--- gnunet/src/transport/plugin_transport_http_client.c 2012-11-01 16:50:46 UTC
(rev 24664)
+++ gnunet/src/transport/plugin_transport_http_client.c 2012-11-01 16:58:00 UTC
(rev 24665)
@@ -344,9 +344,11 @@
static int
client_schedule (struct HTTP_Client_Plugin *plugin, int now);
+
static int
client_connect_put (struct Session *s);
+
/**
* Does a session s exists?
*
@@ -370,21 +372,24 @@
return GNUNET_NO;
}
+
/**
* Loggging function
*
* @param curl the curl easy handle
* @param type message type
- * @param data data as a not \0-terminated string
+ * @param data data to log, NOT a 0-terminated string
* @param size data length
* @param cls the closure
* @return always 0
*/
static int
-client_log (CURL *curl, curl_infotype type, char *data, size_t size, void *cls)
+client_log (CURL *curl, curl_infotype type,
+ const char *data, size_t size, void *cls)
{
struct ConnectionHandle *ch = cls;
- char *ttype = "UNSPECIFIED";
+ const char *ttype = "UNSPECIFIED";
+
if ((type == CURLINFO_TEXT) || (type == CURLINFO_HEADER_IN) || (type ==
CURLINFO_HEADER_OUT))
{
char text[size + 2];
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r24665 - in gnunet/src: gns mesh testbed transport,
gnunet <=