File: bonobo-stream-client.h

package info (click to toggle)
bonobo 1.0.22-2.2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 13,412 kB
  • ctags: 5,445
  • sloc: ansic: 51,714; sh: 7,733; makefile: 1,425; yacc: 318; xml: 266; sed: 16
file content (43 lines) | stat: -rw-r--r-- 1,422 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/**
 * gnome-stream-client.c: Helper routines to access a Bonobo_Stream CORBA object
 *
 * Authors:
 *   Nat Friedman    (nat@nat.org)
 *   Miguel de Icaza (miguel@kernel.org).
 *   Michael Meekss  (michael@helixcode.com)
 *
 * Copyright 1999,2000 Helix Code, Inc.
 */
#ifndef _BONOBO_STREAM_CLIENT_H_
#define _BONOBO_STREAM_CLIENT_H_

#include <bonobo/Bonobo.h>

void       bonobo_stream_client_write        (const Bonobo_Stream stream,
					      const void         *buffer,
					      const size_t        size,
					      CORBA_Environment  *ev);

guint8    *bonobo_stream_client_read         (const Bonobo_Stream stream,
					      const size_t        size,
					      CORBA_long         *length_read,
					      CORBA_Environment  *ev);

void       bonobo_stream_client_write_string (const Bonobo_Stream stream,
					      const char         *str,
					      const gboolean      terminate,
					      CORBA_Environment  *ev);

void       bonobo_stream_client_printf       (const Bonobo_Stream stream,
					      const gboolean      terminate,
					      CORBA_Environment  *ev,
					      const char         *fmt, ...);

CORBA_long bonobo_stream_client_read_string  (const Bonobo_Stream stream,
					      char              **str,
					      CORBA_Environment  *ev);

CORBA_long bonobo_stream_client_get_length   (const Bonobo_Stream stream,
					      CORBA_Environment  *ev);

#endif /* _BONOBO_STREAM_CLIENT_H_ */