aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-msgport.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-11-23 06:28:49 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-11-23 06:28:49 +0800
commit554b987da7d9579b23a62c50f95b8305e1c5a72c (patch)
treedf20a6349fb2134e1f7abe93d0eefb505ae7ca35 /e-util/e-msgport.h
parent27f4b6bd276b30d68f2723b927091a0e13ad2e16 (diff)
downloadgsoc2013-evolution-554b987da7d9579b23a62c50f95b8305e1c5a72c.tar
gsoc2013-evolution-554b987da7d9579b23a62c50f95b8305e1c5a72c.tar.gz
gsoc2013-evolution-554b987da7d9579b23a62c50f95b8305e1c5a72c.tar.bz2
gsoc2013-evolution-554b987da7d9579b23a62c50f95b8305e1c5a72c.tar.lz
gsoc2013-evolution-554b987da7d9579b23a62c50f95b8305e1c5a72c.tar.xz
gsoc2013-evolution-554b987da7d9579b23a62c50f95b8305e1c5a72c.tar.zst
gsoc2013-evolution-554b987da7d9579b23a62c50f95b8305e1c5a72c.zip
Added an optional nspr pipe field. (e_msgport_new): Init nspr pipe to
2002-11-22 Not Zed <NotZed@Ximian.com> * e-msgport.c (EMsgPort): Added an optional nspr pipe field. (e_msgport_new): Init nspr pipe to null. (e_msgport_destroy): close prfiledesc's if they're open. (e_msgport_prfd): get the prfiledesc to wait asynchronously on. (e_msgport_put): Write notify to nspr pipe if it exists. (e_msgport_wait): poll nspr pipe fd if it is set, and the pipe fd isn't. (e_msgport_get): skim off a notify byte on the pr pipe if set. (): Include config.h, and nspr stuff if HAVE_NSS is set. svn path=/trunk/; revision=18893
Diffstat (limited to 'e-util/e-msgport.h')
-rw-r--r--e-util/e-msgport.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/e-util/e-msgport.h b/e-util/e-msgport.h
index 03dc514b07..6fc01efb14 100644
--- a/e-util/e-msgport.h
+++ b/e-util/e-msgport.h
@@ -43,6 +43,9 @@ void e_msgport_put(EMsgPort *mp, EMsg *msg);
EMsg *e_msgport_wait(EMsgPort *mp);
EMsg *e_msgport_get(EMsgPort *mp);
void e_msgport_reply(EMsg *msg);
+#ifdef HAVE_NSS
+struct PRFileDesc *e_msgport_prfd(EMsgPort *mp);
+#endif
/* e threads, a server thread with a message based request-response, and flexible queuing */
typedef struct _EThread EThread;