From f9682040321beba12c82fc92e58133c5c45be704 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 4 May 2004 18:01:57 +0000 Subject: Get rid of #ifdef ENABLE_THREADS stuff, that was done away with a while 2004-05-04 Jeffrey Stedfast * camel-session.h: Get rid of #ifdef ENABLE_THREADS stuff, that was done away with a while back and is causing problems for 3rd parties trying to use camel unless they explicityly #define ENABLE_THREADS in their code. svn path=/trunk/; revision=25788 --- camel/camel-session.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'camel/camel-session.h') diff --git a/camel/camel-session.h b/camel/camel-session.h index f3f058568b..d57603dae9 100644 --- a/camel/camel-session.h +++ b/camel/camel-session.h @@ -70,10 +70,8 @@ struct _CamelSession gboolean check_junk:1; }; -#ifdef ENABLE_THREADS typedef struct _CamelSessionThreadOps CamelSessionThreadOps; typedef struct _CamelSessionThreadMsg CamelSessionThreadMsg; -#endif typedef struct { CamelObjectClass parent_class; @@ -104,15 +102,13 @@ typedef struct { CamelFilterDriver * (*get_filter_driver) (CamelSession *session, const char *type, CamelException *ex); -#ifdef ENABLE_THREADS + /* mechanism for creating and maintaining multiple threads of control */ void *(*thread_msg_new)(CamelSession *session, CamelSessionThreadOps *ops, unsigned int size); void (*thread_msg_free)(CamelSession *session, CamelSessionThreadMsg *msg); int (*thread_queue)(CamelSession *session, CamelSessionThreadMsg *msg, int flags); void (*thread_wait)(CamelSession *session, int id); void (*thread_status)(CamelSession *session, CamelSessionThreadMsg *msg, const char *text, int pc); -#endif - } CamelSessionClass; @@ -170,7 +166,6 @@ gboolean camel_session_check_junk (CamelSession *session); void camel_session_set_check_junk (CamelSession *session, gboolean check_junk); -#ifdef ENABLE_THREADS struct _CamelSessionThreadOps { void (*receive)(CamelSession *session, struct _CamelSessionThreadMsg *m); void (*free)(CamelSession *session, struct _CamelSessionThreadMsg *m); @@ -195,8 +190,6 @@ void camel_session_thread_msg_free(CamelSession *session, CamelSessionThreadMsg int camel_session_thread_queue(CamelSession *session, CamelSessionThreadMsg *msg, int flags); void camel_session_thread_wait(CamelSession *session, int id); -#endif - #ifdef __cplusplus } #endif /* __cplusplus */ -- cgit v1.2.3