@revizly/sharp-libvips-dev 1.0.60 → 1.0.63
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/util.h +15 -1
- package/include/vips/version.h +1 -1
- package/package.json +1 -1
- package/versions.json +5 -5
|
@@ -64,7 +64,7 @@ struct _GInputStreamClass
|
|
|
64
64
|
gsize count,
|
|
65
65
|
GCancellable *cancellable,
|
|
66
66
|
GError **error);
|
|
67
|
-
gboolean (* close_fn)
|
|
67
|
+
gboolean (* close_fn) (GInputStream *stream,
|
|
68
68
|
GCancellable *cancellable,
|
|
69
69
|
GError **error);
|
|
70
70
|
|
|
@@ -111,43 +111,43 @@ GType g_input_stream_get_type (void);
|
|
|
111
111
|
|
|
112
112
|
GIO_AVAILABLE_IN_ALL
|
|
113
113
|
gssize g_input_stream_read (GInputStream *stream,
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
114
|
+
void *buffer,
|
|
115
|
+
gsize count,
|
|
116
|
+
GCancellable *cancellable,
|
|
117
|
+
GError **error);
|
|
118
118
|
GIO_AVAILABLE_IN_ALL
|
|
119
119
|
gboolean g_input_stream_read_all (GInputStream *stream,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
120
|
+
void *buffer,
|
|
121
|
+
gsize count,
|
|
122
|
+
gsize *bytes_read,
|
|
123
|
+
GCancellable *cancellable,
|
|
124
|
+
GError **error);
|
|
125
125
|
GIO_AVAILABLE_IN_2_34
|
|
126
126
|
GBytes *g_input_stream_read_bytes (GInputStream *stream,
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
127
|
+
gsize count,
|
|
128
|
+
GCancellable *cancellable,
|
|
129
|
+
GError **error);
|
|
130
130
|
GIO_AVAILABLE_IN_ALL
|
|
131
131
|
gssize g_input_stream_skip (GInputStream *stream,
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
132
|
+
gsize count,
|
|
133
|
+
GCancellable *cancellable,
|
|
134
|
+
GError **error);
|
|
135
135
|
GIO_AVAILABLE_IN_ALL
|
|
136
136
|
gboolean g_input_stream_close (GInputStream *stream,
|
|
137
|
-
|
|
138
|
-
|
|
137
|
+
GCancellable *cancellable,
|
|
138
|
+
GError **error);
|
|
139
139
|
GIO_AVAILABLE_IN_ALL
|
|
140
140
|
void g_input_stream_read_async (GInputStream *stream,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
141
|
+
void *buffer,
|
|
142
|
+
gsize count,
|
|
143
|
+
int io_priority,
|
|
144
|
+
GCancellable *cancellable,
|
|
145
|
+
GAsyncReadyCallback callback,
|
|
146
|
+
gpointer user_data);
|
|
147
147
|
GIO_AVAILABLE_IN_ALL
|
|
148
148
|
gssize g_input_stream_read_finish (GInputStream *stream,
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
GAsyncResult *result,
|
|
150
|
+
GError **error);
|
|
151
151
|
|
|
152
152
|
GIO_AVAILABLE_IN_2_44
|
|
153
153
|
void g_input_stream_read_all_async (GInputStream *stream,
|
|
@@ -165,36 +165,36 @@ gboolean g_input_stream_read_all_finish (GInputStream *stream,
|
|
|
165
165
|
|
|
166
166
|
GIO_AVAILABLE_IN_2_34
|
|
167
167
|
void g_input_stream_read_bytes_async (GInputStream *stream,
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
168
|
+
gsize count,
|
|
169
|
+
int io_priority,
|
|
170
|
+
GCancellable *cancellable,
|
|
171
|
+
GAsyncReadyCallback callback,
|
|
172
|
+
gpointer user_data);
|
|
173
173
|
GIO_AVAILABLE_IN_2_34
|
|
174
174
|
GBytes *g_input_stream_read_bytes_finish (GInputStream *stream,
|
|
175
|
-
|
|
176
|
-
|
|
175
|
+
GAsyncResult *result,
|
|
176
|
+
GError **error);
|
|
177
177
|
GIO_AVAILABLE_IN_ALL
|
|
178
178
|
void g_input_stream_skip_async (GInputStream *stream,
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
179
|
+
gsize count,
|
|
180
|
+
int io_priority,
|
|
181
|
+
GCancellable *cancellable,
|
|
182
|
+
GAsyncReadyCallback callback,
|
|
183
|
+
gpointer user_data);
|
|
184
184
|
GIO_AVAILABLE_IN_ALL
|
|
185
185
|
gssize g_input_stream_skip_finish (GInputStream *stream,
|
|
186
|
-
|
|
187
|
-
|
|
186
|
+
GAsyncResult *result,
|
|
187
|
+
GError **error);
|
|
188
188
|
GIO_AVAILABLE_IN_ALL
|
|
189
189
|
void g_input_stream_close_async (GInputStream *stream,
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
190
|
+
int io_priority,
|
|
191
|
+
GCancellable *cancellable,
|
|
192
|
+
GAsyncReadyCallback callback,
|
|
193
|
+
gpointer user_data);
|
|
194
194
|
GIO_AVAILABLE_IN_ALL
|
|
195
195
|
gboolean g_input_stream_close_finish (GInputStream *stream,
|
|
196
|
-
|
|
197
|
-
|
|
196
|
+
GAsyncResult *result,
|
|
197
|
+
GError **error);
|
|
198
198
|
|
|
199
199
|
/* For implementations: */
|
|
200
200
|
|
|
@@ -204,7 +204,7 @@ GIO_AVAILABLE_IN_ALL
|
|
|
204
204
|
gboolean g_input_stream_has_pending (GInputStream *stream);
|
|
205
205
|
GIO_AVAILABLE_IN_ALL
|
|
206
206
|
gboolean g_input_stream_set_pending (GInputStream *stream,
|
|
207
|
-
|
|
207
|
+
GError **error);
|
|
208
208
|
GIO_AVAILABLE_IN_ALL
|
|
209
209
|
void g_input_stream_clear_pending (GInputStream *stream);
|
|
210
210
|
|
|
@@ -1154,3 +1154,37 @@
|
|
|
1154
1154
|
#define GIO_AVAILABLE_ENUMERATOR_IN_2_90
|
|
1155
1155
|
#define GIO_AVAILABLE_TYPE_IN_2_90
|
|
1156
1156
|
#endif
|
|
1157
|
+
|
|
1158
|
+
#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_92
|
|
1159
|
+
#define GIO_DEPRECATED_IN_2_92 GIO_DEPRECATED
|
|
1160
|
+
#define GIO_DEPRECATED_IN_2_92_FOR(f) GIO_DEPRECATED_FOR (f)
|
|
1161
|
+
#define GIO_DEPRECATED_MACRO_IN_2_92 GLIB_DEPRECATED_MACRO
|
|
1162
|
+
#define GIO_DEPRECATED_MACRO_IN_2_92_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
|
|
1163
|
+
#define GIO_DEPRECATED_ENUMERATOR_IN_2_92 GLIB_DEPRECATED_ENUMERATOR
|
|
1164
|
+
#define GIO_DEPRECATED_ENUMERATOR_IN_2_92_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
|
|
1165
|
+
#define GIO_DEPRECATED_TYPE_IN_2_92 GLIB_DEPRECATED_TYPE
|
|
1166
|
+
#define GIO_DEPRECATED_TYPE_IN_2_92_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
|
|
1167
|
+
#else
|
|
1168
|
+
#define GIO_DEPRECATED_IN_2_92 _GIO_EXTERN
|
|
1169
|
+
#define GIO_DEPRECATED_IN_2_92_FOR(f) _GIO_EXTERN
|
|
1170
|
+
#define GIO_DEPRECATED_MACRO_IN_2_92
|
|
1171
|
+
#define GIO_DEPRECATED_MACRO_IN_2_92_FOR(f)
|
|
1172
|
+
#define GIO_DEPRECATED_ENUMERATOR_IN_2_92
|
|
1173
|
+
#define GIO_DEPRECATED_ENUMERATOR_IN_2_92_FOR(f)
|
|
1174
|
+
#define GIO_DEPRECATED_TYPE_IN_2_92
|
|
1175
|
+
#define GIO_DEPRECATED_TYPE_IN_2_92_FOR(f)
|
|
1176
|
+
#endif
|
|
1177
|
+
|
|
1178
|
+
#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_92
|
|
1179
|
+
#define GIO_AVAILABLE_IN_2_92 GIO_UNAVAILABLE (2, 92)
|
|
1180
|
+
#define GIO_AVAILABLE_STATIC_INLINE_IN_2_92 GLIB_UNAVAILABLE_STATIC_INLINE (2, 92)
|
|
1181
|
+
#define GIO_AVAILABLE_MACRO_IN_2_92 GLIB_UNAVAILABLE_MACRO (2, 92)
|
|
1182
|
+
#define GIO_AVAILABLE_ENUMERATOR_IN_2_92 GLIB_UNAVAILABLE_ENUMERATOR (2, 92)
|
|
1183
|
+
#define GIO_AVAILABLE_TYPE_IN_2_92 GLIB_UNAVAILABLE_TYPE (2, 92)
|
|
1184
|
+
#else
|
|
1185
|
+
#define GIO_AVAILABLE_IN_2_92 _GIO_EXTERN
|
|
1186
|
+
#define GIO_AVAILABLE_STATIC_INLINE_IN_2_92
|
|
1187
|
+
#define GIO_AVAILABLE_MACRO_IN_2_92
|
|
1188
|
+
#define GIO_AVAILABLE_ENUMERATOR_IN_2_92
|
|
1189
|
+
#define GIO_AVAILABLE_TYPE_IN_2_92
|
|
1190
|
+
#endif
|
|
@@ -244,11 +244,13 @@ typedef enum {
|
|
|
244
244
|
/**
|
|
245
245
|
* GMountMountFlags:
|
|
246
246
|
* @G_MOUNT_MOUNT_NONE: No flags set.
|
|
247
|
+
* @G_MOUNT_MOUNT_READ_ONLY: Mount the volume read-only. Since: 2.92
|
|
247
248
|
*
|
|
248
249
|
* Flags used when mounting a mount.
|
|
249
250
|
*/
|
|
250
251
|
typedef enum /*< flags >*/ {
|
|
251
|
-
G_MOUNT_MOUNT_NONE = 0
|
|
252
|
+
G_MOUNT_MOUNT_NONE = 0,
|
|
253
|
+
G_MOUNT_MOUNT_READ_ONLY GIO_AVAILABLE_ENUMERATOR_IN_2_92 = (1 << 0)
|
|
252
254
|
} G_GNUC_FLAG_ENUM GMountMountFlags;
|
|
253
255
|
|
|
254
256
|
|
|
@@ -74,19 +74,19 @@ GIO_AVAILABLE_IN_ALL
|
|
|
74
74
|
GIOExtensionPoint *g_io_extension_point_lookup (const char *name);
|
|
75
75
|
GIO_AVAILABLE_IN_ALL
|
|
76
76
|
void g_io_extension_point_set_required_type (GIOExtensionPoint *extension_point,
|
|
77
|
-
|
|
77
|
+
GType type);
|
|
78
78
|
GIO_AVAILABLE_IN_ALL
|
|
79
79
|
GType g_io_extension_point_get_required_type (GIOExtensionPoint *extension_point);
|
|
80
80
|
GIO_AVAILABLE_IN_ALL
|
|
81
81
|
GList *g_io_extension_point_get_extensions (GIOExtensionPoint *extension_point);
|
|
82
82
|
GIO_AVAILABLE_IN_ALL
|
|
83
83
|
GIOExtension * g_io_extension_point_get_extension_by_name (GIOExtensionPoint *extension_point,
|
|
84
|
-
|
|
84
|
+
const char *name);
|
|
85
85
|
GIO_AVAILABLE_IN_ALL
|
|
86
86
|
GIOExtension * g_io_extension_point_implement (const char *extension_point_name,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
GType type,
|
|
88
|
+
const char *extension_name,
|
|
89
|
+
gint priority);
|
|
90
90
|
|
|
91
91
|
GIO_AVAILABLE_IN_ALL
|
|
92
92
|
GType g_io_extension_get_type (GIOExtension *extension);
|
|
@@ -34,22 +34,22 @@ G_BEGIN_DECLS
|
|
|
34
34
|
|
|
35
35
|
GIO_DEPRECATED_IN_2_36_FOR ("GThreadPool or g_task_run_in_thread")
|
|
36
36
|
void g_io_scheduler_push_job (GIOSchedulerJobFunc job_func,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
gpointer user_data,
|
|
38
|
+
GDestroyNotify notify,
|
|
39
|
+
gint io_priority,
|
|
40
|
+
GCancellable *cancellable);
|
|
41
41
|
GIO_DEPRECATED_IN_2_36
|
|
42
42
|
void g_io_scheduler_cancel_all_jobs (void);
|
|
43
43
|
GIO_DEPRECATED_IN_2_36_FOR (g_main_context_invoke)
|
|
44
44
|
gboolean g_io_scheduler_job_send_to_mainloop (GIOSchedulerJob *job,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
GSourceFunc func,
|
|
46
|
+
gpointer user_data,
|
|
47
|
+
GDestroyNotify notify);
|
|
48
48
|
GIO_DEPRECATED_IN_2_36_FOR (g_main_context_invoke)
|
|
49
49
|
void g_io_scheduler_job_send_to_mainloop_async (GIOSchedulerJob *job,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
GSourceFunc func,
|
|
51
|
+
gpointer user_data,
|
|
52
|
+
GDestroyNotify notify);
|
|
53
53
|
|
|
54
54
|
G_END_DECLS
|
|
55
55
|
|
|
@@ -55,7 +55,7 @@ struct _GIOStreamClass
|
|
|
55
55
|
GInputStream * (*get_input_stream) (GIOStream *stream);
|
|
56
56
|
GOutputStream * (*get_output_stream) (GIOStream *stream);
|
|
57
57
|
|
|
58
|
-
gboolean (* close_fn)
|
|
58
|
+
gboolean (* close_fn) (GIOStream *stream,
|
|
59
59
|
GCancellable *cancellable,
|
|
60
60
|
GError **error);
|
|
61
61
|
void (* close_async) (GIOStream *stream,
|
|
@@ -90,12 +90,12 @@ GOutputStream *g_io_stream_get_output_stream (GIOStream *stream);
|
|
|
90
90
|
|
|
91
91
|
GIO_AVAILABLE_IN_ALL
|
|
92
92
|
void g_io_stream_splice_async (GIOStream *stream1,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
93
|
+
GIOStream *stream2,
|
|
94
|
+
GIOStreamSpliceFlags flags,
|
|
95
|
+
int io_priority,
|
|
96
|
+
GCancellable *cancellable,
|
|
97
|
+
GAsyncReadyCallback callback,
|
|
98
|
+
gpointer user_data);
|
|
99
99
|
|
|
100
100
|
GIO_AVAILABLE_IN_ALL
|
|
101
101
|
gboolean g_io_stream_splice_finish (GAsyncResult *result,
|
|
@@ -103,19 +103,19 @@ gboolean g_io_stream_splice_finish (GAsyncResult *result,
|
|
|
103
103
|
|
|
104
104
|
GIO_AVAILABLE_IN_ALL
|
|
105
105
|
gboolean g_io_stream_close (GIOStream *stream,
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
GCancellable *cancellable,
|
|
107
|
+
GError **error);
|
|
108
108
|
|
|
109
109
|
GIO_AVAILABLE_IN_ALL
|
|
110
110
|
void g_io_stream_close_async (GIOStream *stream,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
111
|
+
int io_priority,
|
|
112
|
+
GCancellable *cancellable,
|
|
113
|
+
GAsyncReadyCallback callback,
|
|
114
|
+
gpointer user_data);
|
|
115
115
|
GIO_AVAILABLE_IN_ALL
|
|
116
116
|
gboolean g_io_stream_close_finish (GIOStream *stream,
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
GAsyncResult *result,
|
|
118
|
+
GError **error);
|
|
119
119
|
|
|
120
120
|
GIO_AVAILABLE_IN_ALL
|
|
121
121
|
gboolean g_io_stream_is_closed (GIOStream *stream);
|
|
@@ -123,7 +123,7 @@ GIO_AVAILABLE_IN_ALL
|
|
|
123
123
|
gboolean g_io_stream_has_pending (GIOStream *stream);
|
|
124
124
|
GIO_AVAILABLE_IN_ALL
|
|
125
125
|
gboolean g_io_stream_set_pending (GIOStream *stream,
|
|
126
|
-
|
|
126
|
+
GError **error);
|
|
127
127
|
GIO_AVAILABLE_IN_ALL
|
|
128
128
|
void g_io_stream_clear_pending (GIOStream *stream);
|
|
129
129
|
|
|
@@ -160,9 +160,9 @@ typedef struct _GTlsServerConnection GTlsServerConnection; /* Dummy typ
|
|
|
160
160
|
typedef struct _GVfs GVfs; /* Dummy typedef */
|
|
161
161
|
|
|
162
162
|
typedef struct _GProxyResolver GProxyResolver;
|
|
163
|
-
typedef struct _GProxy
|
|
164
|
-
typedef struct _GProxyAddress
|
|
165
|
-
typedef struct _GProxyAddressEnumerator
|
|
163
|
+
typedef struct _GProxy GProxy;
|
|
164
|
+
typedef struct _GProxyAddress GProxyAddress;
|
|
165
|
+
typedef struct _GProxyAddressEnumerator GProxyAddressEnumerator;
|
|
166
166
|
|
|
167
167
|
typedef struct _GVolume GVolume; /* Dummy typedef */
|
|
168
168
|
typedef struct _GVolumeMonitor GVolumeMonitor;
|
|
@@ -187,8 +187,8 @@ typedef struct _GVolumeMonitor GVolumeMonitor;
|
|
|
187
187
|
* after this callback returns.
|
|
188
188
|
**/
|
|
189
189
|
typedef void (*GAsyncReadyCallback) (GObject *source_object,
|
|
190
|
-
|
|
191
|
-
|
|
190
|
+
GAsyncResult *res,
|
|
191
|
+
gpointer data);
|
|
192
192
|
|
|
193
193
|
/**
|
|
194
194
|
* GFileProgressCallback:
|
|
@@ -282,8 +282,8 @@ typedef void (* GFileMeasureProgressCallback) (gboolean reporting,
|
|
|
282
282
|
* [method@Gio.Task.run_in_thread]
|
|
283
283
|
**/
|
|
284
284
|
typedef gboolean (*GIOSchedulerJobFunc) (GIOSchedulerJob *job,
|
|
285
|
-
|
|
286
|
-
|
|
285
|
+
GCancellable *cancellable,
|
|
286
|
+
gpointer data);
|
|
287
287
|
|
|
288
288
|
/**
|
|
289
289
|
* GSimpleAsyncThreadFunc:
|
|
@@ -312,8 +312,8 @@ typedef void (*GSimpleAsyncThreadFunc) (GSimpleAsyncResult *res,
|
|
|
312
312
|
* Since: 2.22
|
|
313
313
|
*/
|
|
314
314
|
typedef gboolean (*GSocketSourceFunc) (GSocket *socket,
|
|
315
|
-
|
|
316
|
-
|
|
315
|
+
GIOCondition condition,
|
|
316
|
+
gpointer data);
|
|
317
317
|
|
|
318
318
|
/**
|
|
319
319
|
* GDatagramBasedSourceFunc:
|
|
@@ -379,7 +379,8 @@ struct _GInputVector {
|
|
|
379
379
|
* the POSIX sockets API (see `man 2 recvmmsg`).
|
|
380
380
|
*
|
|
381
381
|
* If @address is non-%NULL then it is set to the source address the message
|
|
382
|
-
* was received from, and the caller must
|
|
382
|
+
* was received from (or %NULL if it is not available), and the caller must
|
|
383
|
+
* free it afterwards.
|
|
383
384
|
*
|
|
384
385
|
* If @control_messages is non-%NULL then it is set to an array of control
|
|
385
386
|
* messages received with the message (if any), and the caller must free it
|
|
@@ -493,7 +494,7 @@ typedef struct _GDBusNodeInfo GDBusNodeInfo;
|
|
|
493
494
|
* Since: 2.28
|
|
494
495
|
*/
|
|
495
496
|
typedef gboolean (*GCancellableSourceFunc) (GCancellable *cancellable,
|
|
496
|
-
|
|
497
|
+
gpointer data);
|
|
497
498
|
|
|
498
499
|
/**
|
|
499
500
|
* GPollableSourceFunc:
|
|
@@ -509,7 +510,7 @@ typedef gboolean (*GCancellableSourceFunc) (GCancellable *cancellable,
|
|
|
509
510
|
* Since: 2.28
|
|
510
511
|
*/
|
|
511
512
|
typedef gboolean (*GPollableSourceFunc) (GObject *pollable_stream,
|
|
512
|
-
|
|
513
|
+
gpointer data);
|
|
513
514
|
|
|
514
515
|
typedef struct _GDBusInterface GDBusInterface; /* Dummy typedef */
|
|
515
516
|
typedef struct _GDBusInterfaceSkeleton GDBusInterfaceSkeleton;
|
|
@@ -33,10 +33,10 @@ G_BEGIN_DECLS
|
|
|
33
33
|
|
|
34
34
|
#define G_TYPE_LOADABLE_ICON (g_loadable_icon_get_type ())
|
|
35
35
|
#define G_LOADABLE_ICON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_LOADABLE_ICON, GLoadableIcon))
|
|
36
|
-
#define G_IS_LOADABLE_ICON(obj)
|
|
36
|
+
#define G_IS_LOADABLE_ICON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_LOADABLE_ICON))
|
|
37
37
|
#define G_LOADABLE_ICON_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_LOADABLE_ICON, GLoadableIconIface))
|
|
38
38
|
|
|
39
|
-
typedef struct _GLoadableIconIface
|
|
39
|
+
typedef struct _GLoadableIconIface GLoadableIconIface;
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
* GLoadableIconIface:
|
|
@@ -74,21 +74,21 @@ GType g_loadable_icon_get_type (void);
|
|
|
74
74
|
|
|
75
75
|
GIO_AVAILABLE_IN_ALL
|
|
76
76
|
GInputStream *g_loadable_icon_load (GLoadableIcon *icon,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
77
|
+
int size,
|
|
78
|
+
char **type,
|
|
79
|
+
GCancellable *cancellable,
|
|
80
|
+
GError **error);
|
|
81
81
|
GIO_AVAILABLE_IN_ALL
|
|
82
82
|
void g_loadable_icon_load_async (GLoadableIcon *icon,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
int size,
|
|
84
|
+
GCancellable *cancellable,
|
|
85
|
+
GAsyncReadyCallback callback,
|
|
86
|
+
gpointer user_data);
|
|
87
87
|
GIO_AVAILABLE_IN_ALL
|
|
88
88
|
GInputStream *g_loadable_icon_load_finish (GLoadableIcon *icon,
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
GAsyncResult *res,
|
|
90
|
+
char **type,
|
|
91
|
+
GError **error);
|
|
92
92
|
|
|
93
93
|
G_END_DECLS
|
|
94
94
|
|
|
@@ -55,10 +55,10 @@ struct _GMountOperationClass
|
|
|
55
55
|
/* signals: */
|
|
56
56
|
|
|
57
57
|
void (* ask_password) (GMountOperation *op,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
58
|
+
const char *message,
|
|
59
|
+
const char *default_user,
|
|
60
|
+
const char *default_domain,
|
|
61
|
+
GAskPasswordFlags flags);
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* GMountOperationClass::ask_question:
|
|
@@ -70,11 +70,11 @@ struct _GMountOperationClass
|
|
|
70
70
|
* Virtual implementation of #GMountOperation::ask-question.
|
|
71
71
|
*/
|
|
72
72
|
void (* ask_question) (GMountOperation *op,
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
const char *message,
|
|
74
|
+
const char *choices[]);
|
|
75
75
|
|
|
76
76
|
void (* reply) (GMountOperation *op,
|
|
77
|
-
|
|
77
|
+
GMountOperationResult result);
|
|
78
78
|
|
|
79
79
|
void (* aborted) (GMountOperation *op);
|
|
80
80
|
|
|
@@ -123,35 +123,35 @@ GIO_AVAILABLE_IN_ALL
|
|
|
123
123
|
const char * g_mount_operation_get_username (GMountOperation *op);
|
|
124
124
|
GIO_AVAILABLE_IN_ALL
|
|
125
125
|
void g_mount_operation_set_username (GMountOperation *op,
|
|
126
|
-
|
|
126
|
+
const char *username);
|
|
127
127
|
GIO_AVAILABLE_IN_ALL
|
|
128
128
|
const char * g_mount_operation_get_password (GMountOperation *op);
|
|
129
129
|
GIO_AVAILABLE_IN_ALL
|
|
130
130
|
void g_mount_operation_set_password (GMountOperation *op,
|
|
131
|
-
|
|
131
|
+
const char *password);
|
|
132
132
|
GIO_AVAILABLE_IN_ALL
|
|
133
133
|
gboolean g_mount_operation_get_anonymous (GMountOperation *op);
|
|
134
134
|
GIO_AVAILABLE_IN_ALL
|
|
135
135
|
void g_mount_operation_set_anonymous (GMountOperation *op,
|
|
136
|
-
|
|
136
|
+
gboolean anonymous);
|
|
137
137
|
GIO_AVAILABLE_IN_ALL
|
|
138
138
|
const char * g_mount_operation_get_domain (GMountOperation *op);
|
|
139
139
|
GIO_AVAILABLE_IN_ALL
|
|
140
140
|
void g_mount_operation_set_domain (GMountOperation *op,
|
|
141
|
-
|
|
141
|
+
const char *domain);
|
|
142
142
|
GIO_AVAILABLE_IN_ALL
|
|
143
143
|
GPasswordSave g_mount_operation_get_password_save (GMountOperation *op);
|
|
144
144
|
GIO_AVAILABLE_IN_ALL
|
|
145
145
|
void g_mount_operation_set_password_save (GMountOperation *op,
|
|
146
|
-
|
|
146
|
+
GPasswordSave save);
|
|
147
147
|
GIO_AVAILABLE_IN_ALL
|
|
148
148
|
int g_mount_operation_get_choice (GMountOperation *op);
|
|
149
149
|
GIO_AVAILABLE_IN_ALL
|
|
150
150
|
void g_mount_operation_set_choice (GMountOperation *op,
|
|
151
|
-
|
|
151
|
+
int choice);
|
|
152
152
|
GIO_AVAILABLE_IN_ALL
|
|
153
153
|
void g_mount_operation_reply (GMountOperation *op,
|
|
154
|
-
|
|
154
|
+
GMountOperationResult result);
|
|
155
155
|
GIO_AVAILABLE_IN_2_58
|
|
156
156
|
gboolean g_mount_operation_get_is_tcrypt_hidden_volume (GMountOperation *op);
|
|
157
157
|
GIO_AVAILABLE_IN_2_58
|
|
@@ -58,17 +58,17 @@ GType g_network_address_get_type (void);
|
|
|
58
58
|
|
|
59
59
|
GIO_AVAILABLE_IN_ALL
|
|
60
60
|
GSocketConnectable *g_network_address_new (const gchar *hostname,
|
|
61
|
-
|
|
61
|
+
guint16 port);
|
|
62
62
|
GIO_AVAILABLE_IN_2_44
|
|
63
63
|
GSocketConnectable *g_network_address_new_loopback (guint16 port);
|
|
64
64
|
GIO_AVAILABLE_IN_ALL
|
|
65
65
|
GSocketConnectable *g_network_address_parse (const gchar *host_and_port,
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
guint16 default_port,
|
|
67
|
+
GError **error);
|
|
68
68
|
GIO_AVAILABLE_IN_ALL
|
|
69
69
|
GSocketConnectable *g_network_address_parse_uri (const gchar *uri,
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
guint16 default_port,
|
|
71
|
+
GError **error);
|
|
72
72
|
GIO_AVAILABLE_IN_ALL
|
|
73
73
|
const gchar *g_network_address_get_hostname (GNetworkAddress *addr);
|
|
74
74
|
GIO_AVAILABLE_IN_ALL
|
|
@@ -50,20 +50,20 @@ struct _GNetworkMonitorInterface {
|
|
|
50
50
|
GTypeInterface g_iface;
|
|
51
51
|
|
|
52
52
|
void (*network_changed) (GNetworkMonitor *monitor,
|
|
53
|
-
|
|
53
|
+
gboolean network_available);
|
|
54
54
|
|
|
55
55
|
gboolean (*can_reach) (GNetworkMonitor *monitor,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
GSocketConnectable *connectable,
|
|
57
|
+
GCancellable *cancellable,
|
|
58
|
+
GError **error);
|
|
59
59
|
void (*can_reach_async) (GNetworkMonitor *monitor,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
GSocketConnectable *connectable,
|
|
61
|
+
GCancellable *cancellable,
|
|
62
|
+
GAsyncReadyCallback callback,
|
|
63
|
+
gpointer user_data);
|
|
64
64
|
gboolean (*can_reach_finish) (GNetworkMonitor *monitor,
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
GAsyncResult *result,
|
|
66
|
+
GError **error);
|
|
67
67
|
};
|
|
68
68
|
|
|
69
69
|
GIO_AVAILABLE_IN_2_32
|
|
@@ -58,8 +58,8 @@ GType g_network_service_get_type (void);
|
|
|
58
58
|
|
|
59
59
|
GIO_AVAILABLE_IN_ALL
|
|
60
60
|
GSocketConnectable *g_network_service_new (const gchar *service,
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
const gchar *protocol,
|
|
62
|
+
const gchar *domain);
|
|
63
63
|
|
|
64
64
|
GIO_AVAILABLE_IN_ALL
|
|
65
65
|
const gchar *g_network_service_get_service (GNetworkService *srv);
|