63bb026443d031324a916768a633ad6f4e74734f
[captive.git] / src / libcaptive / sandbox / client-CaptiveIOChannel.h
1 /* $Id$
2  * Include file for CORBA/ORBit client side of image GIOChannel object of sandbox_child()
3  * Copyright (C) 2003 Jan Kratochvil <project-captive@jankratochvil.net>
4  * 
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; exactly version 2 of June 1991 is required
8  * 
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  * 
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18
19
20 #ifndef _CLIENT_CAPTIVEIOCHANNEL_H
21 #define _CLIENT_CAPTIVEIOCHANNEL_H 1
22
23
24 #include <glib/gmacros.h>
25 #ifdef ORBIT2   /* Prevent missing $(ORBIT_CFLAGS) outside of libcaptive/sandbox/ */
26 #include "sandbox.h"
27 #endif
28
29
30 G_BEGIN_DECLS
31
32 #ifdef ORBIT2   /* Prevent missing $(ORBIT_CFLAGS) outside of libcaptive/sandbox/ */
33 struct captive_io_channel *captive_io_channel_new(Captive_CaptiveIOChannel corba_captive_io_channel,gboolean writeable);
34 #endif
35 gboolean captive_io_channel_get_size(GIOChannel *giochannel,guint64 *size_return);
36
37 G_END_DECLS
38
39
40 #endif /* _CLIENT_CAPTIVEIOCHANNEL_H */