Initial revision
[libcurl.git] / lib / download.h
blob647f390e9541af784e2c6281c049cb2f292b809a
1 #ifndef __DOWNLOAD_H
2 #define __DOWNLOAD_H
3 /*****************************************************************************
4 * _ _ ____ _
5 * Project ___| | | | _ \| |
6 * / __| | | | |_) | |
7 * | (__| |_| | _ <| |___
8 * \___|\___/|_| \_\_____|
10 * The contents of this file are subject to the Mozilla Public License
11 * Version 1.0 (the "License"); you may not use this file except in
12 * compliance with the License. You may obtain a copy of the License at
13 * http://www.mozilla.org/MPL/
15 * Software distributed under the License is distributed on an "AS IS"
16 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
17 * License for the specific language governing rights and limitations
18 * under the License.
20 * The Original Code is Curl.
22 * The Initial Developer of the Original Code is Daniel Stenberg.
24 * Portions created by the Initial Developer are Copyright (C) 1998.
25 * All Rights Reserved.
27 * ------------------------------------------------------------
28 * Main author:
29 * - Daniel Stenberg <Daniel.Stenberg@haxx.nu>
31 * http://curl.haxx.nu
33 * $Source: /cvsroot/curl/curl/lib/Attic/download.h,v $
34 * $Revision: 1.1 $
35 * $Date: 1999-12-29 14:21:20 $
36 * $Author: bagder $
37 * $State: Exp $
38 * $Locker: $
40 * ------------------------------------------------------------
41 ****************************************************************************/
42 UrgError
43 Download (struct UrlData *data,
44 int sockfd, /* socket to read from */
45 int size, /* -1 if unknown at this point */
46 bool getheader, /* TRUE if header parsing is wanted */
47 long *bytecountp /* return number of bytes read */
50 #endif