X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/592b78001c381f9cca6f20d8d1d47696bb98c0d1..fce9f472046344d15d4f4df281a003d837cf4177:/apt-pkg/contrib/netrc.h

diff --git a/apt-pkg/contrib/netrc.h b/apt-pkg/contrib/netrc.h
index 02a5eb09f..6feb5b726 100644
--- a/apt-pkg/contrib/netrc.h
+++ b/apt-pkg/contrib/netrc.h
@@ -14,16 +14,20 @@
 #ifndef NETRC_H
 #define NETRC_H
 
+#include <string>
+
+#ifndef APT_8_CLEANER_HEADERS
 #include <apt-pkg/strutl.h>
+#endif
 
 #define DOT_CHAR "."
 #define DIR_CHAR "/"
 
-// 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);
+class URI;
+
+// 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, string NetRCFile);
+void maybe_add_auth (URI &Uri, std::string NetRCFile);
 #endif