diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-11-23 06:29:56 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-11-23 06:29:56 +0800 |
commit | eaa2814a05c8c3a094a00400cc5651e408ee9e18 (patch) | |
tree | 4a53b01741ec0655bd6499123263716b74d98e0e /camel/camel-operation.h | |
parent | 554b987da7d9579b23a62c50f95b8305e1c5a72c (diff) | |
download | gsoc2013-evolution-eaa2814a05c8c3a094a00400cc5651e408ee9e18.tar gsoc2013-evolution-eaa2814a05c8c3a094a00400cc5651e408ee9e18.tar.gz gsoc2013-evolution-eaa2814a05c8c3a094a00400cc5651e408ee9e18.tar.bz2 gsoc2013-evolution-eaa2814a05c8c3a094a00400cc5651e408ee9e18.tar.lz gsoc2013-evolution-eaa2814a05c8c3a094a00400cc5651e408ee9e18.tar.xz gsoc2013-evolution-eaa2814a05c8c3a094a00400cc5651e408ee9e18.tar.zst gsoc2013-evolution-eaa2814a05c8c3a094a00400cc5651e408ee9e18.zip |
Use the new camel_operation_cancel_prfd() function to get the cancellation
2002-11-21 Jeffrey Stedfast <fejj@ximian.com>
* camel-tcp-stream-ssl.c (stream_read): Use the new
camel_operation_cancel_prfd() function to get the cancellation fd
so we can poll on it for cancellation stuff.
(stream_write): Same.
2002-11-22 Not Zed <NotZed@Ximian.com>
* camel-operation.c (camel_operation_cancel_prfd): Implement, gets
a nspr pr filedesc to poll/wait on
(struct _CamelOperation): include a pr filedesc.
svn path=/trunk/; revision=18894
Diffstat (limited to 'camel/camel-operation.h')
-rw-r--r-- | camel/camel-operation.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/camel-operation.h b/camel/camel-operation.h index 08da410b68..367d916b67 100644 --- a/camel/camel-operation.h +++ b/camel/camel-operation.h @@ -52,6 +52,9 @@ void camel_operation_cancel_block(CamelOperation *cc); void camel_operation_cancel_unblock(CamelOperation *cc); int camel_operation_cancel_check(CamelOperation *cc); int camel_operation_cancel_fd(CamelOperation *cc); +#ifdef HAVE_NSS +struct PRFileDesc *camel_operation_cancel_prfd(CamelOperation *cc); +#endif /* return the registered operation for this thread, if there is one */ CamelOperation *camel_operation_registered(void); |