gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r5086 - libmicrohttpd/src/include


From: gnunet
Subject: [GNUnet-SVN] r5086 - libmicrohttpd/src/include
Date: Sat, 16 Jun 2007 01:33:13 -0600 (MDT)

Author: grothoff
Date: 2007-06-16 01:33:12 -0600 (Sat, 16 Jun 2007)
New Revision: 5086

Modified:
   libmicrohttpd/src/include/microhttpd.h
Log:
removing whitespace

Modified: libmicrohttpd/src/include/microhttpd.h
===================================================================
--- libmicrohttpd/src/include/microhttpd.h      2007-06-16 07:33:00 UTC (rev 
5085)
+++ libmicrohttpd/src/include/microhttpd.h      2007-06-16 07:33:12 UTC (rev 
5086)
@@ -162,7 +162,7 @@
   /**
    * Run using one thread per connection.
    */
-  MHD_USE_THREAD_PER_CONNECTION = 4,  
+  MHD_USE_THREAD_PER_CONNECTION = 4,
 
   /**
    * Run using an internal thread doing SELECT.
@@ -221,13 +221,13 @@
 
 /**
  * Allow or deny a client to connect.
- * 
  *
+ *
  * @param addr address information from the client
  * @param addrlen length of the address information
  * @return MHD_YES if connection is allowed, MHD_NO if not
  */
-typedef int 
+typedef int
 (*MHD_AcceptPolicyCallback)(void * cls,
                            const struct sockaddr * addr,
                            socklen_t addrlen);
@@ -260,7 +260,7 @@
  * also to iterate over the headers that have been
  * added to a response.
  *
- * @return MHD_YES to continue iterating, 
+ * @return MHD_YES to continue iterating,
  *         MHD_NO to abort the iteration
  */
 typedef int
@@ -289,11 +289,11 @@
  *        be queried multiple times for the same data;
  *        however, if an MHD_Response is not re-used,
  *        libmicrohttpd guarantees that "pos" will be
- *        the sum of all non-negative return values 
+ *        the sum of all non-negative return values
  *        obtained from the content reader so far.
  * @return -1 on error (libmicrohttpd will no longer
  *  try to read content and instead close the connection
- *  with the client). 
+ *  with the client).
  */
 typedef int
 (*MHD_ContentReaderCallback)(void * cls,
@@ -344,7 +344,7 @@
  *         daemon was not started with the right
  *         options for this call.
  */
-int 
+int
 MHD_get_fdset(struct MHD_Daemon * daemon,
              fd_set * read_fd_set,
              fd_set * write_fd_set,
@@ -355,7 +355,7 @@
  * Run webserver operations (without blocking unless
  * in client callbacks).  This method should be called
  * by clients in combination with MHD_get_fdset
- * if the client-controlled select method is used. 
+ * if the client-controlled select method is used.
  *
  * @return MHD_YES on success, MHD_NO if this
  *         daemon was not started with the right
@@ -368,11 +368,11 @@
 /**
  * Register an access handler for all URIs beginning with uri_prefix.
  *
- * @param uri_prefix 
+ * @param uri_prefix
  * @return MRI_NO if a handler for this exact prefix
  *         already exists
  */
-int 
+int
 MHD_register_handler(struct MHD_Daemon * daemon,
                     const char * uri_prefix,
                     MHD_AccessHandlerCallback dh,
@@ -382,11 +382,11 @@
  * Unregister an access handler for the URIs beginning with
  * uri_prefix.
  *
- * @param uri_prefix 
+ * @param uri_prefix
  * @return MHD_NO if a handler for this exact prefix
  *         is not known for this daemon
  */
-int 
+int
 MHD_unregister_handler(struct MHD_Daemon * daemon,
                       const char * uri_prefix,
                       MHD_AccessHandlerCallback dh,
@@ -399,7 +399,7 @@
  *        maybe NULL (then just count headers)
  * @param iterator_cls extra argument to iterator
  * @return number of entries iterated over
- */ 
+ */
 int
 MHD_get_session_values(struct MHD_Session * session,
                       enum MHD_ValueKind kind,
@@ -412,7 +412,7 @@
  *
  * @param key the header to look for
  * @return NULL if no such item was found
- */ 
+ */
 const char *
 MHD_lookup_session_value(struct MHD_Session * session,
                         enum MHD_ValueKind kind,
@@ -421,19 +421,19 @@
 /**
  * Queue a response to be transmitted to the client (as soon as
  * possible).
- * 
+ *
  * @param session the session identifying the client
  * @param status_code HTTP status code (i.e. 200 for OK)
  * @param response response to transmit
  * @return MHD_NO on error (i.e. reply already sent),
  *         MHD_YES on success or if message has been queued
  */
-int 
+int
 MHD_queue_response(struct MHD_Session * session,
                   unsigned int status_code,
                   struct MHD_Response * response);
 
-              
+       
 /**
  * Create a response object.  The response object can be extended with
  * header information and then be used any number of times.
@@ -457,7 +457,7 @@
  * @param size size of the data portion of the response
  * @param data the data itself
  * @param must_free libmicrohttpd should free data when done
- * @param must_copy libmicrohttpd must make a copy of data 
+ * @param must_copy libmicrohttpd must make a copy of data
  *        right away, the data maybe released anytime after
  *        this call returns
  * @return NULL on error (i.e. invalid arguments, out of memory)
@@ -504,7 +504,7 @@
  *        maybe NULL (then just count headers)
  * @param iterator_cls extra argument to iterator
  * @return number of entries iterated over
- */ 
+ */
 int
 MHD_get_response_headers(struct MHD_Response * response,
                         MHD_KeyValueIterator iterator,
@@ -516,7 +516,7 @@
  *
  * @param key which header to get
  * @return NULL if header does not exist
- */ 
+ */
 const char *
 MHD_get_response_header(struct MHD_Response * response,
                        const char * key);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]