fixed include and added header
authorDaniel Stenberg <daniel@haxx.se>
Tue, 19 Mar 2002 14:00:47 +0000 (14:00 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 19 Mar 2002 14:00:47 +0000 (14:00 +0000)
docs/examples/multi-app.c
docs/examples/multi-double.c
docs/examples/multi-single.c

index 9ed5bf2..13a2213 100644 (file)
@@ -1,4 +1,12 @@
-/*
+/*****************************************************************************
+ *                                  _   _ ____  _     
+ *  Project                     ___| | | |  _ \| |    
+ *                             / __| | | | |_) | |    
+ *                            | (__| |_| |  _ <| |___ 
+ *                             \___|\___/|_| \_\_____|
+ *
+ * $Id$
+ *
  * This is an example application source code using the multi interface.
  */
 
@@ -9,10 +17,8 @@
 #include <sys/time.h>
 #include <unistd.h>
 
-
-/* To start with, we include the header from the lib directory. This should
-   later of course be moved to the proper include dir. */
-#include "../lib/multi.h"
+/* curl stuff */
+#include <curl/curl.h>
 
 /*
  * Download a HTTP file and upload an FTP file simultaneously.
index c850b0f..2b92d55 100644 (file)
@@ -1,5 +1,13 @@
-/*
- * This is a simple example using the multi interface.
+/*****************************************************************************
+ *                                  _   _ ____  _     
+ *  Project                     ___| | | |  _ \| |    
+ *                             / __| | | | |_) | |    
+ *                            | (__| |_| |  _ <| |___ 
+ *                             \___|\___/|_| \_\_____|
+ *
+ * $Id$
+ *
+ * This is a very simple example using the multi interface.
  */
 
 #include <stdio.h>
@@ -9,9 +17,8 @@
 #include <sys/time.h>
 #include <unistd.h>
 
-/* To start with, we include the header from the lib directory. This should
-   later of course be moved to the proper include dir. */
-#include "../lib/multi.h"
+/* curl stuff */
+#include <curl/curl.h>
 
 /*
  * Simply download two HTTP files!
index d17e033..562886a 100644 (file)
@@ -1,4 +1,12 @@
-/*
+/*****************************************************************************
+ *                                  _   _ ____  _     
+ *  Project                     ___| | | |  _ \| |    
+ *                             / __| | | | |_) | |    
+ *                            | (__| |_| |  _ <| |___ 
+ *                             \___|\___/|_| \_\_____|
+ *
+ * $Id$
+ *
  * This is a very simple example using the multi interface.
  */
 
@@ -9,9 +17,8 @@
 #include <sys/time.h>
 #include <unistd.h>
 
-/* To start with, we include the header from the lib directory. This should
-   later of course be moved to the proper include dir. */
-#include "../lib/multi.h"
+/* curl stuff */
+#include <curl/curl.h>
 
 /*
  * Simply download a HTTP file.