apt: apt-pkg/contrib/netrc.h Source File

apt 2.3.15 commandline package manager

netrc.h
1// -*- mode: cpp; mode: fold -*-
2// Description /*{{{*/
3/* ######################################################################
4
5 netrc file parser - returns the login and password of a give host in
6 a specified netrc-type file
7
8 Originally written by Daniel Stenberg, <daniel@haxx.se>, et al. and
9 placed into the Public Domain, do with it what you will.
10
11 ##################################################################### */
12 /*}}}*/
13#ifndef NETRC_H
14#define NETRC_H
15
16#include <string>
17
18#include <apt-pkg/macros.h>
19
20
21
22class URI;
23class FileFd;
24
25APT_PUBLIC bool MaybeAddAuth(FileFd &NetRCFile, URI &Uri);
26#endif
FileFd
Definition: fileutl.h:39
URI
Definition: strutl.h:208