gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r7816 - in libmicrohttpd/doc: . chapters examples


From: gnunet
Subject: [GNUnet-SVN] r7816 - in libmicrohttpd/doc: . chapters examples
Date: Sat, 1 Nov 2008 02:18:14 -0600 (MDT)

Author: sebdocwriter
Date: 2008-11-01 02:18:13 -0600 (Sat, 01 Nov 2008)
New Revision: 7816

Modified:
   libmicrohttpd/doc/chapters/basicauthentication.inc
   libmicrohttpd/doc/chapters/hellobrowser.inc
   libmicrohttpd/doc/chapters/largerpost.inc
   libmicrohttpd/doc/examples/basicauthentication.c
   libmicrohttpd/doc/examples/hellobrowser.c
   libmicrohttpd/doc/examples/largepost.c
   libmicrohttpd/doc/examples/logging.c
   libmicrohttpd/doc/examples/responseheaders.c
   libmicrohttpd/doc/examples/simplepost.c
   libmicrohttpd/doc/tutorial.texi
Log:
Upgraded & tested tutorial for version 0.4 prerelease0


Modified: libmicrohttpd/doc/chapters/basicauthentication.inc
===================================================================
--- libmicrohttpd/doc/chapters/basicauthentication.inc  2008-11-01 06:38:04 UTC 
(rev 7815)
+++ libmicrohttpd/doc/chapters/basicauthentication.inc  2008-11-01 08:18:13 UTC 
(rev 7816)
@@ -12,7 +12,7 @@
 @end verbatim
 @noindent
 
-In a situation, where the client is customized enough and the connection occurs
+In a situation where the client is customized enough and the connection occurs
 through secured lines (e.g., a embedded device directly attached to another 
via wire),
 this can be a reasonable choice.
 

Modified: libmicrohttpd/doc/chapters/hellobrowser.inc
===================================================================
--- libmicrohttpd/doc/chapters/hellobrowser.inc 2008-11-01 06:38:04 UTC (rev 
7815)
+++ libmicrohttpd/doc/chapters/hellobrowser.inc 2008-11-01 08:18:13 UTC (rev 
7816)
@@ -9,15 +9,15 @@
 If you are very eager, you can compile and start it right away but it is 
advisable to type the
 lines in by yourself as they will be discussed and explained in detail. 
 
-After the unexciting includes and the definition of the port which our server 
should listen on
+After the necessary includes and the definition of the port which our server 
should listen on
 @verbatim
+#include <platform.h>
 #include <microhttpd.h>
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
+
+#define PORT 8888
 @end verbatim
 @noindent
-the desired behaviour of our server when HTTP request arrive have to be 
implemented. We already have
+the desired behaviour of our server when HTTP request arrive has to be 
implemented. We already have
 agreed that it should not care about the particular details of the request, 
such as who is requesting
 what. The server will respond merely with the same small HTML page to every 
request. 
 

Modified: libmicrohttpd/doc/chapters/largerpost.inc
===================================================================
--- libmicrohttpd/doc/chapters/largerpost.inc   2008-11-01 06:38:04 UTC (rev 
7815)
+++ libmicrohttpd/doc/chapters/largerpost.inc   2008-11-01 08:18:13 UTC (rev 
7816)
@@ -1,6 +1,3 @@
---- NOTE: This does not work flawlessly with the beta release because there is
-a bug preventing early busy messages from being sent ---
-
 The previous chapter introduced a way to upload data to the server, but the 
developed example program 
 has some shortcomings, such as not being able to handle larger chunks of data. 
In this chapter, we
 are going to discuss a more advanced server program that allows clients to 
upload a file in order to 

Modified: libmicrohttpd/doc/examples/basicauthentication.c
===================================================================
--- libmicrohttpd/doc/examples/basicauthentication.c    2008-11-01 06:38:04 UTC 
(rev 7815)
+++ libmicrohttpd/doc/examples/basicauthentication.c    2008-11-01 08:18:13 UTC 
(rev 7816)
@@ -1,7 +1,5 @@
+#include <platform.h>
 #include <microhttpd.h>
-#include <string.h>
-#include <stdio.h>
-#include <stdlib.h>
 #include <time.h>
 
 #define PORT 8888

Modified: libmicrohttpd/doc/examples/hellobrowser.c
===================================================================
--- libmicrohttpd/doc/examples/hellobrowser.c   2008-11-01 06:38:04 UTC (rev 
7815)
+++ libmicrohttpd/doc/examples/hellobrowser.c   2008-11-01 08:18:13 UTC (rev 
7816)
@@ -1,7 +1,5 @@
+#include <platform.h>
 #include <microhttpd.h>
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
 
 #define PORT 8888
 

Modified: libmicrohttpd/doc/examples/largepost.c
===================================================================
--- libmicrohttpd/doc/examples/largepost.c      2008-11-01 06:38:04 UTC (rev 
7815)
+++ libmicrohttpd/doc/examples/largepost.c      2008-11-01 08:18:13 UTC (rev 
7816)
@@ -1,8 +1,5 @@
 #include <platform.h>
 #include <microhttpd.h>
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
 
 #define PORT            8888
 #define POSTBUFFERSIZE  512

Modified: libmicrohttpd/doc/examples/logging.c
===================================================================
--- libmicrohttpd/doc/examples/logging.c        2008-11-01 06:38:04 UTC (rev 
7815)
+++ libmicrohttpd/doc/examples/logging.c        2008-11-01 08:18:13 UTC (rev 
7816)
@@ -1,7 +1,5 @@
+#include <platform.h>
 #include <microhttpd.h>
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
 
 #define PORT 8888
 

Modified: libmicrohttpd/doc/examples/responseheaders.c
===================================================================
--- libmicrohttpd/doc/examples/responseheaders.c        2008-11-01 06:38:04 UTC 
(rev 7815)
+++ libmicrohttpd/doc/examples/responseheaders.c        2008-11-01 08:18:13 UTC 
(rev 7816)
@@ -1,7 +1,5 @@
+#include <platform.h>
 #include <microhttpd.h>
-#include <string.h>
-#include <stdio.h>
-#include <stdlib.h>
 #include <time.h>
 
 #define PORT 8888

Modified: libmicrohttpd/doc/examples/simplepost.c
===================================================================
--- libmicrohttpd/doc/examples/simplepost.c     2008-11-01 06:38:04 UTC (rev 
7815)
+++ libmicrohttpd/doc/examples/simplepost.c     2008-11-01 08:18:13 UTC (rev 
7816)
@@ -1,7 +1,5 @@
+#include <platform.h>
 #include <microhttpd.h>
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
 
 #define PORT            8888
 #define POSTBUFFERSIZE  512

Modified: libmicrohttpd/doc/tutorial.texi
===================================================================
--- libmicrohttpd/doc/tutorial.texi     2008-11-01 06:38:04 UTC (rev 7815)
+++ libmicrohttpd/doc/tutorial.texi     2008-11-01 08:18:13 UTC (rev 7816)
@@ -4,7 +4,7 @@
 @settitle A tutorial for GNU libmicrohttpd
 @afourpaper
 
address@hidden VERSION 0.3.1 beta
address@hidden VERSION 0.4.0 prerelease0
 
 @titlepage
 @title A Tutorial for GNU libmicrohttpd





reply via email to

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