#ifndef _NETRC_H_
#define _NETRC_H_ 1
# undef __BEGIN_DECLS
# undef __END_DECLS
#ifdef __cplusplus
# define __BEGIN_DECLS extern "C" {
# define __END_DECLS }
#else
# define __BEGIN_DECLS
# define __END_DECLS
#endif
#undef __P
#if defined (__STDC__) || defined (_AIX) || (defined (__mips) && defined (_SYSTYPE_SVR4)) || defined(WIN32) || defined(__cplusplus)
# define __P(protos) protos
#else
# define __P(protos) ()
#endif
typedef struct _netrc_entry {
char *host;
char *login;
char *password;
struct _netrc_entry *next;
} netrc_entry;
__BEGIN_DECLS
netrc_entry *parse_netrc __P((char *file));
netrc_entry *search_netrc __P((netrc_entry *list, char *host, char *account));
__END_DECLS
#endif