~ubuntu-branches/ubuntu/trusty/libbonobo/trusty

« back to all changes in this revision

Viewing changes to doc/api/html/libbonobo-bonobo-stream-memory.html

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier
  • Date: 2008-01-28 16:44:09 UTC
  • mfrom: (1.1.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20080128164409-85v32401um8c7vuw
Tags: 2.20.4-1
* New patch, 20_server-files-gettext, adapted from Ubuntu (to lookup
  both of debian-gettext-domain and ubuntu-gettext-domain):
  - activation-server/object-directory-load.c, parse_oaf_server_attrs():
    Check <oaf_server> tag attributes values for "debian-gettext-domain" or
    "ubuntu-gettext-domain" and store the latest in the previously unused
    'domain' field of the server struct.
  - bonobo-activation/bonobo-activation-server-info.c,
    bonobo_server_info_prop_lookup(): If 'domain' field is set, try
    gettext() before looking up a translation in the .server file itself.
* New upstream stable release; no API change; bug fixes.
  - Drop relibtoolizing patch, 90_relibtoolize, as the new upstream tarball
    doesn't have the x86_64 ltmain.sh snippet hardcoding the library path to
    /usr/lib64.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
<th width="100%" align="center">Libbonobo Reference Manual</th>
29
29
<td><a accesskey="n" href="libbonobo-bonobo-storage.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
30
30
</tr>
31
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2672072" class="shortcut">Top</a>
32
 
                  &#160;|&#160;
33
 
                  <a href="#id2673381" class="shortcut">Description</a>
34
 
                  &#160;|&#160;
35
 
                  <a href="#id2673349" class="shortcut">Object Hierarchy</a></nobr></td></tr>
 
31
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2976281" class="shortcut">Top</a>
 
32
                  &#160;|&#160;
 
33
                  <a href="#id2977589" class="shortcut">Description</a>
 
34
                  &#160;|&#160;
 
35
                  <a href="#id2977557" class="shortcut">Object Hierarchy</a></nobr></td></tr>
36
36
</table>
37
37
<div class="refentry" lang="en">
38
38
<a name="libbonobo-bonobo-stream-memory"></a><div class="titlepage"></div>
39
39
<div class="refnamediv"><table width="100%"><tr>
40
40
<td valign="top">
41
41
<h2>
42
 
<a name="id2672072"></a><span class="refentrytitle">BonoboStreamMem</span>
 
42
<a name="id2976281"></a><span class="refentrytitle">BonoboStreamMem</span>
43
43
</h2>
44
44
<p>BonoboStreamMem &#8212; 
45
45
In-memory implementation of Bonobo::Stream interface.</p>
78
78
</pre>
79
79
</div>
80
80
<div class="refsect1" lang="en">
81
 
<a name="id2673349"></a><h2>Object Hierarchy</h2>
 
81
<a name="id2977557"></a><h2>Object Hierarchy</h2>
82
82
<pre class="synopsis">
83
83
 
84
84
  <a
89
89
</pre>
90
90
</div>
91
91
<div class="refsect1" lang="en">
92
 
<a name="id2673381"></a><h2>Description</h2>
 
92
<a name="id2977589"></a><h2>Description</h2>
93
93
<p>
94
94
   The BonoboStreamMem is an implementation of the
95
95
   IDL:Bonobo/Stream:1.0 interface.  This implementation allows an
102
102
 
103
103
   </p>
104
104
<div class="example">
105
 
<a name="id2673401"></a><p class="title"><b>Example&#160;22.&#160;Sample BonoboStreamMem usage</b></p>
 
105
<a name="id2977610"></a><p class="title"><b>Example&#160;22.&#160;Sample BonoboStreamMem usage</b></p>
106
106
<div class="example-contents"><pre class="programlisting">
107
107
BonoboStream *make_bonobo_stream_on_string (char *string)
108
108
{
116
116
   stream.  </p>
117
117
</div>
118
118
<div class="refsect1" lang="en">
119
 
<a name="id2673420"></a><h2>Details</h2>
 
119
<a name="id2977628"></a><h2>Details</h2>
120
120
<div class="refsect2" lang="en">
121
 
<a name="id2673430"></a><h3>
 
121
<a name="id2977639"></a><h3>
122
122
<a name="BonoboStreamMem-struct"></a>BonoboStreamMem</h3>
123
 
<a class="indexterm" name="id2673444"></a><pre class="programlisting">typedef struct _BonoboStreamMem BonoboStreamMem;</pre>
 
123
<a class="indexterm" name="id2977652"></a><pre class="programlisting">typedef struct _BonoboStreamMem BonoboStreamMem;</pre>
124
124
<p>
125
125
 
126
126
</p>
127
127
</div>
128
128
<hr>
129
129
<div class="refsect2" lang="en">
130
 
<a name="id2673459"></a><h3>
 
130
<a name="id2977667"></a><h3>
131
131
<a name="BonoboStreamMemClass"></a>BonoboStreamMemClass</h3>
132
 
<a class="indexterm" name="id2673472"></a><pre class="programlisting">typedef struct {
 
132
<a class="indexterm" name="id2977680"></a><pre class="programlisting">typedef struct {
133
133
        BonoboObjectClass parent_class;
134
134
 
135
135
        POA_Bonobo_Stream__epv epv;
144
144
</div>
145
145
<hr>
146
146
<div class="refsect2" lang="en">
147
 
<a name="id2673491"></a><h3>
 
147
<a name="id2977699"></a><h3>
148
148
<a name="bonobo-stream-mem-construct"></a>bonobo_stream_mem_construct ()</h3>
149
 
<a class="indexterm" name="id2673504"></a><pre class="programlisting"><a class="link" href="libbonobo-bonobo-stream-memory.html#BonoboStreamMem">BonoboStreamMem</a>*    bonobo_stream_mem_construct         (<a class="link" href="libbonobo-bonobo-stream-memory.html#BonoboStreamMem">BonoboStreamMem</a> *stream_mem,
 
149
<a class="indexterm" name="id2977712"></a><pre class="programlisting"><a class="link" href="libbonobo-bonobo-stream-memory.html#BonoboStreamMem">BonoboStreamMem</a>*    bonobo_stream_mem_construct         (<a class="link" href="libbonobo-bonobo-stream-memory.html#BonoboStreamMem">BonoboStreamMem</a> *stream_mem,
150
150
                                                         const char *buffer,
151
151
                                                         size_t size,
152
152
                                                         <a
198
198
</div>
199
199
<hr>
200
200
<div class="refsect2" lang="en">
201
 
<a name="id2673646"></a><h3>
 
201
<a name="id2977855"></a><h3>
202
202
<a name="bonobo-stream-mem-create"></a>bonobo_stream_mem_create ()</h3>
203
 
<a class="indexterm" name="id2673660"></a><pre class="programlisting"><a class="link" href="libbonobo-bonobo-object.html#BonoboObject">BonoboObject</a>*       bonobo_stream_mem_create            (const char *buffer,
 
203
<a class="indexterm" name="id2977868"></a><pre class="programlisting"><a class="link" href="libbonobo-bonobo-object.html#BonoboObject">BonoboObject</a>*       bonobo_stream_mem_create            (const char *buffer,
204
204
                                                         size_t size,
205
205
                                                         <a
206
206
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
213
213
</p>
214
214
<p>
215
215
If <em class="parameter"><code>buffer</code></em> is non-<a
216
 
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
 
216
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
217
217
><code class="literal">NULL</code></a>, <em class="parameter"><code>size</code></em> bytes are copied from it into a new
218
218
buffer. If <em class="parameter"><code>buffer</code></em> is <a
219
 
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
 
219
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
220
220
><code class="literal">NULL</code></a>, a new buffer of size <em class="parameter"><code>size</code></em> is created
221
221
and filled with zero bytes.
222
222
</p>
263
263
</div>
264
264
<hr>
265
265
<div class="refsect2" lang="en">
266
 
<a name="id2673898"></a><h3>
 
266
<a name="id2978106"></a><h3>
267
267
<a name="bonobo-stream-mem-get-buffer"></a>bonobo_stream_mem_get_buffer ()</h3>
268
 
<a class="indexterm" name="id2673911"></a><pre class="programlisting">const char*         bonobo_stream_mem_get_buffer        (<a class="link" href="libbonobo-bonobo-stream-memory.html#BonoboStreamMem">BonoboStreamMem</a> *stream_mem);</pre>
 
268
<a class="indexterm" name="id2978119"></a><pre class="programlisting">const char*         bonobo_stream_mem_get_buffer        (<a class="link" href="libbonobo-bonobo-stream-memory.html#BonoboStreamMem">BonoboStreamMem</a> *stream_mem);</pre>
269
269
<p>
270
270
Returns the buffer associated with a BonoboStreamMem. If the stream
271
271
is set to automatically resize itself, this buffer is only guaranteed
292
292
</div>
293
293
<hr>
294
294
<div class="refsect2" lang="en">
295
 
<a name="id2673979"></a><h3>
 
295
<a name="id2978187"></a><h3>
296
296
<a name="bonobo-stream-mem-get-size"></a>bonobo_stream_mem_get_size ()</h3>
297
 
<a class="indexterm" name="id2673993"></a><pre class="programlisting">size_t              bonobo_stream_mem_get_size          (<a class="link" href="libbonobo-bonobo-stream-memory.html#BonoboStreamMem">BonoboStreamMem</a> *stream_mem);</pre>
 
297
<a class="indexterm" name="id2978201"></a><pre class="programlisting">size_t              bonobo_stream_mem_get_size          (<a class="link" href="libbonobo-bonobo-stream-memory.html#BonoboStreamMem">BonoboStreamMem</a> *stream_mem);</pre>
298
298
<p>
299
299
Returns the size of the data associated with a BonoboStreamMem
300
300
see bonobo_stream_mem_get_buffer</p>
319
319
</div>
320
320
</div>
321
321
<div class="refsect1" lang="en">
322
 
<a name="id2674056"></a><h2>See Also</h2>
 
322
<a name="id2978264"></a><h2>See Also</h2>
323
323
<p>
324
324
  </p>
325
325
<div class="variablelist"><table border="0">
340
340
</p>
341
341
</div>
342
342
<div class="refsect1" lang="en">
343
 
<a name="id2674099"></a><div class="refsect2" lang="en"><a name="id2674100"></a></div>
 
343
<a name="id2978308"></a><div class="refsect2" lang="en"><a name="id2978309"></a></div>
344
344
<hr>
345
 
<div class="refsect2" lang="en"><a name="id2674101"></a></div>
 
345
<div class="refsect2" lang="en"><a name="id2978310"></a></div>
346
346
</div>
347
347
</div>
348
348
</body>