diff options
author | schanzen <schanzen@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-06-12 16:23:48 +0000 |
---|---|---|
committer | schanzen <schanzen@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-06-12 16:23:48 +0000 |
commit | 6319927cbbf84f9de302a8721c6a2e58e1033afc (patch) | |
tree | 0ecf9ca58c3f6dfb4ae4f03014e3fe0ea378edf3 /src | |
parent | 934c36ccb8c6e52a31385145abcd4b43241a627f (diff) |
-fix, doxy
git-svn-id: https://gnunet.org/svn/gnunet@21921 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src')
-rw-r--r-- | src/gns/gnunet-gns-proxy.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c index a4f665425b..65139beb4c 100644 --- a/src/gns/gnunet-gns-proxy.c +++ b/src/gns/gnunet-gns-proxy.c @@ -488,6 +488,7 @@ curl_download_prepare (); * 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 @@ process_shorten (void* cls, const char* short_name) * @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 @@ run_httpds () /** * schedule mhd + * + * @param hd the daemon to run */ static void run_httpd (struct MhdHttpList *hd) @@ -1550,7 +1554,12 @@ add_handle_to_mhd (struct GNUNET_NETWORK_Handle *h, struct MHD_Daemon *daemon) 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 @@ get_file_size (const char* filename) * Read file in filename * * @param filename file to read + * @param size pointer where filesize is stored * @return data */ static char* @@ -1609,8 +1619,6 @@ load_file (const char* filename, unsigned int* size) return buffer; } -/** SSL stuff **/ - /** * Load PEM key from file * @@ -2210,7 +2218,6 @@ do_shutdown (void *cls, GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Shutting down...\n"); - MHD_fini (); gnutls_global_deinit (); if (GNUNET_SCHEDULER_NO_TASK != curl_download_task) |