~ubuntu-branches/ubuntu/gutsy/gimp/gutsy-backports

« back to all changes in this revision

Viewing changes to devel-docs/libgimpbase/html/libgimpbase-gimpwire.html

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2006-04-21 13:00:24 UTC
  • mto: (24.1.1 hardy)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20060421130024-59oilzh8m40dxudp
Tags: upstream-2.2.11
ImportĀ upstreamĀ versionĀ 2.2.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
</pre>
117
117
</div>
118
118
<div class="refsect1" lang="en">
119
 
<a name="id2553717"></a><h2>Description</h2>
 
119
<a name="id2564316"></a><h2>Description</h2>
120
120
<p>
121
121
The lowlevel I/O protocol used for communication between GIMP and
122
122
it's plug-ins.
124
124
</p>
125
125
</div>
126
126
<div class="refsect1" lang="en">
127
 
<a name="id2553729"></a><h2>Details</h2>
 
127
<a name="id2564328"></a><h2>Details</h2>
128
128
<div class="refsect2" lang="en">
129
 
<a name="id2553736"></a><h3>
 
129
<a name="id2564334"></a><h3>
130
130
<a name="WireMessage"></a>WireMessage</h3>
131
 
<a class="indexterm" name="id2573032"></a><pre class="programlisting">typedef struct {
 
131
<a class="indexterm" name="id2573473"></a><pre class="programlisting">typedef struct {
132
132
  guint32  type;
133
133
  gpointer data;
134
134
} WireMessage;
139
139
</div>
140
140
<hr>
141
141
<div class="refsect2" lang="en">
142
 
<a name="id2573045"></a><h3>
 
142
<a name="id2573486"></a><h3>
143
143
<a name="WireReadFunc"></a>WireReadFunc ()</h3>
144
 
<a class="indexterm" name="id2573054"></a><pre class="programlisting">void        (*WireReadFunc)                 (GIOChannel *channel,
 
144
<a class="indexterm" name="id2573495"></a><pre class="programlisting">void        (*WireReadFunc)                 (GIOChannel *channel,
145
145
                                             <a href="libgimpbase-gimpwire.html#WireMessage">WireMessage</a> *msg,
146
146
                                             gpointer user_data);</pre>
147
147
<p>
175
175
</div>
176
176
<hr>
177
177
<div class="refsect2" lang="en">
178
 
<a name="id2573109"></a><h3>
 
178
<a name="id2573572"></a><h3>
179
179
<a name="WireWriteFunc"></a>WireWriteFunc ()</h3>
180
 
<a class="indexterm" name="id2573117"></a><pre class="programlisting">void        (*WireWriteFunc)                (GIOChannel *channel,
 
180
<a class="indexterm" name="id2573581"></a><pre class="programlisting">void        (*WireWriteFunc)                (GIOChannel *channel,
181
181
                                             <a href="libgimpbase-gimpwire.html#WireMessage">WireMessage</a> *msg,
182
182
                                             gpointer user_data);</pre>
183
183
<p>
211
211
</div>
212
212
<hr>
213
213
<div class="refsect2" lang="en">
214
 
<a name="id2573195"></a><h3>
 
214
<a name="id2573663"></a><h3>
215
215
<a name="WireDestroyFunc"></a>WireDestroyFunc ()</h3>
216
 
<a class="indexterm" name="id2573203"></a><pre class="programlisting">void        (*WireDestroyFunc)              (<a href="libgimpbase-gimpwire.html#WireMessage">WireMessage</a> *msg);</pre>
 
216
<a class="indexterm" name="id2573674"></a><pre class="programlisting">void        (*WireDestroyFunc)              (<a href="libgimpbase-gimpwire.html#WireMessage">WireMessage</a> *msg);</pre>
217
217
<p>
218
218
 
219
219
</p>
231
231
</div>
232
232
<hr>
233
233
<div class="refsect2" lang="en">
234
 
<a name="id2573243"></a><h3>
 
234
<a name="id2573719"></a><h3>
235
235
<a name="WireIOFunc"></a>WireIOFunc ()</h3>
236
 
<a class="indexterm" name="id2573252"></a><pre class="programlisting">gboolean    (*WireIOFunc)                   (GIOChannel *channel,
 
236
<a class="indexterm" name="id2573729"></a><pre class="programlisting">gboolean    (*WireIOFunc)                   (GIOChannel *channel,
237
237
                                             guint8 *buf,
238
238
                                             gulong count,
239
239
                                             gpointer user_data);</pre>
280
280
</div>
281
281
<hr>
282
282
<div class="refsect2" lang="en">
283
 
<a name="id2573358"></a><h3>
 
283
<a name="id2573849"></a><h3>
284
284
<a name="WireFlushFunc"></a>WireFlushFunc ()</h3>
285
 
<a class="indexterm" name="id2573366"></a><pre class="programlisting">gboolean    (*WireFlushFunc)                (GIOChannel *channel,
 
285
<a class="indexterm" name="id2573859"></a><pre class="programlisting">gboolean    (*WireFlushFunc)                (GIOChannel *channel,
286
286
                                             gpointer user_data);</pre>
287
287
<p>
288
288
 
315
315
</div>
316
316
<hr>
317
317
<div class="refsect2" lang="en">
318
 
<a name="id2573435"></a><h3>
 
318
<a name="id2573937"></a><h3>
319
319
<a name="wire-register"></a>wire_register ()</h3>
320
 
<a class="indexterm" name="id2573444"></a><pre class="programlisting">void        wire_register                   (guint32 type,
 
320
<a class="indexterm" name="id2573947"></a><pre class="programlisting">void        wire_register                   (guint32 type,
321
321
                                             <a href="libgimpbase-gimpwire.html#WireReadFunc">WireReadFunc</a> read_func,
322
322
                                             <a href="libgimpbase-gimpwire.html#WireWriteFunc">WireWriteFunc</a> write_func,
323
323
                                             <a href="libgimpbase-gimpwire.html#WireDestroyFunc">WireDestroyFunc</a> destroy_func);</pre>
358
358
</div>
359
359
<hr>
360
360
<div class="refsect2" lang="en">
361
 
<a name="id2573541"></a><h3>
 
361
<a name="id2574057"></a><h3>
362
362
<a name="wire-set-reader"></a>wire_set_reader ()</h3>
363
 
<a class="indexterm" name="id2573549"></a><pre class="programlisting">void        wire_set_reader                 (<a href="libgimpbase-gimpwire.html#WireIOFunc">WireIOFunc</a> read_func);</pre>
 
363
<a class="indexterm" name="id2574067"></a><pre class="programlisting">void        wire_set_reader                 (<a href="libgimpbase-gimpwire.html#WireIOFunc">WireIOFunc</a> read_func);</pre>
364
364
<p>
365
365
 
366
366
</p>
378
378
</div>
379
379
<hr>
380
380
<div class="refsect2" lang="en">
381
 
<a name="id2573590"></a><h3>
 
381
<a name="id2574113"></a><h3>
382
382
<a name="wire-set-writer"></a>wire_set_writer ()</h3>
383
 
<a class="indexterm" name="id2573598"></a><pre class="programlisting">void        wire_set_writer                 (<a href="libgimpbase-gimpwire.html#WireIOFunc">WireIOFunc</a> write_func);</pre>
 
383
<a class="indexterm" name="id2574123"></a><pre class="programlisting">void        wire_set_writer                 (<a href="libgimpbase-gimpwire.html#WireIOFunc">WireIOFunc</a> write_func);</pre>
384
384
<p>
385
385
 
386
386
</p>
398
398
</div>
399
399
<hr>
400
400
<div class="refsect2" lang="en">
401
 
<a name="id2573639"></a><h3>
 
401
<a name="id2574169"></a><h3>
402
402
<a name="wire-set-flusher"></a>wire_set_flusher ()</h3>
403
 
<a class="indexterm" name="id2573647"></a><pre class="programlisting">void        wire_set_flusher                (<a href="libgimpbase-gimpwire.html#WireFlushFunc">WireFlushFunc</a> flush_func);</pre>
 
403
<a class="indexterm" name="id2574180"></a><pre class="programlisting">void        wire_set_flusher                (<a href="libgimpbase-gimpwire.html#WireFlushFunc">WireFlushFunc</a> flush_func);</pre>
404
404
<p>
405
405
 
406
406
</p>
418
418
</div>
419
419
<hr>
420
420
<div class="refsect2" lang="en">
421
 
<a name="id2573688"></a><h3>
 
421
<a name="id2574226"></a><h3>
422
422
<a name="wire-read"></a>wire_read ()</h3>
423
 
<a class="indexterm" name="id2573696"></a><pre class="programlisting">gboolean    wire_read                       (GIOChannel *channel,
 
423
<a class="indexterm" name="id2574236"></a><pre class="programlisting">gboolean    wire_read                       (GIOChannel *channel,
424
424
                                             guint8 *buf,
425
425
                                             gsize count,
426
426
                                             gpointer user_data);</pre>
467
467
</div>
468
468
<hr>
469
469
<div class="refsect2" lang="en">
470
 
<a name="id2573803"></a><h3>
 
470
<a name="id2574355"></a><h3>
471
471
<a name="wire-write"></a>wire_write ()</h3>
472
 
<a class="indexterm" name="id2573811"></a><pre class="programlisting">gboolean    wire_write                      (GIOChannel *channel,
 
472
<a class="indexterm" name="id2574365"></a><pre class="programlisting">gboolean    wire_write                      (GIOChannel *channel,
473
473
                                             guint8 *buf,
474
474
                                             gsize count,
475
475
                                             gpointer user_data);</pre>
516
516
</div>
517
517
<hr>
518
518
<div class="refsect2" lang="en">
519
 
<a name="id2573918"></a><h3>
 
519
<a name="id2544633"></a><h3>
520
520
<a name="wire-flush"></a>wire_flush ()</h3>
521
 
<a class="indexterm" name="id2573927"></a><pre class="programlisting">gboolean    wire_flush                      (GIOChannel *channel,
 
521
<a class="indexterm" name="id2574472"></a><pre class="programlisting">gboolean    wire_flush                      (GIOChannel *channel,
522
522
                                             gpointer user_data);</pre>
523
523
<p>
524
524
 
551
551
</div>
552
552
<hr>
553
553
<div class="refsect2" lang="en">
554
 
<a name="id2573996"></a><h3>
 
554
<a name="id2574541"></a><h3>
555
555
<a name="wire-error"></a>wire_error ()</h3>
556
 
<a class="indexterm" name="id2574004"></a><pre class="programlisting">gboolean    wire_error                      (void);</pre>
 
556
<a class="indexterm" name="id2574549"></a><pre class="programlisting">gboolean    wire_error                      (void);</pre>
557
557
<p>
558
558
 
559
559
</p>
571
571
</div>
572
572
<hr>
573
573
<div class="refsect2" lang="en">
574
 
<a name="id2574036"></a><h3>
 
574
<a name="id2574581"></a><h3>
575
575
<a name="wire-clear-error"></a>wire_clear_error ()</h3>
576
 
<a class="indexterm" name="id2574045"></a><pre class="programlisting">void        wire_clear_error                (void);</pre>
 
576
<a class="indexterm" name="id2574590"></a><pre class="programlisting">void        wire_clear_error                (void);</pre>
577
577
<p>
578
578
 
579
579
</p>
580
580
</div>
581
581
<hr>
582
582
<div class="refsect2" lang="en">
583
 
<a name="id2574064"></a><h3>
 
583
<a name="id2574608"></a><h3>
584
584
<a name="wire-read-msg"></a>wire_read_msg ()</h3>
585
 
<a class="indexterm" name="id2574072"></a><pre class="programlisting">gboolean    wire_read_msg                   (GIOChannel *channel,
 
585
<a class="indexterm" name="id2574617"></a><pre class="programlisting">gboolean    wire_read_msg                   (GIOChannel *channel,
586
586
                                             <a href="libgimpbase-gimpwire.html#WireMessage">WireMessage</a> *msg,
587
587
                                             gpointer user_data);</pre>
588
588
<p>
622
622
</div>
623
623
<hr>
624
624
<div class="refsect2" lang="en">
625
 
<a name="id2574160"></a><h3>
 
625
<a name="id2574705"></a><h3>
626
626
<a name="wire-write-msg"></a>wire_write_msg ()</h3>
627
 
<a class="indexterm" name="id2574168"></a><pre class="programlisting">gboolean    wire_write_msg                  (GIOChannel *channel,
 
627
<a class="indexterm" name="id2574713"></a><pre class="programlisting">gboolean    wire_write_msg                  (GIOChannel *channel,
628
628
                                             <a href="libgimpbase-gimpwire.html#WireMessage">WireMessage</a> *msg,
629
629
                                             gpointer user_data);</pre>
630
630
<p>
664
664
</div>
665
665
<hr>
666
666
<div class="refsect2" lang="en">
667
 
<a name="id2574256"></a><h3>
 
667
<a name="id2574801"></a><h3>
668
668
<a name="wire-destroy"></a>wire_destroy ()</h3>
669
 
<a class="indexterm" name="id2574265"></a><pre class="programlisting">void        wire_destroy                    (<a href="libgimpbase-gimpwire.html#WireMessage">WireMessage</a> *msg);</pre>
 
669
<a class="indexterm" name="id2574810"></a><pre class="programlisting">void        wire_destroy                    (<a href="libgimpbase-gimpwire.html#WireMessage">WireMessage</a> *msg);</pre>
670
670
<p>
671
671
 
672
672
</p>
684
684
</div>
685
685
<hr>
686
686
<div class="refsect2" lang="en">
687
 
<a name="id2574305"></a><h3>
 
687
<a name="id2574850"></a><h3>
688
688
<a name="wire-read-int32"></a>wire_read_int32 ()</h3>
689
 
<a class="indexterm" name="id2574314"></a><pre class="programlisting">gboolean    wire_read_int32                 (GIOChannel *channel,
 
689
<a class="indexterm" name="id2574859"></a><pre class="programlisting">gboolean    wire_read_int32                 (GIOChannel *channel,
690
690
                                             guint32 *data,
691
691
                                             gint count,
692
692
                                             gpointer user_data);</pre>
733
733
</div>
734
734
<hr>
735
735
<div class="refsect2" lang="en">
736
 
<a name="id2574421"></a><h3>
 
736
<a name="id2574966"></a><h3>
737
737
<a name="wire-read-int16"></a>wire_read_int16 ()</h3>
738
 
<a class="indexterm" name="id2574429"></a><pre class="programlisting">gboolean    wire_read_int16                 (GIOChannel *channel,
 
738
<a class="indexterm" name="id2574974"></a><pre class="programlisting">gboolean    wire_read_int16                 (GIOChannel *channel,
739
739
                                             guint16 *data,
740
740
                                             gint count,
741
741
                                             gpointer user_data);</pre>
782
782
</div>
783
783
<hr>
784
784
<div class="refsect2" lang="en">
785
 
<a name="id2574536"></a><h3>
 
785
<a name="id2575081"></a><h3>
786
786
<a name="wire-read-int8"></a>wire_read_int8 ()</h3>
787
 
<a class="indexterm" name="id2574544"></a><pre class="programlisting">gboolean    wire_read_int8                  (GIOChannel *channel,
 
787
<a class="indexterm" name="id2575089"></a><pre class="programlisting">gboolean    wire_read_int8                  (GIOChannel *channel,
788
788
                                             guint8 *data,
789
789
                                             gint count,
790
790
                                             gpointer user_data);</pre>
831
831
</div>
832
832
<hr>
833
833
<div class="refsect2" lang="en">
834
 
<a name="id2574651"></a><h3>
 
834
<a name="id2575196"></a><h3>
835
835
<a name="wire-read-double"></a>wire_read_double ()</h3>
836
 
<a class="indexterm" name="id2574660"></a><pre class="programlisting">gboolean    wire_read_double                (GIOChannel *channel,
 
836
<a class="indexterm" name="id2575205"></a><pre class="programlisting">gboolean    wire_read_double                (GIOChannel *channel,
837
837
                                             gdouble *data,
838
838
                                             gint count,
839
839
                                             gpointer user_data);</pre>
880
880
</div>
881
881
<hr>
882
882
<div class="refsect2" lang="en">
883
 
<a name="id2574767"></a><h3>
 
883
<a name="id2575312"></a><h3>
884
884
<a name="wire-read-string"></a>wire_read_string ()</h3>
885
 
<a class="indexterm" name="id2574775"></a><pre class="programlisting">gboolean    wire_read_string                (GIOChannel *channel,
 
885
<a class="indexterm" name="id2575320"></a><pre class="programlisting">gboolean    wire_read_string                (GIOChannel *channel,
886
886
                                             gchar **data,
887
887
                                             gint count,
888
888
                                             gpointer user_data);</pre>
929
929
</div>
930
930
<hr>
931
931
<div class="refsect2" lang="en">
932
 
<a name="id2574882"></a><h3>
 
932
<a name="id2575427"></a><h3>
933
933
<a name="wire-write-int32"></a>wire_write_int32 ()</h3>
934
 
<a class="indexterm" name="id2574890"></a><pre class="programlisting">gboolean    wire_write_int32                (GIOChannel *channel,
 
934
<a class="indexterm" name="id2575435"></a><pre class="programlisting">gboolean    wire_write_int32                (GIOChannel *channel,
935
935
                                             guint32 *data,
936
936
                                             gint count,
937
937
                                             gpointer user_data);</pre>
978
978
</div>
979
979
<hr>
980
980
<div class="refsect2" lang="en">
981
 
<a name="id2574997"></a><h3>
 
981
<a name="id2575542"></a><h3>
982
982
<a name="wire-write-int16"></a>wire_write_int16 ()</h3>
983
 
<a class="indexterm" name="id2575006"></a><pre class="programlisting">gboolean    wire_write_int16                (GIOChannel *channel,
 
983
<a class="indexterm" name="id2575551"></a><pre class="programlisting">gboolean    wire_write_int16                (GIOChannel *channel,
984
984
                                             guint16 *data,
985
985
                                             gint count,
986
986
                                             gpointer user_data);</pre>
1027
1027
</div>
1028
1028
<hr>
1029
1029
<div class="refsect2" lang="en">
1030
 
<a name="id2575113"></a><h3>
 
1030
<a name="id2575658"></a><h3>
1031
1031
<a name="wire-write-int8"></a>wire_write_int8 ()</h3>
1032
 
<a class="indexterm" name="id2575121"></a><pre class="programlisting">gboolean    wire_write_int8                 (GIOChannel *channel,
 
1032
<a class="indexterm" name="id2575666"></a><pre class="programlisting">gboolean    wire_write_int8                 (GIOChannel *channel,
1033
1033
                                             guint8 *data,
1034
1034
                                             gint count,
1035
1035
                                             gpointer user_data);</pre>
1076
1076
</div>
1077
1077
<hr>
1078
1078
<div class="refsect2" lang="en">
1079
 
<a name="id2575228"></a><h3>
 
1079
<a name="id2575773"></a><h3>
1080
1080
<a name="wire-write-double"></a>wire_write_double ()</h3>
1081
 
<a class="indexterm" name="id2575236"></a><pre class="programlisting">gboolean    wire_write_double               (GIOChannel *channel,
 
1081
<a class="indexterm" name="id2575781"></a><pre class="programlisting">gboolean    wire_write_double               (GIOChannel *channel,
1082
1082
                                             gdouble *data,
1083
1083
                                             gint count,
1084
1084
                                             gpointer user_data);</pre>
1125
1125
</div>
1126
1126
<hr>
1127
1127
<div class="refsect2" lang="en">
1128
 
<a name="id2575343"></a><h3>
 
1128
<a name="id2575888"></a><h3>
1129
1129
<a name="wire-write-string"></a>wire_write_string ()</h3>
1130
 
<a class="indexterm" name="id2575352"></a><pre class="programlisting">gboolean    wire_write_string               (GIOChannel *channel,
 
1130
<a class="indexterm" name="id2575897"></a><pre class="programlisting">gboolean    wire_write_string               (GIOChannel *channel,
1131
1131
                                             gchar **data,
1132
1132
                                             gint count,
1133
1133
                                             gpointer user_data);</pre>
1174
1174
</div>
1175
1175
</div>
1176
1176
<div class="refsect1" lang="en">
1177
 
<a name="id2575460"></a><h2>See Also</h2>
 
1177
<a name="id2576005"></a><h2>See Also</h2>
1178
1178
<p>
1179
1179
<span class="type">libgimp-gimpprotocol</span>
1180
1180
</p>