source:
trunk/third/bonobo/bonobo/bonobo-stream-client.h
@
15579
Revision 15579, 1.4 KB checked in by ghudson, 24 years ago (diff) |
---|
Line | |
---|---|
1 | /** |
2 | * gnome-stream-client.c: Helper routines to access a Bonobo_Stream CORBA object |
3 | * |
4 | * Authors: |
5 | * Nat Friedman (nat@nat.org) |
6 | * Miguel de Icaza (miguel@kernel.org). |
7 | * Michael Meekss (michael@helixcode.com) |
8 | * |
9 | * Copyright 1999,2000 Helix Code, Inc. |
10 | */ |
11 | #ifndef _BONOBO_STREAM_CLIENT_H_ |
12 | #define _BONOBO_STREAM_CLIENT_H_ |
13 | |
14 | #include <bonobo/Bonobo.h> |
15 | |
16 | void bonobo_stream_client_write (const Bonobo_Stream stream, |
17 | const void *buffer, |
18 | const size_t size, |
19 | CORBA_Environment *ev); |
20 | |
21 | guint8 *bonobo_stream_client_read (const Bonobo_Stream stream, |
22 | const size_t size, |
23 | CORBA_long *length_read, |
24 | CORBA_Environment *ev); |
25 | |
26 | void bonobo_stream_client_write_string (const Bonobo_Stream stream, |
27 | const char *str, |
28 | const gboolean terminate, |
29 | CORBA_Environment *ev); |
30 | |
31 | void bonobo_stream_client_printf (const Bonobo_Stream stream, |
32 | const gboolean terminate, |
33 | CORBA_Environment *ev, |
34 | const char *fmt, ...); |
35 | |
36 | CORBA_long bonobo_stream_client_read_string (const Bonobo_Stream stream, |
37 | char **str, |
38 | CORBA_Environment *ev); |
39 | |
40 | CORBA_long bonobo_stream_client_get_length (const Bonobo_Stream stream, |
41 | CORBA_Environment *ev); |
42 | |
43 | #endif /* _BONOBO_STREAM_CLIENT_H_ */ |
Note: See TracBrowser
for help on using the repository browser.