diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2012-10-15 09:59:12 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2012-10-15 09:59:12 +0200 |
commit | 5caefc9115860e1bc1fdff8971a9e45f96a1c4e5 (patch) | |
tree | 8729bef2dd755e6d6a4236ea66f9982102e77623 /apt-pkg/contrib/netrc.h | |
parent | e74ff795d39894268c737c4b1864869dadb74ed1 (diff) | |
parent | 7f18595b3ef9a348719969889097adb4f45d44f0 (diff) |
merge from lp:~donkult/apt/sid
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 |