diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2012-11-01 10:44:13 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2012-11-01 10:44:13 +0100 |
commit | f69b2c3d2984cd4dca485fb05ab84df94067c50d (patch) | |
tree | 11ac3bcba3399c2fa5c8d7fc45555d490a0497ff /apt-pkg/contrib/netrc.h | |
parent | 6292ea19bc71d0c1b977693195dcf9153bd07555 (diff) | |
parent | 446fb1002ad218929f3a6da911388b160b738f2a (diff) |
merged from the debian-sid branch
Diffstat (limited to 'apt-pkg/contrib/netrc.h')
-rw-r--r-- | apt-pkg/contrib/netrc.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/apt-pkg/contrib/netrc.h b/apt-pkg/contrib/netrc.h index 5931d4a42..6feb5b726 100644 --- a/apt-pkg/contrib/netrc.h +++ b/apt-pkg/contrib/netrc.h @@ -25,11 +25,9 @@ class URI; -// Assume: password[0]=0, host[0] != 0. -// If login[0] = 0, search for login and password within a machine section -// in the netrc. -// If login[0] != 0, search for password within machine and login. -int parsenetrc (char *host, char *login, char *password, char *filename); +// kill this export on the next ABI break - strongly doubt its in use anyway +// outside of the apt itself, its really a internal interface +__deprecated int parsenetrc (char *host, char *login, char *password, char *filename); void maybe_add_auth (URI &Uri, std::string NetRCFile); #endif |