summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/netrc.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-10-15 09:59:12 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2012-10-15 09:59:12 +0200
commit5caefc9115860e1bc1fdff8971a9e45f96a1c4e5 (patch)
tree8729bef2dd755e6d6a4236ea66f9982102e77623 /apt-pkg/contrib/netrc.h
parente74ff795d39894268c737c4b1864869dadb74ed1 (diff)
parent7f18595b3ef9a348719969889097adb4f45d44f0 (diff)
merge from lp:~donkult/apt/sid
Diffstat (limited to 'apt-pkg/contrib/netrc.h')
-rw-r--r--apt-pkg/contrib/netrc.h8
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