aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/pop3/camel-pop3-engine.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-03-09 07:43:43 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-03-09 07:43:43 +0800
commit626182bef55006c632db43e73e53105d451f9930 (patch)
tree7665280461da3389edfd3f0e391edb6bd7df4baa /camel/providers/pop3/camel-pop3-engine.h
parent03ec14c7df002279d949b84be4f0f68e45816726 (diff)
downloadgsoc2013-evolution-626182bef55006c632db43e73e53105d451f9930.tar.gz
gsoc2013-evolution-626182bef55006c632db43e73e53105d451f9930.tar.zst
gsoc2013-evolution-626182bef55006c632db43e73e53105d451f9930.zip
Don't call camel_remote_store_get_authtypes since we no longer subclass
2002-03-08 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'camel/providers/pop3/camel-pop3-engine.h')
-rw-r--r--camel/providers/pop3/camel-pop3-engine.h4
1 files changed, 4 insertions, 0 deletions
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);