1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

fixed include and added header

This commit is contained in:
Daniel Stenberg 2002-03-19 14:00:47 +00:00
parent 3853e3d6f3
commit 28939dd45c
3 changed files with 34 additions and 14 deletions

View File

@ -1,4 +1,12 @@
/* /*****************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* $Id$
*
* This is an example application source code using the multi interface. * This is an example application source code using the multi interface.
*/ */
@ -9,10 +17,8 @@
#include <sys/time.h> #include <sys/time.h>
#include <unistd.h> #include <unistd.h>
/* curl stuff */
/* To start with, we include the header from the lib directory. This should #include <curl/curl.h>
later of course be moved to the proper include dir. */
#include "../lib/multi.h"
/* /*
* Download a HTTP file and upload an FTP file simultaneously. * Download a HTTP file and upload an FTP file simultaneously.

View 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> #include <stdio.h>
@ -9,9 +17,8 @@
#include <sys/time.h> #include <sys/time.h>
#include <unistd.h> #include <unistd.h>
/* To start with, we include the header from the lib directory. This should /* curl stuff */
later of course be moved to the proper include dir. */ #include <curl/curl.h>
#include "../lib/multi.h"
/* /*
* Simply download two HTTP files! * Simply download two HTTP files!

View File

@ -1,4 +1,12 @@
/* /*****************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* $Id$
*
* This is a very simple example using the multi interface. * This is a very simple example using the multi interface.
*/ */
@ -9,9 +17,8 @@
#include <sys/time.h> #include <sys/time.h>
#include <unistd.h> #include <unistd.h>
/* To start with, we include the header from the lib directory. This should /* curl stuff */
later of course be moved to the proper include dir. */ #include <curl/curl.h>
#include "../lib/multi.h"
/* /*
* Simply download a HTTP file. * Simply download a HTTP file.