@revizly/sharp-libvips-dev 1.0.61 → 1.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cplusplus/VError.cpp +28 -0
- package/include/expat.h +13 -6
- package/include/expat_config.h +3 -3
- package/include/ffi.h +3 -3
- package/include/gio-unix-2.0/gio/gdesktopappinfo.h +40 -23
- package/include/gio-unix-2.0/gio/gunixmounts.h +3 -3
- package/include/glib-2.0/gio/gasyncinitable.h +32 -32
- package/include/glib-2.0/gio/gasyncresult.h +4 -4
- package/include/glib-2.0/gio/gbufferedinputstream.h +28 -28
- package/include/glib-2.0/gio/gbufferedoutputstream.h +3 -3
- package/include/glib-2.0/gio/gcancellable.h +6 -6
- package/include/glib-2.0/gio/gcharsetconverter.h +3 -3
- package/include/glib-2.0/gio/gconverter.h +16 -16
- package/include/glib-2.0/gio/gdatainputstream.h +3 -3
- package/include/glib-2.0/gio/gdataoutputstream.h +25 -25
- package/include/glib-2.0/gio/gfile.h +369 -369
- package/include/glib-2.0/gio/gfileattribute.h +4 -4
- package/include/glib-2.0/gio/gfileenumerator.h +18 -18
- package/include/glib-2.0/gio/gfileinfo.h +63 -63
- package/include/glib-2.0/gio/gfileinputstream.h +11 -11
- package/include/glib-2.0/gio/gfileiostream.h +11 -11
- package/include/glib-2.0/gio/gfilemonitor.h +1 -1
- package/include/glib-2.0/gio/gfileoutputstream.h +8 -8
- package/include/glib-2.0/gio/gicon.h +1 -1
- package/include/glib-2.0/gio/ginetaddress.h +1 -1
- package/include/glib-2.0/gio/ginetaddressmask.h +5 -5
- package/include/glib-2.0/gio/ginitable.h +16 -16
- package/include/glib-2.0/gio/ginputstream.h +47 -47
- package/include/glib-2.0/gio/gio-visibility.h +34 -0
- package/include/glib-2.0/gio/gioenums.h +3 -1
- package/include/glib-2.0/gio/giomodule.h +5 -5
- package/include/glib-2.0/gio/gioscheduler.h +10 -10
- package/include/glib-2.0/gio/giostream.h +16 -16
- package/include/glib-2.0/gio/giotypes.h +13 -12
- package/include/glib-2.0/gio/gloadableicon.h +13 -13
- package/include/glib-2.0/gio/gmemoryinputstream.h +1 -1
- package/include/glib-2.0/gio/gmountoperation.h +14 -14
- package/include/glib-2.0/gio/gnetworkaddress.h +5 -5
- package/include/glib-2.0/gio/gnetworkmonitor.h +10 -10
- package/include/glib-2.0/gio/gnetworkservice.h +2 -2
- package/include/glib-2.0/gio/goutputstream.h +76 -76
- package/include/glib-2.0/gio/gpollableinputstream.h +9 -9
- package/include/glib-2.0/gio/gpollableoutputstream.h +18 -18
- package/include/glib-2.0/gio/gpollableutils.h +18 -18
- package/include/glib-2.0/gio/gproxy.h +25 -25
- package/include/glib-2.0/gio/gproxyaddress.h +6 -6
- package/include/glib-2.0/gio/gproxyresolver.h +25 -25
- package/include/glib-2.0/gio/gresource.h +26 -26
- package/include/glib-2.0/gio/gseekable.h +16 -16
- package/include/glib-2.0/gio/gsimpleasyncresult.h +40 -40
- package/include/glib-2.0/gio/gsocket.h +103 -103
- package/include/glib-2.0/gio/gsocketaddress.h +2 -2
- package/include/glib-2.0/gio/gsocketaddressenumerator.h +14 -14
- package/include/glib-2.0/gio/gsocketclient.h +25 -25
- package/include/glib-2.0/gio/gsocketconnection.h +16 -16
- package/include/glib-2.0/gio/gsocketcontrolmessage.h +8 -8
- package/include/glib-2.0/gio/gsocketlistener.h +15 -15
- package/include/glib-2.0/gio/gsocketservice.h +1 -1
- package/include/glib-2.0/gio/gsrvtarget.h +3 -3
- package/include/glib-2.0/gio/gtcpconnection.h +1 -1
- package/include/glib-2.0/gio/gtcpwrapperconnection.h +1 -1
- package/include/glib-2.0/gio/gtlsbackend.h +1 -1
- package/include/glib-2.0/gio/gtlscertificate.h +10 -10
- package/include/glib-2.0/gio/gtlsclientconnection.h +5 -5
- package/include/glib-2.0/gio/gtlsconnection.h +23 -23
- package/include/glib-2.0/gio/gtlsserverconnection.h +2 -2
- package/include/glib-2.0/gio/gvfs.h +14 -14
- package/include/glib-2.0/gio/gvolume.h +8 -8
- package/include/glib-2.0/gio/gvolumemonitor.h +1 -1
- package/include/glib-2.0/gio/gzlibcompressor.h +1 -1
- package/include/glib-2.0/girepository/gi-visibility.h +34 -0
- package/include/glib-2.0/glib/deprecated/gmain.h +1 -1
- package/include/glib-2.0/glib/deprecated/grel.h +1 -1
- package/include/glib-2.0/glib/deprecated/gthread.h +1 -1
- package/include/glib-2.0/glib/galloca.h +2 -2
- package/include/glib-2.0/glib/garray.h +56 -56
- package/include/glib-2.0/glib/gbookmarkfile.h +93 -93
- package/include/glib-2.0/glib/gconvert.h +43 -43
- package/include/glib-2.0/glib/gdataset.h +14 -14
- package/include/glib-2.0/glib/gdate.h +17 -17
- package/include/glib-2.0/glib/gdir.h +2 -2
- package/include/glib-2.0/glib/gerror.h +1 -1
- package/include/glib-2.0/glib/ghook.h +103 -103
- package/include/glib-2.0/glib/giochannel.h +90 -90
- package/include/glib-2.0/glib/gkeyfile.h +112 -111
- package/include/glib-2.0/glib/glib-visibility.h +34 -0
- package/include/glib-2.0/glib/glist.h +37 -37
- package/include/glib-2.0/glib/gmacros.h +84 -27
- package/include/glib-2.0/glib/gmain.h +10 -10
- package/include/glib-2.0/glib/gmappedfile.h +4 -4
- package/include/glib-2.0/glib/gmarkup.h +2 -2
- package/include/glib-2.0/glib/gmem.h +68 -68
- package/include/glib-2.0/glib/gmessages.h +14 -14
- package/include/glib-2.0/glib/gnode.h +76 -76
- package/include/glib-2.0/glib/goption.h +45 -45
- package/include/glib-2.0/glib/gpattern.h +6 -6
- package/include/glib-2.0/glib/gpoll.h +6 -6
- package/include/glib-2.0/glib/gprimes.h +2 -2
- package/include/glib-2.0/glib/gprintf.h +10 -10
- package/include/glib-2.0/glib/gqsort.h +5 -5
- package/include/glib-2.0/glib/gquark.h +9 -5
- package/include/glib-2.0/glib/gqueue.h +1 -1
- package/include/glib-2.0/glib/grand.h +12 -12
- package/include/glib-2.0/glib/gscanner.h +138 -138
- package/include/glib-2.0/glib/gslice.h +15 -15
- package/include/glib-2.0/glib/gslist.h +34 -34
- package/include/glib-2.0/glib/gspawn.h +1 -1
- package/include/glib-2.0/glib/gstdio.h +16 -10
- package/include/glib-2.0/glib/gstrfuncs.h +63 -63
- package/include/glib-2.0/glib/gtestutils.h +2 -2
- package/include/glib-2.0/glib/gtimer.h +9 -9
- package/include/glib-2.0/glib/gtree.h +3 -3
- package/include/glib-2.0/glib/gtypes.h +166 -166
- package/include/glib-2.0/glib/gutils.h +35 -33
- package/include/glib-2.0/glib/gversionmacros.h +9 -0
- package/include/glib-2.0/glib-object.h +1 -1
- package/include/glib-2.0/glib.h +1 -1
- package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
- package/include/glib-2.0/gmodule.h +12 -12
- package/include/glib-2.0/gobject/gclosure.h +82 -82
- package/include/glib-2.0/gobject/genums.h +43 -43
- package/include/glib-2.0/gobject/gmarshal.h +2 -2
- package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
- package/include/glib-2.0/gobject/gobject.h +97 -97
- package/include/glib-2.0/gobject/gobjectnotifyqueue.c +12 -12
- package/include/glib-2.0/gobject/gparam.h +96 -96
- package/include/glib-2.0/gobject/gparamspecs.h +157 -157
- package/include/glib-2.0/gobject/gsignal.h +189 -189
- package/include/glib-2.0/gobject/gsourceclosure.h +1 -1
- package/include/glib-2.0/gobject/gtype.h +139 -139
- package/include/glib-2.0/gobject/gtypemodule.h +5 -5
- package/include/glib-2.0/gobject/gtypeplugin.h +32 -32
- package/include/glib-2.0/gobject/gvalue.h +34 -34
- package/include/glib-2.0/gobject/gvaluearray.h +21 -21
- package/include/glib-2.0/gobject/gvaluecollector.h +117 -117
- package/include/glib-2.0/gobject/gvaluetypes.h +74 -74
- package/include/harfbuzz/hb-font.h +22 -0
- package/include/harfbuzz/hb-ot-layout.h +11 -0
- package/include/harfbuzz/hb-version.h +2 -2
- package/include/libimagequant.h +4 -0
- package/include/vips/VError8.h +3 -4
- package/include/vips/VImage8.h +12 -0
- package/include/vips/util.h +15 -1
- package/package.json +1 -1
- package/versions.json +5 -5
|
@@ -66,7 +66,7 @@ struct _GOutputStreamClass
|
|
|
66
66
|
GOutputStreamSpliceFlags flags,
|
|
67
67
|
GCancellable *cancellable,
|
|
68
68
|
GError **error);
|
|
69
|
-
gboolean (* flush)
|
|
69
|
+
gboolean (* flush) (GOutputStream *stream,
|
|
70
70
|
GCancellable *cancellable,
|
|
71
71
|
GError **error);
|
|
72
72
|
gboolean (* close_fn) (GOutputStream *stream,
|
|
@@ -146,32 +146,32 @@ GType g_output_stream_get_type (void);
|
|
|
146
146
|
|
|
147
147
|
GIO_AVAILABLE_IN_ALL
|
|
148
148
|
gssize g_output_stream_write (GOutputStream *stream,
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
149
|
+
const void *buffer,
|
|
150
|
+
gsize count,
|
|
151
|
+
GCancellable *cancellable,
|
|
152
|
+
GError **error);
|
|
153
153
|
GIO_AVAILABLE_IN_ALL
|
|
154
154
|
gboolean g_output_stream_write_all (GOutputStream *stream,
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
155
|
+
const void *buffer,
|
|
156
|
+
gsize count,
|
|
157
|
+
gsize *bytes_written,
|
|
158
|
+
GCancellable *cancellable,
|
|
159
|
+
GError **error);
|
|
160
160
|
|
|
161
161
|
GIO_AVAILABLE_IN_2_60
|
|
162
162
|
gboolean g_output_stream_writev (GOutputStream *stream,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
163
|
+
const GOutputVector *vectors,
|
|
164
|
+
gsize n_vectors,
|
|
165
|
+
gsize *bytes_written,
|
|
166
|
+
GCancellable *cancellable,
|
|
167
|
+
GError **error);
|
|
168
168
|
GIO_AVAILABLE_IN_2_60
|
|
169
169
|
gboolean g_output_stream_writev_all (GOutputStream *stream,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
170
|
+
GOutputVector *vectors,
|
|
171
|
+
gsize n_vectors,
|
|
172
|
+
gsize *bytes_written,
|
|
173
|
+
GCancellable *cancellable,
|
|
174
|
+
GError **error);
|
|
175
175
|
|
|
176
176
|
GIO_AVAILABLE_IN_2_40
|
|
177
177
|
gboolean g_output_stream_printf (GOutputStream *stream,
|
|
@@ -189,35 +189,35 @@ gboolean g_output_stream_vprintf (GOutputStream *stream,
|
|
|
189
189
|
va_list args) G_GNUC_PRINTF (5, 0);
|
|
190
190
|
GIO_AVAILABLE_IN_2_34
|
|
191
191
|
gssize g_output_stream_write_bytes (GOutputStream *stream,
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
192
|
+
GBytes *bytes,
|
|
193
|
+
GCancellable *cancellable,
|
|
194
|
+
GError **error);
|
|
195
195
|
GIO_AVAILABLE_IN_ALL
|
|
196
196
|
gssize g_output_stream_splice (GOutputStream *stream,
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
197
|
+
GInputStream *source,
|
|
198
|
+
GOutputStreamSpliceFlags flags,
|
|
199
|
+
GCancellable *cancellable,
|
|
200
|
+
GError **error);
|
|
201
201
|
GIO_AVAILABLE_IN_ALL
|
|
202
202
|
gboolean g_output_stream_flush (GOutputStream *stream,
|
|
203
|
-
|
|
204
|
-
|
|
203
|
+
GCancellable *cancellable,
|
|
204
|
+
GError **error);
|
|
205
205
|
GIO_AVAILABLE_IN_ALL
|
|
206
206
|
gboolean g_output_stream_close (GOutputStream *stream,
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
GCancellable *cancellable,
|
|
208
|
+
GError **error);
|
|
209
209
|
GIO_AVAILABLE_IN_ALL
|
|
210
210
|
void g_output_stream_write_async (GOutputStream *stream,
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
211
|
+
const void *buffer,
|
|
212
|
+
gsize count,
|
|
213
|
+
int io_priority,
|
|
214
|
+
GCancellable *cancellable,
|
|
215
|
+
GAsyncReadyCallback callback,
|
|
216
|
+
gpointer user_data);
|
|
217
217
|
GIO_AVAILABLE_IN_ALL
|
|
218
218
|
gssize g_output_stream_write_finish (GOutputStream *stream,
|
|
219
|
-
|
|
220
|
-
|
|
219
|
+
GAsyncResult *result,
|
|
220
|
+
GError **error);
|
|
221
221
|
|
|
222
222
|
GIO_AVAILABLE_IN_2_44
|
|
223
223
|
void g_output_stream_write_all_async (GOutputStream *stream,
|
|
@@ -236,17 +236,17 @@ gboolean g_output_stream_write_all_finish (GOutputStream *stream,
|
|
|
236
236
|
|
|
237
237
|
GIO_AVAILABLE_IN_2_60
|
|
238
238
|
void g_output_stream_writev_async (GOutputStream *stream,
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
239
|
+
const GOutputVector *vectors,
|
|
240
|
+
gsize n_vectors,
|
|
241
|
+
int io_priority,
|
|
242
|
+
GCancellable *cancellable,
|
|
243
|
+
GAsyncReadyCallback callback,
|
|
244
|
+
gpointer user_data);
|
|
245
245
|
GIO_AVAILABLE_IN_2_60
|
|
246
246
|
gboolean g_output_stream_writev_finish (GOutputStream *stream,
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
247
|
+
GAsyncResult *result,
|
|
248
|
+
gsize *bytes_written,
|
|
249
|
+
GError **error);
|
|
250
250
|
|
|
251
251
|
GIO_AVAILABLE_IN_2_60
|
|
252
252
|
void g_output_stream_writev_all_async (GOutputStream *stream,
|
|
@@ -265,47 +265,47 @@ gboolean g_output_stream_writev_all_finish (GOutputStream *stream,
|
|
|
265
265
|
|
|
266
266
|
GIO_AVAILABLE_IN_2_34
|
|
267
267
|
void g_output_stream_write_bytes_async (GOutputStream *stream,
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
268
|
+
GBytes *bytes,
|
|
269
|
+
int io_priority,
|
|
270
|
+
GCancellable *cancellable,
|
|
271
|
+
GAsyncReadyCallback callback,
|
|
272
|
+
gpointer user_data);
|
|
273
273
|
GIO_AVAILABLE_IN_2_34
|
|
274
274
|
gssize g_output_stream_write_bytes_finish (GOutputStream *stream,
|
|
275
|
-
|
|
276
|
-
|
|
275
|
+
GAsyncResult *result,
|
|
276
|
+
GError **error);
|
|
277
277
|
GIO_AVAILABLE_IN_ALL
|
|
278
278
|
void g_output_stream_splice_async (GOutputStream *stream,
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
279
|
+
GInputStream *source,
|
|
280
|
+
GOutputStreamSpliceFlags flags,
|
|
281
|
+
int io_priority,
|
|
282
|
+
GCancellable *cancellable,
|
|
283
|
+
GAsyncReadyCallback callback,
|
|
284
|
+
gpointer user_data);
|
|
285
285
|
GIO_AVAILABLE_IN_ALL
|
|
286
286
|
gssize g_output_stream_splice_finish (GOutputStream *stream,
|
|
287
|
-
|
|
288
|
-
|
|
287
|
+
GAsyncResult *result,
|
|
288
|
+
GError **error);
|
|
289
289
|
GIO_AVAILABLE_IN_ALL
|
|
290
290
|
void g_output_stream_flush_async (GOutputStream *stream,
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
291
|
+
int io_priority,
|
|
292
|
+
GCancellable *cancellable,
|
|
293
|
+
GAsyncReadyCallback callback,
|
|
294
|
+
gpointer user_data);
|
|
295
295
|
GIO_AVAILABLE_IN_ALL
|
|
296
296
|
gboolean g_output_stream_flush_finish (GOutputStream *stream,
|
|
297
|
-
|
|
298
|
-
|
|
297
|
+
GAsyncResult *result,
|
|
298
|
+
GError **error);
|
|
299
299
|
GIO_AVAILABLE_IN_ALL
|
|
300
300
|
void g_output_stream_close_async (GOutputStream *stream,
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
301
|
+
int io_priority,
|
|
302
|
+
GCancellable *cancellable,
|
|
303
|
+
GAsyncReadyCallback callback,
|
|
304
|
+
gpointer user_data);
|
|
305
305
|
GIO_AVAILABLE_IN_ALL
|
|
306
306
|
gboolean g_output_stream_close_finish (GOutputStream *stream,
|
|
307
|
-
|
|
308
|
-
|
|
307
|
+
GAsyncResult *result,
|
|
308
|
+
GError **error);
|
|
309
309
|
|
|
310
310
|
GIO_AVAILABLE_IN_ALL
|
|
311
311
|
gboolean g_output_stream_is_closed (GOutputStream *stream);
|
|
@@ -315,7 +315,7 @@ GIO_AVAILABLE_IN_ALL
|
|
|
315
315
|
gboolean g_output_stream_has_pending (GOutputStream *stream);
|
|
316
316
|
GIO_AVAILABLE_IN_ALL
|
|
317
317
|
gboolean g_output_stream_set_pending (GOutputStream *stream,
|
|
318
|
-
|
|
318
|
+
GError **error);
|
|
319
319
|
GIO_AVAILABLE_IN_ALL
|
|
320
320
|
void g_output_stream_clear_pending (GOutputStream *stream);
|
|
321
321
|
|
|
@@ -67,11 +67,11 @@ struct _GPollableInputStreamInterface
|
|
|
67
67
|
|
|
68
68
|
gboolean (*is_readable) (GPollableInputStream *stream);
|
|
69
69
|
GSource * (*create_source) (GPollableInputStream *stream,
|
|
70
|
-
|
|
70
|
+
GCancellable *cancellable);
|
|
71
71
|
gssize (*read_nonblocking) (GPollableInputStream *stream,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
void *buffer,
|
|
73
|
+
gsize count,
|
|
74
|
+
GError **error);
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
GIO_AVAILABLE_IN_ALL
|
|
@@ -84,14 +84,14 @@ GIO_AVAILABLE_IN_ALL
|
|
|
84
84
|
gboolean g_pollable_input_stream_is_readable (GPollableInputStream *stream);
|
|
85
85
|
GIO_AVAILABLE_IN_ALL
|
|
86
86
|
GSource *g_pollable_input_stream_create_source (GPollableInputStream *stream,
|
|
87
|
-
|
|
87
|
+
GCancellable *cancellable);
|
|
88
88
|
|
|
89
89
|
GIO_AVAILABLE_IN_ALL
|
|
90
90
|
gssize g_pollable_input_stream_read_nonblocking (GPollableInputStream *stream,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
91
|
+
void *buffer,
|
|
92
|
+
gsize count,
|
|
93
|
+
GCancellable *cancellable,
|
|
94
|
+
GError **error);
|
|
95
95
|
|
|
96
96
|
G_END_DECLS
|
|
97
97
|
|
|
@@ -75,16 +75,16 @@ struct _GPollableOutputStreamInterface
|
|
|
75
75
|
|
|
76
76
|
gboolean (*is_writable) (GPollableOutputStream *stream);
|
|
77
77
|
GSource * (*create_source) (GPollableOutputStream *stream,
|
|
78
|
-
|
|
78
|
+
GCancellable *cancellable);
|
|
79
79
|
gssize (*write_nonblocking) (GPollableOutputStream *stream,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
const void *buffer,
|
|
81
|
+
gsize count,
|
|
82
|
+
GError **error);
|
|
83
83
|
GPollableReturn (*writev_nonblocking) (GPollableOutputStream *stream,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
84
|
+
const GOutputVector *vectors,
|
|
85
|
+
gsize n_vectors,
|
|
86
|
+
gsize *bytes_written,
|
|
87
|
+
GError **error);
|
|
88
88
|
};
|
|
89
89
|
|
|
90
90
|
GIO_AVAILABLE_IN_ALL
|
|
@@ -97,22 +97,22 @@ GIO_AVAILABLE_IN_ALL
|
|
|
97
97
|
gboolean g_pollable_output_stream_is_writable (GPollableOutputStream *stream);
|
|
98
98
|
GIO_AVAILABLE_IN_ALL
|
|
99
99
|
GSource *g_pollable_output_stream_create_source (GPollableOutputStream *stream,
|
|
100
|
-
|
|
100
|
+
GCancellable *cancellable);
|
|
101
101
|
|
|
102
102
|
GIO_AVAILABLE_IN_ALL
|
|
103
103
|
gssize g_pollable_output_stream_write_nonblocking (GPollableOutputStream *stream,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
104
|
+
const void *buffer,
|
|
105
|
+
gsize count,
|
|
106
|
+
GCancellable *cancellable,
|
|
107
|
+
GError **error);
|
|
108
108
|
|
|
109
109
|
GIO_AVAILABLE_IN_2_60
|
|
110
110
|
GPollableReturn g_pollable_output_stream_writev_nonblocking (GPollableOutputStream *stream,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
111
|
+
const GOutputVector *vectors,
|
|
112
|
+
gsize n_vectors,
|
|
113
|
+
gsize *bytes_written,
|
|
114
|
+
GCancellable *cancellable,
|
|
115
|
+
GError **error);
|
|
116
116
|
|
|
117
117
|
G_END_DECLS
|
|
118
118
|
|
|
@@ -34,32 +34,32 @@ GSource *g_pollable_source_new (GObject *pollable_stream);
|
|
|
34
34
|
|
|
35
35
|
GIO_AVAILABLE_IN_2_34
|
|
36
36
|
GSource *g_pollable_source_new_full (gpointer pollable_stream,
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
GSource *child_source,
|
|
38
|
+
GCancellable *cancellable);
|
|
39
39
|
|
|
40
40
|
GIO_AVAILABLE_IN_2_34
|
|
41
41
|
gssize g_pollable_stream_read (GInputStream *stream,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
void *buffer,
|
|
43
|
+
gsize count,
|
|
44
|
+
gboolean blocking,
|
|
45
|
+
GCancellable *cancellable,
|
|
46
|
+
GError **error);
|
|
47
47
|
|
|
48
48
|
GIO_AVAILABLE_IN_2_34
|
|
49
49
|
gssize g_pollable_stream_write (GOutputStream *stream,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
50
|
+
const void *buffer,
|
|
51
|
+
gsize count,
|
|
52
|
+
gboolean blocking,
|
|
53
|
+
GCancellable *cancellable,
|
|
54
|
+
GError **error);
|
|
55
55
|
GIO_AVAILABLE_IN_2_34
|
|
56
56
|
gboolean g_pollable_stream_write_all (GOutputStream *stream,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
57
|
+
const void *buffer,
|
|
58
|
+
gsize count,
|
|
59
|
+
gboolean blocking,
|
|
60
|
+
gsize *bytes_written,
|
|
61
|
+
GCancellable *cancellable,
|
|
62
|
+
GError **error);
|
|
63
63
|
|
|
64
64
|
G_END_DECLS
|
|
65
65
|
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
|
|
34
34
|
G_BEGIN_DECLS
|
|
35
35
|
|
|
36
|
-
#define G_TYPE_PROXY
|
|
37
|
-
#define G_PROXY(o)
|
|
38
|
-
#define G_IS_PROXY(o)
|
|
36
|
+
#define G_TYPE_PROXY (g_proxy_get_type ())
|
|
37
|
+
#define G_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_PROXY, GProxy))
|
|
38
|
+
#define G_IS_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_PROXY))
|
|
39
39
|
#define G_PROXY_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_PROXY, GProxyInterface))
|
|
40
40
|
|
|
41
41
|
/**
|
|
@@ -70,21 +70,21 @@ struct _GProxyInterface
|
|
|
70
70
|
/* Virtual Table */
|
|
71
71
|
|
|
72
72
|
GIOStream * (* connect) (GProxy *proxy,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
GIOStream *connection,
|
|
74
|
+
GProxyAddress *proxy_address,
|
|
75
|
+
GCancellable *cancellable,
|
|
76
|
+
GError **error);
|
|
77
77
|
|
|
78
78
|
void (* connect_async) (GProxy *proxy,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
79
|
+
GIOStream *connection,
|
|
80
|
+
GProxyAddress *proxy_address,
|
|
81
|
+
GCancellable *cancellable,
|
|
82
|
+
GAsyncReadyCallback callback,
|
|
83
|
+
gpointer user_data);
|
|
84
84
|
|
|
85
85
|
GIOStream * (* connect_finish) (GProxy *proxy,
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
GAsyncResult *result,
|
|
87
|
+
GError **error);
|
|
88
88
|
|
|
89
89
|
gboolean (* supports_hostname) (GProxy *proxy);
|
|
90
90
|
};
|
|
@@ -97,23 +97,23 @@ GProxy *g_proxy_get_default_for_protocol (const gchar *protocol);
|
|
|
97
97
|
|
|
98
98
|
GIO_AVAILABLE_IN_ALL
|
|
99
99
|
GIOStream *g_proxy_connect (GProxy *proxy,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
100
|
+
GIOStream *connection,
|
|
101
|
+
GProxyAddress *proxy_address,
|
|
102
|
+
GCancellable *cancellable,
|
|
103
|
+
GError **error);
|
|
104
104
|
|
|
105
105
|
GIO_AVAILABLE_IN_ALL
|
|
106
106
|
void g_proxy_connect_async (GProxy *proxy,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
107
|
+
GIOStream *connection,
|
|
108
|
+
GProxyAddress *proxy_address,
|
|
109
|
+
GCancellable *cancellable,
|
|
110
|
+
GAsyncReadyCallback callback,
|
|
111
|
+
gpointer user_data);
|
|
112
112
|
|
|
113
113
|
GIO_AVAILABLE_IN_ALL
|
|
114
114
|
GIOStream *g_proxy_connect_finish (GProxy *proxy,
|
|
115
|
-
|
|
116
|
-
|
|
115
|
+
GAsyncResult *result,
|
|
116
|
+
GError **error);
|
|
117
117
|
|
|
118
118
|
GIO_AVAILABLE_IN_ALL
|
|
119
119
|
gboolean g_proxy_supports_hostname (GProxy *proxy);
|
|
@@ -60,12 +60,12 @@ GType g_proxy_address_get_type (void);
|
|
|
60
60
|
|
|
61
61
|
GIO_AVAILABLE_IN_ALL
|
|
62
62
|
GSocketAddress *g_proxy_address_new (GInetAddress *inetaddr,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
63
|
+
guint16 port,
|
|
64
|
+
const gchar *protocol,
|
|
65
|
+
const gchar *dest_hostname,
|
|
66
|
+
guint16 dest_port,
|
|
67
|
+
const gchar *username,
|
|
68
|
+
const gchar *password);
|
|
69
69
|
|
|
70
70
|
GIO_AVAILABLE_IN_ALL
|
|
71
71
|
const gchar *g_proxy_address_get_protocol (GProxyAddress *proxy);
|
|
@@ -52,44 +52,44 @@ struct _GProxyResolverInterface {
|
|
|
52
52
|
/* Virtual Table */
|
|
53
53
|
gboolean (* is_supported) (GProxyResolver *resolver);
|
|
54
54
|
|
|
55
|
-
gchar
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
gchar ** (* lookup) (GProxyResolver *resolver,
|
|
56
|
+
const gchar *uri,
|
|
57
|
+
GCancellable *cancellable,
|
|
58
|
+
GError **error);
|
|
59
59
|
|
|
60
60
|
void (* lookup_async) (GProxyResolver *resolver,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
gchar
|
|
67
|
-
|
|
68
|
-
|
|
61
|
+
const gchar *uri,
|
|
62
|
+
GCancellable *cancellable,
|
|
63
|
+
GAsyncReadyCallback callback,
|
|
64
|
+
gpointer user_data);
|
|
65
|
+
|
|
66
|
+
gchar ** (* lookup_finish) (GProxyResolver *resolver,
|
|
67
|
+
GAsyncResult *result,
|
|
68
|
+
GError **error);
|
|
69
69
|
};
|
|
70
70
|
|
|
71
71
|
GIO_AVAILABLE_IN_ALL
|
|
72
|
-
GType
|
|
72
|
+
GType g_proxy_resolver_get_type (void);
|
|
73
73
|
GIO_AVAILABLE_IN_ALL
|
|
74
74
|
GProxyResolver *g_proxy_resolver_get_default (void);
|
|
75
75
|
|
|
76
76
|
GIO_AVAILABLE_IN_ALL
|
|
77
77
|
gboolean g_proxy_resolver_is_supported (GProxyResolver *resolver);
|
|
78
78
|
GIO_AVAILABLE_IN_ALL
|
|
79
|
-
gchar
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
79
|
+
gchar **g_proxy_resolver_lookup (GProxyResolver *resolver,
|
|
80
|
+
const gchar *uri,
|
|
81
|
+
GCancellable *cancellable,
|
|
82
|
+
GError **error);
|
|
83
83
|
GIO_AVAILABLE_IN_ALL
|
|
84
|
-
void
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
84
|
+
void g_proxy_resolver_lookup_async (GProxyResolver *resolver,
|
|
85
|
+
const gchar *uri,
|
|
86
|
+
GCancellable *cancellable,
|
|
87
|
+
GAsyncReadyCallback callback,
|
|
88
|
+
gpointer user_data);
|
|
89
89
|
GIO_AVAILABLE_IN_ALL
|
|
90
|
-
gchar
|
|
91
|
-
|
|
92
|
-
|
|
90
|
+
gchar **g_proxy_resolver_lookup_finish (GProxyResolver *resolver,
|
|
91
|
+
GAsyncResult *result,
|
|
92
|
+
GError **error);
|
|
93
93
|
|
|
94
94
|
|
|
95
95
|
G_END_DECLS
|
|
@@ -65,36 +65,36 @@ GIO_AVAILABLE_IN_2_32
|
|
|
65
65
|
GType g_resource_get_type (void);
|
|
66
66
|
GIO_AVAILABLE_IN_2_32
|
|
67
67
|
GResource * g_resource_new_from_data (GBytes *data,
|
|
68
|
-
|
|
68
|
+
GError **error);
|
|
69
69
|
GIO_AVAILABLE_IN_2_32
|
|
70
70
|
GResource * g_resource_ref (GResource *resource);
|
|
71
71
|
GIO_AVAILABLE_IN_2_32
|
|
72
72
|
void g_resource_unref (GResource *resource);
|
|
73
73
|
GIO_AVAILABLE_IN_2_32
|
|
74
74
|
GResource * g_resource_load (const gchar *filename,
|
|
75
|
-
|
|
75
|
+
GError **error);
|
|
76
76
|
GIO_AVAILABLE_IN_2_32
|
|
77
77
|
GInputStream *g_resource_open_stream (GResource *resource,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
const char *path,
|
|
79
|
+
GResourceLookupFlags lookup_flags,
|
|
80
|
+
GError **error);
|
|
81
81
|
GIO_AVAILABLE_IN_2_32
|
|
82
82
|
GBytes * g_resource_lookup_data (GResource *resource,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
83
|
+
const char *path,
|
|
84
|
+
GResourceLookupFlags lookup_flags,
|
|
85
|
+
GError **error);
|
|
86
86
|
GIO_AVAILABLE_IN_2_32
|
|
87
87
|
char ** g_resource_enumerate_children (GResource *resource,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
const char *path,
|
|
89
|
+
GResourceLookupFlags lookup_flags,
|
|
90
|
+
GError **error);
|
|
91
91
|
GIO_AVAILABLE_IN_2_32
|
|
92
92
|
gboolean g_resource_get_info (GResource *resource,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
93
|
+
const char *path,
|
|
94
|
+
GResourceLookupFlags lookup_flags,
|
|
95
|
+
gsize *size,
|
|
96
|
+
guint32 *flags,
|
|
97
|
+
GError **error);
|
|
98
98
|
|
|
99
99
|
GIO_AVAILABLE_IN_2_32
|
|
100
100
|
void g_resources_register (GResource *resource);
|
|
@@ -102,22 +102,22 @@ GIO_AVAILABLE_IN_2_32
|
|
|
102
102
|
void g_resources_unregister (GResource *resource);
|
|
103
103
|
GIO_AVAILABLE_IN_2_32
|
|
104
104
|
GInputStream *g_resources_open_stream (const char *path,
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
GResourceLookupFlags lookup_flags,
|
|
106
|
+
GError **error);
|
|
107
107
|
GIO_AVAILABLE_IN_2_32
|
|
108
108
|
GBytes * g_resources_lookup_data (const char *path,
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
GResourceLookupFlags lookup_flags,
|
|
110
|
+
GError **error);
|
|
111
111
|
GIO_AVAILABLE_IN_2_32
|
|
112
112
|
char ** g_resources_enumerate_children (const char *path,
|
|
113
|
-
|
|
114
|
-
|
|
113
|
+
GResourceLookupFlags lookup_flags,
|
|
114
|
+
GError **error);
|
|
115
115
|
GIO_AVAILABLE_IN_2_32
|
|
116
116
|
gboolean g_resources_get_info (const char *path,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
117
|
+
GResourceLookupFlags lookup_flags,
|
|
118
|
+
gsize *size,
|
|
119
|
+
guint32 *flags,
|
|
120
|
+
GError **error);
|
|
121
121
|
|
|
122
122
|
GIO_AVAILABLE_IN_2_84
|
|
123
123
|
gboolean g_resource_has_children (GResource *resource,
|