apt
3.0.3
commandline package manager
apt-pkg
contrib
netrc.h
1
// -*- mode: cpp; mode: fold -*-
2
// SPDX-License-Identifier: GPL-2.0+
3
// Description /*{{{*/
4
/* ######################################################################
5
6
netrc file parser - returns the login and password of a give host in
7
a specified netrc-type file
8
9
This file had this historic note, but now includes further changes
10
under the GPL-2.0+:
11
12
Originally written by Daniel Stenberg, <daniel@haxx.se>, et al. and
13
placed into the Public Domain, do with it what you will.
14
15
##################################################################### */
16
/*}}}*/
17
#ifndef NETRC_H
18
#define NETRC_H
19
20
#include <string>
21
22
#include <apt-pkg/macros.h>
23
24
25
26
class
URI
;
27
class
FileFd
;
28
29
APT_PUBLIC
bool
MaybeAddAuth(
FileFd
&NetRCFile,
URI
&Uri);
30
#endif
FileFd
Definition
fileutl.h:43
URI
Definition
strutl.h:220
Generated by
1.9.8