]> sjero.net Git - wget/blob - src/netrc.h
[svn] Guard against header files getting included twice.
[wget] / src / netrc.h
1 /* Declarations for netrc.c
2    Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
3
4 This file is part of GNU Wget.
5
6 GNU Wget is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 GNU Wget is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with Wget; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
19
20 #ifndef NETRC_H
21 #define NETRC_H
22
23 typedef struct _acc_t
24 {
25   char *host;                   /* NULL if this is the default machine
26                                    entry.  */
27   char *acc;
28   char *passwd;                 /* NULL if there is no password.  */
29   struct _acc_t *next;
30 } acc_t;
31
32 void search_netrc PARAMS((const char *, const char **, const char **, int));
33 void free_netrc PARAMS((acc_t *l));
34
35 #endif /* NETRC_H */