mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 07:38:49 -05:00
dual-license fix
This commit is contained in:
parent
887e728b7d
commit
24dee483e9
5
FILES
5
FILES
@ -1,7 +1,8 @@
|
|||||||
CHANGES
|
CHANGES
|
||||||
FILES
|
FILES
|
||||||
LEGAL
|
LEGAL
|
||||||
MPL-1.0.txt
|
MPL-1.1.txt
|
||||||
|
MITX.txt
|
||||||
README
|
README
|
||||||
docs/BUGS
|
docs/BUGS
|
||||||
docs/CONTRIBUTE
|
docs/CONTRIBUTE
|
||||||
@ -11,7 +12,7 @@ docs/INSTALL
|
|||||||
docs/INTERNALS
|
docs/INTERNALS
|
||||||
docs/MANUAL
|
docs/MANUAL
|
||||||
docs/README.win32
|
docs/README.win32
|
||||||
docs/README.libcurl
|
docs/LIBCURL
|
||||||
docs/RESOURCES
|
docs/RESOURCES
|
||||||
docs/TODO
|
docs/TODO
|
||||||
docs/curl.1
|
docs/curl.1
|
||||||
|
34
LEGAL
34
LEGAL
@ -1,21 +1,25 @@
|
|||||||
Part of this software is distributed under the Mozilla Public License
|
Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
version 1.0, which is part of this distribution (MPL-1.0.txt) and
|
|
||||||
available on-line at http://www.mozilla.org/MPL/
|
|
||||||
|
|
||||||
The terminology used here is described in the Mozilla Public License.
|
Everyone is permitted to copy and distribute verbatim copies of this license
|
||||||
|
document, but changing it is not allowed.
|
||||||
|
|
||||||
In accordance with section "4. Inability to Comply Due to Statute or
|
In order to be useful for every potential user, the curl and libcurl are
|
||||||
Regulation" the following exemptions apply to this software:
|
dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
|
|
||||||
* The Initial Developer has the right, regardless of the citizenship
|
You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
of any involved party, to choose the location for settling disputes
|
copies of the Software, and permit persons to whom the Software is furnished
|
||||||
as refered to under section "11. Miscellaneous" of the Mozilla Public
|
to do so, under the terms of the MPL or the MIT/X-derivate licenses. You may
|
||||||
License.
|
pick one of these licenses. The files MITX.txt and MPL-1.1.txt contain the
|
||||||
|
license texts.
|
||||||
|
|
||||||
Initial Developers of this software are:
|
As a courtesy to the open-source and free software community, we ask you to
|
||||||
|
dual-license any modifications that you make as well, under the terms of this
|
||||||
|
document.
|
||||||
|
|
||||||
Daniel Stenberg <daniel@haxx.se>
|
Please remember to always keep the licensing information included in
|
||||||
|
individual source files up-to-date, so as to avoid misleading anyone as to
|
||||||
|
the status of these files.
|
||||||
|
|
||||||
Curl is Copyright (C) 1996-2000 Daniel Stenberg
|
I will use a submission policy according to which I will only enter
|
||||||
|
contributions into the CVS tree if the contributor agrees to both licenses
|
||||||
|
and this dual-license approach.
|
||||||
|
4
README
4
README
@ -12,11 +12,13 @@ README
|
|||||||
document.
|
document.
|
||||||
|
|
||||||
libcurl is a library that Curl is using to do its job. It is readily
|
libcurl is a library that Curl is using to do its job. It is readily
|
||||||
available to be used by your software. Read the README.libcurl document to
|
available to be used by your software. Read the LIBCURL document to
|
||||||
find out how!
|
find out how!
|
||||||
|
|
||||||
You find answers to the most frequent questions we get in the FAQ document.
|
You find answers to the most frequent questions we get in the FAQ document.
|
||||||
|
|
||||||
|
Study the LEGAL file for distribution terms and similar.
|
||||||
|
|
||||||
Always try the Curl web site for the latest news:
|
Always try the Curl web site for the latest news:
|
||||||
|
|
||||||
http://curl.haxx.se
|
http://curl.haxx.se
|
||||||
|
@ -7,38 +7,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
/* The include stuff here is mainly for time_t! */
|
/* The include stuff here is mainly for time_t! */
|
||||||
|
@ -7,38 +7,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <Daniel.Stenberg@haxx.nu>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.nu
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
@ -7,38 +7,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <Daniel.Stenberg@haxx.nu>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.nu
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#ifdef HAVE_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
@ -7,38 +7,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
typedef void CURL;
|
typedef void CURL;
|
||||||
typedef void CURLconnect;
|
typedef void CURLconnect;
|
||||||
|
|
||||||
|
22
lib/cookie.c
22
lib/cookie.c
@ -1,3 +1,25 @@
|
|||||||
|
/*****************************************************************************
|
||||||
|
* _ _ ____ _
|
||||||
|
* Project ___| | | | _ \| |
|
||||||
|
* / __| | | | |_) | |
|
||||||
|
* | (__| |_| | _ <| |___
|
||||||
|
* \___|\___/|_| \_\_____|
|
||||||
|
*
|
||||||
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
|
*
|
||||||
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
|
*
|
||||||
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
|
*
|
||||||
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
/***
|
/***
|
||||||
|
|
||||||
|
22
lib/cookie.h
22
lib/cookie.h
@ -1,5 +1,27 @@
|
|||||||
#ifndef __COOKIE_H
|
#ifndef __COOKIE_H
|
||||||
#define __COOKIE_H
|
#define __COOKIE_H
|
||||||
|
/*****************************************************************************
|
||||||
|
* _ _ ____ _
|
||||||
|
* Project ___| | | | _ \| |
|
||||||
|
* / __| | | | |_) | |
|
||||||
|
* | (__| |_| | _ <| |___
|
||||||
|
* \___|\___/|_| \_\_____|
|
||||||
|
*
|
||||||
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
|
*
|
||||||
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
|
*
|
||||||
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
|
*
|
||||||
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
|
39
lib/dict.c
39
lib/dict.c
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
39
lib/dict.h
39
lib/dict.h
@ -8,38 +8,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
CURLcode dict(struct connectdata *conn);
|
CURLcode dict(struct connectdata *conn);
|
||||||
CURLcode dict_done(struct connectdata *conn);
|
CURLcode dict_done(struct connectdata *conn);
|
||||||
|
|
||||||
|
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
@ -7,38 +7,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
CURLcode
|
CURLcode
|
||||||
Transfer (struct connectdata *data,
|
Transfer (struct connectdata *data,
|
||||||
int sockfd, /* socket to read from or -1 */
|
int sockfd, /* socket to read from or -1 */
|
||||||
|
39
lib/easy.c
39
lib/easy.c
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
39
lib/escape.c
39
lib/escape.c
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
/* Escape and unescape URL encoding in strings. The functions return a new
|
/* Escape and unescape URL encoding in strings. The functions return a new
|
||||||
* allocated string or NULL if an error occurred. */
|
* allocated string or NULL if an error occurred. */
|
||||||
|
39
lib/escape.h
39
lib/escape.h
@ -8,38 +8,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
/* Escape and unescape URL encoding in strings. The functions return a new
|
/* Escape and unescape URL encoding in strings. The functions return a new
|
||||||
* allocated string or NULL if an error occurred. */
|
* allocated string or NULL if an error occurred. */
|
||||||
|
|
||||||
|
39
lib/file.c
39
lib/file.c
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1999.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
39
lib/file.h
39
lib/file.h
@ -8,38 +8,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
CURLcode file(struct connectdata *conn);
|
CURLcode file(struct connectdata *conn);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Debug the form generator stand-alone by compiling this source file with:
|
Debug the form generator stand-alone by compiling this source file with:
|
||||||
|
@ -8,69 +8,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* Contributor(s):
|
|
||||||
* Rafael Sagula <sagula@inf.ufrgs.br>
|
|
||||||
* Sampo Kellomaki <sampo@iki.fi>
|
|
||||||
* Linas Vepstas <linas@linas.org>
|
|
||||||
* Bjorn Reese <breese@imada.ou.dk>
|
|
||||||
* Johan Anderson <johan@homemail.com>
|
|
||||||
* Kjell Ericson <Kjell.Ericson@haxx.se>
|
|
||||||
* Troy Engel <tengel@palladium.net>
|
|
||||||
* Ryan Nelson <ryan@inch.com>
|
|
||||||
* Bjorn Stenberg <Bjorn.Stenberg@haxx.se>
|
|
||||||
* Angus Mackay <amackay@gus.ml.org>
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* $Log$
|
|
||||||
* Revision 1.3 2000-06-20 15:31:26 bagder
|
|
||||||
* haxx.nu => haxx.se
|
|
||||||
*
|
|
||||||
* Revision 1.2 2000/01/10 23:36:14 bagder
|
|
||||||
* syncing with local edit
|
|
||||||
*
|
|
||||||
* Revision 1.4 1999/09/06 06:59:40 dast
|
|
||||||
* Changed email info
|
|
||||||
*
|
|
||||||
* Revision 1.3 1999/08/13 07:34:47 dast
|
|
||||||
* Changed the URL in the header
|
|
||||||
*
|
|
||||||
* Revision 1.2 1999/07/30 12:59:47 dast
|
|
||||||
* FormFree() was added to properly cleanup after a form was posted.
|
|
||||||
*
|
|
||||||
* Revision 1.1.1.1 1999/03/11 22:23:34 dast
|
|
||||||
* Imported sources
|
|
||||||
*
|
|
||||||
****************************************************************************/
|
|
||||||
/* plain and simple linked list with lines to send */
|
/* plain and simple linked list with lines to send */
|
||||||
struct FormData {
|
struct FormData {
|
||||||
struct FormData *next;
|
struct FormData *next;
|
||||||
|
39
lib/ftp.c
39
lib/ftp.c
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
39
lib/ftp.h
39
lib/ftp.h
@ -8,38 +8,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
CURLcode ftp(struct connectdata *conn);
|
CURLcode ftp(struct connectdata *conn);
|
||||||
CURLcode ftp_done(struct connectdata *conn);
|
CURLcode ftp_done(struct connectdata *conn);
|
||||||
CURLcode ftp_connect(struct connectdata *conn);
|
CURLcode ftp_connect(struct connectdata *conn);
|
||||||
|
38
lib/getenv.c
38
lib/getenv.c
@ -5,37 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
67
lib/getenv.h
67
lib/getenv.h
@ -7,66 +7,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* Contributor(s):
|
|
||||||
* Rafael Sagula <sagula@inf.ufrgs.br>
|
|
||||||
* Sampo Kellomaki <sampo@iki.fi>
|
|
||||||
* Linas Vepstas <linas@linas.org>
|
|
||||||
* Bjorn Reese <breese@imada.ou.dk>
|
|
||||||
* Johan Anderson <johan@homemail.com>
|
|
||||||
* Kjell Ericson <Kjell.Ericson@haxx.se>
|
|
||||||
* Troy Engel <tengel@palladium.net>
|
|
||||||
* Ryan Nelson <ryan@inch.com>
|
|
||||||
* Bjorn Stenberg <Bjorn.Stenberg@haxx.se>
|
|
||||||
* Angus Mackay <amackay@gus.ml.org>
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* $Log$
|
|
||||||
* Revision 1.3 2000-06-20 15:31:26 bagder
|
|
||||||
* haxx.nu => haxx.se
|
|
||||||
*
|
|
||||||
* Revision 1.2 2000/01/10 23:36:14 bagder
|
|
||||||
* syncing with local edit
|
|
||||||
*
|
|
||||||
* Revision 1.3 1999/09/06 06:59:40 dast
|
|
||||||
* Changed email info
|
|
||||||
*
|
|
||||||
* Revision 1.2 1999/08/13 07:34:48 dast
|
|
||||||
* Changed the URL in the header
|
|
||||||
*
|
|
||||||
* Revision 1.1.1.1 1999/03/11 22:23:34 dast
|
|
||||||
* Imported sources
|
|
||||||
*
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
/* Unix and Win32 getenv function call */
|
/* Unix and Win32 getenv function call */
|
||||||
char *GetEnv(char *variable);
|
char *GetEnv(char *variable);
|
||||||
|
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1999.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
@ -7,37 +7,20 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
CURLcode curl_transfer(CURL *curl);
|
CURLcode curl_transfer(CURL *curl);
|
||||||
#endif
|
#endif
|
||||||
|
39
lib/hostip.c
39
lib/hostip.c
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
39
lib/hostip.h
39
lib/hostip.h
@ -7,38 +7,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
struct hostent *GetHost(struct UrlData *data, char *hostname, char **bufp );
|
struct hostent *GetHost(struct UrlData *data, char *hostname, char **bufp );
|
||||||
|
|
||||||
|
39
lib/http.c
39
lib/http.c
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
39
lib/http.h
39
lib/http.h
@ -8,38 +8,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
/* ftp can use this as well */
|
/* ftp can use this as well */
|
||||||
CURLcode GetHTTPProxyTunnel(struct UrlData *data, int tunnelsocket,
|
CURLcode GetHTTPProxyTunnel(struct UrlData *data, int tunnelsocket,
|
||||||
|
39
lib/if2ip.c
39
lib/if2ip.c
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
39
lib/if2ip.h
39
lib/if2ip.h
@ -7,38 +7,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
#if ! defined(WIN32) && ! defined(__BEOS__)
|
#if ! defined(WIN32) && ! defined(__BEOS__)
|
||||||
|
39
lib/ldap.c
39
lib/ldap.c
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Contributor(s):
|
|
||||||
* Bjørn Reese <breese@mail1.stofanet.dk>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
39
lib/ldap.h
39
lib/ldap.h
@ -8,38 +8,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://www.fts.frontec.se/~dast/curl/
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
CURLcode ldap(struct connectdata *conn);
|
CURLcode ldap(struct connectdata *conn);
|
||||||
CURLcode ldap_done(struct connectdata *conn);
|
CURLcode ldap_done(struct connectdata *conn);
|
||||||
|
|
||||||
|
@ -6,38 +6,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1999.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
51
lib/netrc.c
51
lib/netrc.c
@ -5,50 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* Contributor(s):
|
|
||||||
* Rafael Sagula <sagula@inf.ufrgs.br>
|
|
||||||
* Sampo Kellomaki <sampo@iki.fi>
|
|
||||||
* Linas Vepstas <linas@linas.org>
|
|
||||||
* Bjorn Reese <breese@imada.ou.dk>
|
|
||||||
* Johan Anderson <johan@homemail.com>
|
|
||||||
* Kjell Ericson <Kjell.Ericson@haxx.se>
|
|
||||||
* Troy Engel <tengel@palladium.net>
|
|
||||||
* Ryan Nelson <ryan@inch.com>
|
|
||||||
* Bjorn Stenberg <Bjorn.Stenberg@haxx.se>
|
|
||||||
* Angus Mackay <amackay@gus.ml.org>
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
67
lib/netrc.h
67
lib/netrc.h
@ -7,66 +7,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* Contributor(s):
|
|
||||||
* Rafael Sagula <sagula@inf.ufrgs.br>
|
|
||||||
* Sampo Kellomaki <sampo@iki.fi>
|
|
||||||
* Linas Vepstas <linas@linas.org>
|
|
||||||
* Bjorn Reese <breese@imada.ou.dk>
|
|
||||||
* Johan Anderson <johan@homemail.com>
|
|
||||||
* Kjell Ericson <Kjell.Ericson@haxx.se>
|
|
||||||
* Troy Engel <tengel@palladium.net>
|
|
||||||
* Ryan Nelson <ryan@inch.com>
|
|
||||||
* Bjorn Stenberg <Bjorn.Stenberg@haxx.se>
|
|
||||||
* Angus Mackay <amackay@gus.ml.org>
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* $Log$
|
|
||||||
* Revision 1.3 2000-06-20 15:31:26 bagder
|
|
||||||
* haxx.nu => haxx.se
|
|
||||||
*
|
|
||||||
* Revision 1.2 2000/01/10 23:36:15 bagder
|
|
||||||
* syncing with local edit
|
|
||||||
*
|
|
||||||
* Revision 1.3 1999/09/06 06:59:41 dast
|
|
||||||
* Changed email info
|
|
||||||
*
|
|
||||||
* Revision 1.2 1999/08/13 07:34:48 dast
|
|
||||||
* Changed the URL in the header
|
|
||||||
*
|
|
||||||
* Revision 1.1.1.1 1999/03/11 22:23:34 dast
|
|
||||||
* Imported sources
|
|
||||||
*
|
|
||||||
****************************************************************************/
|
|
||||||
int ParseNetrc(char *host,
|
int ParseNetrc(char *host,
|
||||||
char *login,
|
char *login,
|
||||||
char *password);
|
char *password);
|
||||||
|
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
@ -7,38 +7,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "timeval.h"
|
#include "timeval.h"
|
||||||
|
|
||||||
|
39
lib/sendf.c
39
lib/sendf.c
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
39
lib/sendf.h
39
lib/sendf.h
@ -7,38 +7,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
size_t ftpsendf(int fd, struct connectdata *, char *fmt, ...);
|
size_t ftpsendf(int fd, struct connectdata *, char *fmt, ...);
|
||||||
size_t sendf(int fd, struct UrlData *, char *fmt, ...);
|
size_t sendf(int fd, struct UrlData *, char *fmt, ...);
|
||||||
|
39
lib/setup.h
39
lib/setup.h
@ -7,38 +7,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
@ -7,38 +7,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
39
lib/ssluse.c
39
lib/ssluse.c
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The original SSL code was written by
|
* The original SSL code was written by
|
||||||
|
39
lib/ssluse.h
39
lib/ssluse.h
@ -7,38 +7,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
int SSL_cert_stuff(struct UrlData *data,
|
int SSL_cert_stuff(struct UrlData *data,
|
||||||
char *cert_file,
|
char *cert_file,
|
||||||
char *key_file);
|
char *key_file);
|
||||||
|
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 2000.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
@ -7,38 +7,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 2000.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
int strequal(const char *first, const char *second);
|
int strequal(const char *first, const char *second);
|
||||||
int strnequal(const char *first, const char *second, size_t max);
|
int strnequal(const char *first, const char *second, size_t max);
|
||||||
|
|
||||||
|
47
lib/telnet.c
47
lib/telnet.c
@ -5,46 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
*
|
|
||||||
* This implementation of the TELNET protocol is written by
|
|
||||||
* Linus Nielsen <Linus.Nielsen@haxx.se>,
|
|
||||||
* with some code snippets stolen from the BSD Telnet client.
|
|
||||||
*
|
|
||||||
* The negotiation is performed according to RFC 1143 (D. Bernstein,
|
|
||||||
* "The Q Method of Implementing TELNET Option Negotiation")
|
|
||||||
*
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
39
lib/telnet.h
39
lib/telnet.h
@ -8,38 +8,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
CURLcode telnet(struct connectdata *conn);
|
CURLcode telnet(struct connectdata *conn);
|
||||||
CURLcode telnet_done(struct connectdata *conn);
|
CURLcode telnet_done(struct connectdata *conn);
|
||||||
|
|
||||||
|
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
@ -7,38 +7,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
39
lib/url.c
39
lib/url.c
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
/* -- WIN32 approved -- */
|
/* -- WIN32 approved -- */
|
||||||
|
|
||||||
|
39
lib/url.h
39
lib/url.h
@ -7,38 +7,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
int GetLine(int sockfd, char *buf, struct UrlData *data);
|
int GetLine(int sockfd, char *buf, struct UrlData *data);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -7,38 +7,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
/* This file is for lib internal stuff */
|
/* This file is for lib internal stuff */
|
||||||
|
|
||||||
|
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|
||||||
|
39
src/main.c
39
src/main.c
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
39
src/setup.h
39
src/setup.h
@ -7,38 +7,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -7,38 +7,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
typedef enum {UPTSet=1,UPTCharRange,UPTNumRange} URLPatternType;
|
typedef enum {UPTSet=1,UPTCharRange,UPTNumRange} URLPatternType;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
@ -5,38 +5,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1999.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -7,38 +7,21 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License
|
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
* Version 1.0 (the "License"); you may not use this file except in
|
|
||||||
* compliance with the License. You may obtain a copy of the License at
|
|
||||||
* http://www.mozilla.org/MPL/
|
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS"
|
* In order to be useful for every potential user, curl and libcurl are
|
||||||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
* dual-licensed under the MPL and the MIT/X-derivate licenses.
|
||||||
* License for the specific language governing rights and limitations
|
|
||||||
* under the License.
|
|
||||||
*
|
*
|
||||||
* The Original Code is Curl.
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
|
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
||||||
|
* licenses. You may pick one of these licenses.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Daniel Stenberg.
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1999.
|
* $Id$
|
||||||
* All Rights Reserved.
|
*****************************************************************************/
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Main author:
|
|
||||||
* - Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* http://curl.haxx.se
|
|
||||||
*
|
|
||||||
* $Source$
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
* $State$
|
|
||||||
* $Locker$
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
void ourWriteOut(CURL *curl, char *out);
|
void ourWriteOut(CURL *curl, char *out);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user