diff src/proxy.h @ 6621:42fdf16f1dad

[gaim-migrate @ 7145] Individual accounts remember the "No Proxy" setting instead of reverting back to "Use Global Proxy Settings" Proxy settings for individual accounts do not revert to "No Proxy" if you open an account, don't change the proxy drop down, then save the account. Those two sound like the same thing, but they're different. I think. Added the "use environmental variables" setting in a way that isn't horrible. We're not using that thing that splits the proxy variable into host:port yet. I'll do that later. I would have done that earlier, but I had to go buy a bike. Also, I'd like to show what the environmental variables are set to somewhere. That'll come later. Also a patch from Robot101: (22:10:25) Bzubhipheron: I have a patch that replaces #define WFLAG_* with GaimMessageFlags GAIM_MESSAGE_* (22:10:30) Bzubhipheron: (an enum in disguise) (22:14:18) Bzubhipheron: GaimMessageFlags protrays much better typing information than "int". most of the other #defines are gone, and glib standardises on enums for its flags too. (22:14:27) Bzubhipheron: (gone or going) (22:14:45) Bzubhipheron: and it makes the prototype of my message queueing stuff prettier. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 25 Aug 2003 02:49:42 +0000
parents 5239a3b4ab33
children 41120df7ed94
line wrap: on
line diff
--- a/src/proxy.h	Mon Aug 25 00:39:39 2003 +0000
+++ b/src/proxy.h	Mon Aug 25 02:49:42 2003 +0000
@@ -35,7 +35,8 @@
 	GAIM_PROXY_NONE = 0,         /**< No proxy.                         */
 	GAIM_PROXY_HTTP,             /**< HTTP proxy.                       */
 	GAIM_PROXY_SOCKS4,           /**< SOCKS 4 proxy.                    */
-	GAIM_PROXY_SOCKS5            /**< SOCKS 5 proxy.                    */
+	GAIM_PROXY_SOCKS5,           /**< SOCKS 5 proxy.                    */
+	GAIM_PROXY_USE_ENVVAR        /**< Use environmental settings.       */
 
 } GaimProxyType;
 
@@ -184,27 +185,12 @@
 /*@{*/
 
 /**
- * Sets whether or not the global proxy information is from preferences.
- *
- * @param from_prefs @c TRUE if the info is from preferences.
- */
-void gaim_global_proxy_set_from_prefs(gboolean from_prefs);
-
-/**
  * Returns gaim's global proxy information.
  *
  * @return The global proxy information.
  */
 GaimProxyInfo *gaim_global_proxy_get_info(void);
 
-/**
- * Returns whether or not the current global proxy information is from
- * preferences.
- *
- * @return @c TRUE if the info is from preferences.
- */
-gboolean gaim_global_proxy_is_from_prefs(void);
-
 /*@}*/
 
 /**************************************************************************/