aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-03-19 14:00:47 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-03-19 14:00:47 +0000
commit28939dd45cf0f21c039af961120ee25f2bd391f9 (patch)
tree0c7244ef6226a93edfdf61f0e1e5b1f24fa9857e
parent3853e3d6f35360c08cde82c7d5d51777c6fb4590 (diff)
fixed include and added header
-rw-r--r--docs/examples/multi-app.c16
-rw-r--r--docs/examples/multi-double.c17
-rw-r--r--docs/examples/multi-single.c15
3 files changed, 34 insertions, 14 deletions
diff --git a/docs/examples/multi-app.c b/docs/examples/multi-app.c
index 9ed5bf236..13a221325 100644
--- a/docs/examples/multi-app.c
+++ b/docs/examples/multi-app.c
@@ -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.
diff --git a/docs/examples/multi-double.c b/docs/examples/multi-double.c
index c850b0fe4..2b92d55f5 100644
--- a/docs/examples/multi-double.c
+++ b/docs/examples/multi-double.c
@@ -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!
diff --git a/docs/examples/multi-single.c b/docs/examples/multi-single.c
index d17e03396..562886a10 100644
--- a/docs/examples/multi-single.c
+++ b/docs/examples/multi-single.c
@@ -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.