[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r21921 - gnunet/src/gns
From: |
gnunet |
Subject: |
[GNUnet-SVN] r21921 - gnunet/src/gns |
Date: |
Tue, 12 Jun 2012 18:23:49 +0200 |
Author: schanzen
Date: 2012-06-12 18:23:48 +0200 (Tue, 12 Jun 2012)
New Revision: 21921
Modified:
gnunet/src/gns/gnunet-gns-proxy.c
Log:
-fix, doxy
Modified: gnunet/src/gns/gnunet-gns-proxy.c
===================================================================
--- gnunet/src/gns/gnunet-gns-proxy.c 2012-06-12 16:18:14 UTC (rev 21920)
+++ gnunet/src/gns/gnunet-gns-proxy.c 2012-06-12 16:23:48 UTC (rev 21921)
@@ -488,6 +488,7 @@
* Callback to free content
*
* @param cls content to free
+ * @param tc task context
*/
static void
mhd_content_free (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
@@ -550,6 +551,7 @@
* @param pos in buffer
* @param buf buffer
* @param max space in buffer
+ * @return number of bytes written
*/
static ssize_t
mhd_content_cb (void *cls,
@@ -1277,6 +1279,8 @@
/**
* schedule mhd
+ *
+ * @param hd the daemon to run
*/
static void
run_httpd (struct MhdHttpList *hd)
@@ -1550,7 +1554,12 @@
return MHD_add_connection (daemon, fd, addr, len);
}
-
+/**
+ * Calculate size of file
+ *
+ * @param filename name of file
+ * @return filesize or 0 on error
+ */
static long
get_file_size (const char* filename)
{
@@ -1576,6 +1585,7 @@
* Read file in filename
*
* @param filename file to read
+ * @param size pointer where filesize is stored
* @return data
*/
static char*
@@ -1609,8 +1619,6 @@
return buffer;
}
-/** SSL stuff **/
-
/**
* Load PEM key from file
*
@@ -2210,7 +2218,6 @@
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Shutting down...\n");
- MHD_fini ();
gnutls_global_deinit ();
if (GNUNET_SCHEDULER_NO_TASK != curl_download_task)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r21921 - gnunet/src/gns,
gnunet <=