3 /*****************************************************************************
5 * Project ___| | | | _ \| |
7 * | (__| |_| | _ <| |___
8 * \___|\___/|_| \_\_____|
10 * The contents of this file are subject to the Mozilla Public License
11 * Version 1.0 (the "License"); you may not use this file except in
12 * compliance with the License. You may obtain a copy of the License at
13 * http://www.mozilla.org/MPL/
15 * Software distributed under the License is distributed on an "AS IS"
16 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
17 * License for the specific language governing rights and limitations
20 * The Original Code is Curl.
22 * The Initial Developer of the Original Code is Daniel Stenberg.
24 * Portions created by the Initial Developer are Copyright (C) 1998.
25 * All Rights Reserved.
28 * Rafael Sagula <sagula@inf.ufrgs.br>
29 * Sampo Kellomaki <sampo@iki.fi>
30 * Linas Vepstas <linas@linas.org>
31 * Bjorn Reese <breese@imada.ou.dk>
32 * Johan Anderson <johan@homemail.com>
33 * Kjell Ericson <Kjell.Ericson@haxx.nu>
34 * Troy Engel <tengel@palladium.net>
35 * Ryan Nelson <ryan@inch.com>
36 * Bjorn Stenberg <Bjorn.Stenberg@haxx.nu>
37 * Angus Mackay <amackay@gus.ml.org>
39 * ------------------------------------------------------------
41 * - Daniel Stenberg <Daniel.Stenberg@haxx.nu>
45 * $Source: /cvsroot/curl/curl/lib/netrc.h,v $
47 * $Date: 1999-12-29 14:21:35 $
52 * ------------------------------------------------------------
54 * Revision 1.1 1999-12-29 14:21:35 bagder
57 * Revision 1.3 1999/09/06 06:59:41 dast
60 * Revision 1.2 1999/08/13 07:34:48 dast
61 * Changed the URL in the header
63 * Revision 1.1.1.1 1999/03/11 22:23:34 dast
66 ****************************************************************************/
67 int ParseNetrc(char *host
,