]>
git.saurik.com Git - apt.git/blob - apt-pkg/contrib/netrc.h
1 // -*- mode: cpp; mode: fold -*-
3 // $Id: netrc.h,v 1.11 2004/01/07 09:19:35 bagder Exp $
4 /* ######################################################################
6 netrc file parser - returns the login and password of a give host in
7 a specified netrc-type file
9 Originally written by Daniel Stenberg, <daniel@haxx.se>, et al. and
10 placed into the Public Domain, do with it what you will.
12 ##################################################################### */
19 #include <apt-pkg/macros.h>
21 #ifndef APT_8_CLEANER_HEADERS
22 #include <apt-pkg/strutl.h>
30 void maybe_add_auth (URI
&Uri
, std::string NetRCFile
);