X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/b9dadc24b9477b466bc8058c765d76c65ecc7125..41a658f873a36e2f8507a84fb40f0632e2a62b15:/apt-pkg/contrib/netrc.h diff --git a/apt-pkg/contrib/netrc.h b/apt-pkg/contrib/netrc.h index 5931d4a42..dbeb45386 100644 --- a/apt-pkg/contrib/netrc.h +++ b/apt-pkg/contrib/netrc.h @@ -16,6 +16,8 @@ #include +#include + #ifndef APT_8_CLEANER_HEADERS #include #endif @@ -25,11 +27,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); +// FIXME: kill this export on the next ABI break - strongly doubt its in use anyway +// outside of the apt itself, its really a internal interface +APT_DEPRECATED int parsenetrc (char *host, char *login, char *password, char *filename); void maybe_add_auth (URI &Uri, std::string NetRCFile); #endif