Re: [evolution-patches] Patch for integrating exchange x-c-s with mailer.



Can you please review the attached patch...
Index: camel/camel-provider.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/camel-provider.h,v
retrieving revision 1.44
diff -u -r1.44 camel-provider.h
--- camel/camel-provider.h	10 Jan 2005 16:03:33 -0000	1.44
+++ camel/camel-provider.h	12 Jan 2005 09:38:40 -0000
@@ -129,14 +129,12 @@
 	char *text, *value;
 } CamelProviderConfEntry;
 
-
 /* Some defaults */
 #define CAMEL_PROVIDER_CONF_DEFAULT_USERNAME  { CAMEL_PROVIDER_CONF_LABEL, "username", NULL, N_("User_name:"), NULL }
 #define CAMEL_PROVIDER_CONF_DEFAULT_HOSTNAME  { CAMEL_PROVIDER_CONF_LABEL, "hostname", NULL, N_("_Host:"), NULL }
 #define CAMEL_PROVIDER_CONF_DEFAULT_PATH      { CAMEL_PROVIDER_CONF_ENTRY, "path", NULL, N_("_Path:"), "" }
 
 typedef int (*CamelProviderAutoDetectFunc) (CamelURL *url, GHashTable **auto_detected, CamelException *ex);
-typedef gboolean (*CamelProviderValidateUserFunc) (CamelURL *camel_url, char *url, CamelException *ex);
 
 typedef struct {
 	/* Provider name used in CamelURLs. */
@@ -167,12 +165,10 @@
 	
 	/* Extra configuration information */
 	CamelProviderConfEntry *extra_conf;
-	
+
 	/* auto-detection function */
 	CamelProviderAutoDetectFunc auto_detect;
 
-	CamelProviderValidateUserFunc validate_user;
-	
 	/* CamelType(s) of its store and/or transport. If both are
 	 * set, then they are assumed to be linked together and the
 	 * transport type can only be used in an account that also
@@ -202,6 +198,9 @@
 	 * is read only when the HAS_LICENSE flag is set
 	 */
 	const char *license_file;
+
+	/* Private to the provider */	
+	void *priv;
 } CamelProvider;
 
 typedef struct _CamelProviderModule CamelProviderModule;
@@ -226,11 +225,6 @@
 int camel_provider_auto_detect (CamelProvider *provider, CamelURL *url,
 				GHashTable **auto_detected, CamelException *ex);
 
-/* This API is added for exchange connector and will be REMOVED once the 
-   exchange-account-setup plugin is moved out in to the Evolution Exchange
-   Connector */
-gboolean camel_provider_validate_user (CamelProvider *provider, CamelURL *camel_url, 
-					char *url, CamelException *ex);
 #ifdef __cplusplus
 }
 #endif /* __cplusplus */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]