From 626182bef55006c632db43e73e53105d451f9930 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 8 Mar 2002 23:43:43 +0000 Subject: Don't call camel_remote_store_get_authtypes since we no longer subclass 2002-03-08 Jeffrey Stedfast * providers/pop3/camel-pop3-provider.c (camel_provider_module_init): Don't call camel_remote_store_get_authtypes since we no longer subclass camel-remote-store. * providers/pop3/camel-pop3-engine.c: Added STARTTLS to the capabilities to look for. (camel_pop3_engine_reget_capabilities): New function to re-get capabilities. * providers/pop3/camel-pop3-store.c: Updated to not subclass CamelRemoteStore. (connect_to_server): Rewritten to not depend on CamelRemoteStore's connect implementation. Also added support for STLS (aka STARTTLS). svn path=/trunk/; revision=15998 --- camel/providers/pop3/camel-pop3-engine.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'camel/providers/pop3/camel-pop3-engine.h') diff --git a/camel/providers/pop3/camel-pop3-engine.h b/camel/providers/pop3/camel-pop3-engine.h index 418bc5efb9..6b1f0cee1e 100644 --- a/camel/providers/pop3/camel-pop3-engine.h +++ b/camel/providers/pop3/camel-pop3-engine.h @@ -65,6 +65,7 @@ enum { CAMEL_POP3_CAP_SASL = 1<<2, CAMEL_POP3_CAP_TOP = 1<<3, CAMEL_POP3_CAP_PIPE = 1<<4, + CAMEL_POP3_CAP_STLS = 1<<5 }; typedef void (*CamelPOP3CommandFunc)(CamelPOP3Engine *pe, CamelPOP3Stream *stream, void *data); @@ -114,6 +115,9 @@ struct _CamelPOP3EngineClass { guint camel_pop3_engine_get_type (void); CamelPOP3Engine *camel_pop3_engine_new (CamelStream *source); + +void camel_pop3_engine_reget_capabilities (CamelPOP3Engine *engine); + void camel_pop3_engine_command_free(CamelPOP3Engine *pe, CamelPOP3Command *pc); int camel_pop3_engine_iterate (CamelPOP3Engine *pe, CamelPOP3Command *pc); -- cgit v1.2.3