@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
|
@@ -53,9 +53,9 @@ struct _GSocketClientClass
|
|
|
53
53
|
GObjectClass parent_class;
|
|
54
54
|
|
|
55
55
|
void (* event) (GSocketClient *client,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
GSocketClientEvent event,
|
|
57
|
+
GSocketConnectable *connectable,
|
|
58
|
+
GIOStream *connection);
|
|
59
59
|
|
|
60
60
|
/* Padding for future expansion */
|
|
61
61
|
void (*_g_reserved1) (void);
|
|
@@ -80,43 +80,43 @@ GIO_AVAILABLE_IN_ALL
|
|
|
80
80
|
GSocketFamily g_socket_client_get_family (GSocketClient *client);
|
|
81
81
|
GIO_AVAILABLE_IN_ALL
|
|
82
82
|
void g_socket_client_set_family (GSocketClient *client,
|
|
83
|
-
|
|
83
|
+
GSocketFamily family);
|
|
84
84
|
GIO_AVAILABLE_IN_ALL
|
|
85
85
|
GSocketType g_socket_client_get_socket_type (GSocketClient *client);
|
|
86
86
|
GIO_AVAILABLE_IN_ALL
|
|
87
87
|
void g_socket_client_set_socket_type (GSocketClient *client,
|
|
88
|
-
|
|
88
|
+
GSocketType type);
|
|
89
89
|
GIO_AVAILABLE_IN_ALL
|
|
90
90
|
GSocketProtocol g_socket_client_get_protocol (GSocketClient *client);
|
|
91
91
|
GIO_AVAILABLE_IN_ALL
|
|
92
92
|
void g_socket_client_set_protocol (GSocketClient *client,
|
|
93
|
-
|
|
93
|
+
GSocketProtocol protocol);
|
|
94
94
|
GIO_AVAILABLE_IN_ALL
|
|
95
95
|
GSocketAddress *g_socket_client_get_local_address (GSocketClient *client);
|
|
96
96
|
GIO_AVAILABLE_IN_ALL
|
|
97
97
|
void g_socket_client_set_local_address (GSocketClient *client,
|
|
98
|
-
|
|
98
|
+
GSocketAddress *address);
|
|
99
99
|
GIO_AVAILABLE_IN_ALL
|
|
100
100
|
guint g_socket_client_get_timeout (GSocketClient *client);
|
|
101
101
|
GIO_AVAILABLE_IN_ALL
|
|
102
102
|
void g_socket_client_set_timeout (GSocketClient *client,
|
|
103
|
-
|
|
103
|
+
guint timeout);
|
|
104
104
|
GIO_AVAILABLE_IN_ALL
|
|
105
105
|
gboolean g_socket_client_get_enable_proxy (GSocketClient *client);
|
|
106
106
|
GIO_AVAILABLE_IN_ALL
|
|
107
107
|
void g_socket_client_set_enable_proxy (GSocketClient *client,
|
|
108
|
-
|
|
108
|
+
gboolean enable);
|
|
109
109
|
|
|
110
110
|
GIO_AVAILABLE_IN_2_28
|
|
111
111
|
gboolean g_socket_client_get_tls (GSocketClient *client);
|
|
112
112
|
GIO_AVAILABLE_IN_2_28
|
|
113
113
|
void g_socket_client_set_tls (GSocketClient *client,
|
|
114
|
-
|
|
114
|
+
gboolean tls);
|
|
115
115
|
GIO_DEPRECATED_IN_2_72
|
|
116
116
|
GTlsCertificateFlags g_socket_client_get_tls_validation_flags (GSocketClient *client);
|
|
117
117
|
GIO_DEPRECATED_IN_2_72
|
|
118
118
|
void g_socket_client_set_tls_validation_flags (GSocketClient *client,
|
|
119
|
-
|
|
119
|
+
GTlsCertificateFlags flags);
|
|
120
120
|
GIO_AVAILABLE_IN_2_36
|
|
121
121
|
GProxyResolver *g_socket_client_get_proxy_resolver (GSocketClient *client);
|
|
122
122
|
GIO_AVAILABLE_IN_2_36
|
|
@@ -130,20 +130,20 @@ GSocketConnection * g_socket_client_connect (GSocket
|
|
|
130
130
|
GError **error);
|
|
131
131
|
GIO_AVAILABLE_IN_ALL
|
|
132
132
|
GSocketConnection * g_socket_client_connect_to_host (GSocketClient *client,
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
const gchar *host_and_port,
|
|
134
|
+
guint16 default_port,
|
|
135
135
|
GCancellable *cancellable,
|
|
136
136
|
GError **error);
|
|
137
137
|
GIO_AVAILABLE_IN_ALL
|
|
138
138
|
GSocketConnection * g_socket_client_connect_to_service (GSocketClient *client,
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
const gchar *domain,
|
|
140
|
+
const gchar *service,
|
|
141
141
|
GCancellable *cancellable,
|
|
142
142
|
GError **error);
|
|
143
143
|
GIO_AVAILABLE_IN_2_26
|
|
144
144
|
GSocketConnection * g_socket_client_connect_to_uri (GSocketClient *client,
|
|
145
|
-
|
|
146
|
-
|
|
145
|
+
const gchar *uri,
|
|
146
|
+
guint16 default_port,
|
|
147
147
|
GCancellable *cancellable,
|
|
148
148
|
GError **error);
|
|
149
149
|
GIO_AVAILABLE_IN_ALL
|
|
@@ -158,8 +158,8 @@ GSocketConnection * g_socket_client_connect_finish (GSocket
|
|
|
158
158
|
GError **error);
|
|
159
159
|
GIO_AVAILABLE_IN_ALL
|
|
160
160
|
void g_socket_client_connect_to_host_async (GSocketClient *client,
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
const gchar *host_and_port,
|
|
162
|
+
guint16 default_port,
|
|
163
163
|
GCancellable *cancellable,
|
|
164
164
|
GAsyncReadyCallback callback,
|
|
165
165
|
gpointer user_data);
|
|
@@ -170,8 +170,8 @@ GSocketConnection * g_socket_client_connect_to_host_finish (GSocket
|
|
|
170
170
|
|
|
171
171
|
GIO_AVAILABLE_IN_ALL
|
|
172
172
|
void g_socket_client_connect_to_service_async (GSocketClient *client,
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
const gchar *domain,
|
|
174
|
+
const gchar *service,
|
|
175
175
|
GCancellable *cancellable,
|
|
176
176
|
GAsyncReadyCallback callback,
|
|
177
177
|
gpointer user_data);
|
|
@@ -181,8 +181,8 @@ GSocketConnection * g_socket_client_connect_to_service_finish (GSocket
|
|
|
181
181
|
GError **error);
|
|
182
182
|
GIO_AVAILABLE_IN_ALL
|
|
183
183
|
void g_socket_client_connect_to_uri_async (GSocketClient *client,
|
|
184
|
-
|
|
185
|
-
|
|
184
|
+
const gchar *uri,
|
|
185
|
+
guint16 default_port,
|
|
186
186
|
GCancellable *cancellable,
|
|
187
187
|
GAsyncReadyCallback callback,
|
|
188
188
|
gpointer user_data);
|
|
@@ -191,8 +191,8 @@ GSocketConnection * g_socket_client_connect_to_uri_finish (GSocket
|
|
|
191
191
|
GAsyncResult *result,
|
|
192
192
|
GError **error);
|
|
193
193
|
GIO_AVAILABLE_IN_ALL
|
|
194
|
-
void
|
|
195
|
-
|
|
194
|
+
void g_socket_client_add_application_proxy (GSocketClient *client,
|
|
195
|
+
const gchar *protocol);
|
|
196
196
|
|
|
197
197
|
G_END_DECLS
|
|
198
198
|
|
|
@@ -77,38 +77,38 @@ GIO_AVAILABLE_IN_2_32
|
|
|
77
77
|
gboolean g_socket_connection_is_connected (GSocketConnection *connection);
|
|
78
78
|
GIO_AVAILABLE_IN_2_32
|
|
79
79
|
gboolean g_socket_connection_connect (GSocketConnection *connection,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
GSocketAddress *address,
|
|
81
|
+
GCancellable *cancellable,
|
|
82
|
+
GError **error);
|
|
83
83
|
GIO_AVAILABLE_IN_2_32
|
|
84
84
|
void g_socket_connection_connect_async (GSocketConnection *connection,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
85
|
+
GSocketAddress *address,
|
|
86
|
+
GCancellable *cancellable,
|
|
87
|
+
GAsyncReadyCallback callback,
|
|
88
|
+
gpointer user_data);
|
|
89
89
|
GIO_AVAILABLE_IN_2_32
|
|
90
90
|
gboolean g_socket_connection_connect_finish (GSocketConnection *connection,
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
GAsyncResult *result,
|
|
92
|
+
GError **error);
|
|
93
93
|
|
|
94
94
|
GIO_AVAILABLE_IN_ALL
|
|
95
95
|
GSocket *g_socket_connection_get_socket (GSocketConnection *connection);
|
|
96
96
|
GIO_AVAILABLE_IN_ALL
|
|
97
97
|
GSocketAddress *g_socket_connection_get_local_address (GSocketConnection *connection,
|
|
98
|
-
|
|
98
|
+
GError **error);
|
|
99
99
|
GIO_AVAILABLE_IN_ALL
|
|
100
100
|
GSocketAddress *g_socket_connection_get_remote_address (GSocketConnection *connection,
|
|
101
|
-
|
|
101
|
+
GError **error);
|
|
102
102
|
|
|
103
103
|
GIO_AVAILABLE_IN_ALL
|
|
104
104
|
void g_socket_connection_factory_register_type (GType g_type,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
105
|
+
GSocketFamily family,
|
|
106
|
+
GSocketType type,
|
|
107
|
+
gint protocol);
|
|
108
108
|
GIO_AVAILABLE_IN_ALL
|
|
109
109
|
GType g_socket_connection_factory_lookup_type (GSocketFamily family,
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
GSocketType type,
|
|
111
|
+
gint protocol_id);
|
|
112
112
|
GIO_AVAILABLE_IN_ALL
|
|
113
113
|
GSocketConnection *g_socket_connection_factory_create_connection (GSocket *socket);
|
|
114
114
|
|
|
@@ -70,11 +70,11 @@ struct _GSocketControlMessageClass
|
|
|
70
70
|
int (* get_level) (GSocketControlMessage *message);
|
|
71
71
|
int (* get_type) (GSocketControlMessage *message);
|
|
72
72
|
void (* serialize) (GSocketControlMessage *message,
|
|
73
|
-
|
|
73
|
+
gpointer data);
|
|
74
74
|
GSocketControlMessage *(* deserialize) (int level,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
int type,
|
|
76
|
+
gsize size,
|
|
77
|
+
gpointer data);
|
|
78
78
|
|
|
79
79
|
/*< private >*/
|
|
80
80
|
|
|
@@ -102,12 +102,12 @@ GIO_AVAILABLE_IN_ALL
|
|
|
102
102
|
int g_socket_control_message_get_msg_type (GSocketControlMessage *message);
|
|
103
103
|
GIO_AVAILABLE_IN_ALL
|
|
104
104
|
void g_socket_control_message_serialize (GSocketControlMessage *message,
|
|
105
|
-
|
|
105
|
+
gpointer data);
|
|
106
106
|
GIO_AVAILABLE_IN_ALL
|
|
107
107
|
GSocketControlMessage *g_socket_control_message_deserialize (int level,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
108
|
+
int type,
|
|
109
|
+
gsize size,
|
|
110
|
+
gpointer data);
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
G_END_DECLS
|
|
@@ -89,34 +89,34 @@ GSocketListener * g_socket_listener_new (void);
|
|
|
89
89
|
|
|
90
90
|
GIO_AVAILABLE_IN_ALL
|
|
91
91
|
void g_socket_listener_set_backlog (GSocketListener *listener,
|
|
92
|
-
|
|
92
|
+
int listen_backlog);
|
|
93
93
|
|
|
94
94
|
GIO_AVAILABLE_IN_ALL
|
|
95
95
|
gboolean g_socket_listener_add_socket (GSocketListener *listener,
|
|
96
96
|
GSocket *socket,
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
GObject *source_object,
|
|
98
|
+
GError **error);
|
|
99
99
|
GIO_AVAILABLE_IN_ALL
|
|
100
100
|
gboolean g_socket_listener_add_address (GSocketListener *listener,
|
|
101
101
|
GSocketAddress *address,
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
102
|
+
GSocketType type,
|
|
103
|
+
GSocketProtocol protocol,
|
|
104
|
+
GObject *source_object,
|
|
105
105
|
GSocketAddress **effective_address,
|
|
106
|
-
|
|
106
|
+
GError **error);
|
|
107
107
|
GIO_AVAILABLE_IN_ALL
|
|
108
108
|
gboolean g_socket_listener_add_inet_port (GSocketListener *listener,
|
|
109
109
|
guint16 port,
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
GObject *source_object,
|
|
111
|
+
GError **error);
|
|
112
112
|
GIO_AVAILABLE_IN_ALL
|
|
113
113
|
guint16 g_socket_listener_add_any_inet_port (GSocketListener *listener,
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
GObject *source_object,
|
|
115
|
+
GError **error);
|
|
116
116
|
|
|
117
117
|
GIO_AVAILABLE_IN_ALL
|
|
118
118
|
GSocket * g_socket_listener_accept_socket (GSocketListener *listener,
|
|
119
|
-
|
|
119
|
+
GObject **source_object,
|
|
120
120
|
GCancellable *cancellable,
|
|
121
121
|
GError **error);
|
|
122
122
|
GIO_AVAILABLE_IN_ALL
|
|
@@ -127,13 +127,13 @@ void g_socket_listener_accept_socket_async (GSocket
|
|
|
127
127
|
GIO_AVAILABLE_IN_ALL
|
|
128
128
|
GSocket * g_socket_listener_accept_socket_finish (GSocketListener *listener,
|
|
129
129
|
GAsyncResult *result,
|
|
130
|
-
|
|
130
|
+
GObject **source_object,
|
|
131
131
|
GError **error);
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
GIO_AVAILABLE_IN_ALL
|
|
135
135
|
GSocketConnection * g_socket_listener_accept (GSocketListener *listener,
|
|
136
|
-
|
|
136
|
+
GObject **source_object,
|
|
137
137
|
GCancellable *cancellable,
|
|
138
138
|
GError **error);
|
|
139
139
|
|
|
@@ -146,7 +146,7 @@ void g_socket_listener_accept_async (GSocket
|
|
|
146
146
|
GIO_AVAILABLE_IN_ALL
|
|
147
147
|
GSocketConnection * g_socket_listener_accept_finish (GSocketListener *listener,
|
|
148
148
|
GAsyncResult *result,
|
|
149
|
-
|
|
149
|
+
GObject **source_object,
|
|
150
150
|
GError **error);
|
|
151
151
|
|
|
152
152
|
GIO_AVAILABLE_IN_ALL
|
|
@@ -35,9 +35,9 @@ GType g_srv_target_get_type (void);
|
|
|
35
35
|
|
|
36
36
|
GIO_AVAILABLE_IN_ALL
|
|
37
37
|
GSrvTarget *g_srv_target_new (const gchar *hostname,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
guint16 port,
|
|
39
|
+
guint16 priority,
|
|
40
|
+
guint16 weight);
|
|
41
41
|
GIO_AVAILABLE_IN_ALL
|
|
42
42
|
GSrvTarget *g_srv_target_copy (GSrvTarget *target);
|
|
43
43
|
GIO_AVAILABLE_IN_ALL
|
|
@@ -62,7 +62,7 @@ GType g_tcp_connection_get_type (void);
|
|
|
62
62
|
|
|
63
63
|
GIO_AVAILABLE_IN_ALL
|
|
64
64
|
void g_tcp_connection_set_graceful_disconnect (GTcpConnection *connection,
|
|
65
|
-
|
|
65
|
+
gboolean graceful_disconnect);
|
|
66
66
|
GIO_AVAILABLE_IN_ALL
|
|
67
67
|
gboolean g_tcp_connection_get_graceful_disconnect (GTcpConnection *connection);
|
|
68
68
|
|
|
@@ -62,7 +62,7 @@ GType g_tcp_wrapper_connection_get_type (void);
|
|
|
62
62
|
|
|
63
63
|
GIO_AVAILABLE_IN_ALL
|
|
64
64
|
GSocketConnection *g_tcp_wrapper_connection_new (GIOStream *base_io_stream,
|
|
65
|
-
|
|
65
|
+
GSocket *socket);
|
|
66
66
|
GIO_AVAILABLE_IN_ALL
|
|
67
67
|
GIOStream *g_tcp_wrapper_connection_get_base_io_stream (GTcpWrapperConnection *conn);
|
|
68
68
|
|
|
@@ -40,7 +40,7 @@ G_BEGIN_DECLS
|
|
|
40
40
|
|
|
41
41
|
#define G_TYPE_TLS_BACKEND (g_tls_backend_get_type ())
|
|
42
42
|
#define G_TLS_BACKEND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_TLS_BACKEND, GTlsBackend))
|
|
43
|
-
#define G_IS_TLS_BACKEND(obj)
|
|
43
|
+
#define G_IS_TLS_BACKEND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_TLS_BACKEND))
|
|
44
44
|
#define G_TLS_BACKEND_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_TLS_BACKEND, GTlsBackendInterface))
|
|
45
45
|
|
|
46
46
|
typedef struct _GTlsBackend GTlsBackend;
|
|
@@ -50,8 +50,8 @@ struct _GTlsCertificateClass
|
|
|
50
50
|
GObjectClass parent_class;
|
|
51
51
|
|
|
52
52
|
GTlsCertificateFlags (* verify) (GTlsCertificate *cert,
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
GSocketConnectable *identity,
|
|
54
|
+
GTlsCertificate *trusted_ca);
|
|
55
55
|
|
|
56
56
|
/*< private >*/
|
|
57
57
|
/* Padding for future expansion */
|
|
@@ -63,8 +63,8 @@ GType g_tls_certificate_get_type (void);
|
|
|
63
63
|
|
|
64
64
|
GIO_AVAILABLE_IN_ALL
|
|
65
65
|
GTlsCertificate *g_tls_certificate_new_from_pem (const gchar *data,
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
gssize length,
|
|
67
|
+
GError **error);
|
|
68
68
|
GIO_AVAILABLE_IN_2_72
|
|
69
69
|
GTlsCertificate *g_tls_certificate_new_from_pkcs12 (const guint8 *data,
|
|
70
70
|
gsize length,
|
|
@@ -76,11 +76,11 @@ GTlsCertificate *g_tls_certificate_new_from_file_with_password (const gchar
|
|
|
76
76
|
GError **error);
|
|
77
77
|
GIO_AVAILABLE_IN_ALL
|
|
78
78
|
GTlsCertificate *g_tls_certificate_new_from_file (const gchar *file,
|
|
79
|
-
|
|
79
|
+
GError **error);
|
|
80
80
|
GIO_AVAILABLE_IN_ALL
|
|
81
81
|
GTlsCertificate *g_tls_certificate_new_from_files (const gchar *cert_file,
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
const gchar *key_file,
|
|
83
|
+
GError **error);
|
|
84
84
|
GIO_AVAILABLE_IN_2_68
|
|
85
85
|
GTlsCertificate *g_tls_certificate_new_from_pkcs11_uris (const gchar *pkcs11_uri,
|
|
86
86
|
const gchar *private_key_pkcs11_uri,
|
|
@@ -88,15 +88,15 @@ GTlsCertificate *g_tls_certificate_new_from_pkcs11_uris (const gchar
|
|
|
88
88
|
|
|
89
89
|
GIO_AVAILABLE_IN_ALL
|
|
90
90
|
GList *g_tls_certificate_list_new_from_file (const gchar *file,
|
|
91
|
-
|
|
91
|
+
GError **error);
|
|
92
92
|
|
|
93
93
|
GIO_AVAILABLE_IN_ALL
|
|
94
94
|
GTlsCertificate *g_tls_certificate_get_issuer (GTlsCertificate *cert);
|
|
95
95
|
|
|
96
96
|
GIO_AVAILABLE_IN_ALL
|
|
97
97
|
GTlsCertificateFlags g_tls_certificate_verify (GTlsCertificate *cert,
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
GSocketConnectable *identity,
|
|
99
|
+
GTlsCertificate *trusted_ca);
|
|
100
100
|
|
|
101
101
|
GIO_AVAILABLE_IN_2_34
|
|
102
102
|
gboolean g_tls_certificate_is_same (GTlsCertificate *cert_one,
|
|
@@ -58,24 +58,24 @@ GType g_tls_client_connection_get_type (void);
|
|
|
58
58
|
|
|
59
59
|
GIO_AVAILABLE_IN_ALL
|
|
60
60
|
GIOStream * g_tls_client_connection_new (GIOStream *base_io_stream,
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
GSocketConnectable *server_identity,
|
|
62
|
+
GError **error);
|
|
63
63
|
|
|
64
64
|
GIO_DEPRECATED_IN_2_72
|
|
65
65
|
GTlsCertificateFlags g_tls_client_connection_get_validation_flags (GTlsClientConnection *conn);
|
|
66
66
|
GIO_DEPRECATED_IN_2_72
|
|
67
67
|
void g_tls_client_connection_set_validation_flags (GTlsClientConnection *conn,
|
|
68
|
-
|
|
68
|
+
GTlsCertificateFlags flags);
|
|
69
69
|
GIO_AVAILABLE_IN_ALL
|
|
70
70
|
GSocketConnectable *g_tls_client_connection_get_server_identity (GTlsClientConnection *conn);
|
|
71
71
|
GIO_AVAILABLE_IN_ALL
|
|
72
72
|
void g_tls_client_connection_set_server_identity (GTlsClientConnection *conn,
|
|
73
|
-
|
|
73
|
+
GSocketConnectable *identity);
|
|
74
74
|
GIO_DEPRECATED_IN_2_56
|
|
75
75
|
gboolean g_tls_client_connection_get_use_ssl3 (GTlsClientConnection *conn);
|
|
76
76
|
GIO_DEPRECATED_IN_2_56
|
|
77
77
|
void g_tls_client_connection_set_use_ssl3 (GTlsClientConnection *conn,
|
|
78
|
-
|
|
78
|
+
gboolean use_ssl3);
|
|
79
79
|
GIO_AVAILABLE_IN_ALL
|
|
80
80
|
GList * g_tls_client_connection_get_accepted_cas (GTlsClientConnection *conn);
|
|
81
81
|
|
|
@@ -65,22 +65,22 @@ struct _GTlsConnectionClass
|
|
|
65
65
|
|
|
66
66
|
/* signals */
|
|
67
67
|
gboolean ( *accept_certificate) (GTlsConnection *connection,
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
GTlsCertificate *peer_cert,
|
|
69
|
+
GTlsCertificateFlags errors);
|
|
70
70
|
|
|
71
71
|
/* methods */
|
|
72
72
|
gboolean ( *handshake ) (GTlsConnection *conn,
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
GCancellable *cancellable,
|
|
74
|
+
GError **error);
|
|
75
75
|
|
|
76
76
|
void ( *handshake_async ) (GTlsConnection *conn,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
77
|
+
int io_priority,
|
|
78
|
+
GCancellable *cancellable,
|
|
79
|
+
GAsyncReadyCallback callback,
|
|
80
|
+
gpointer user_data);
|
|
81
81
|
gboolean ( *handshake_finish ) (GTlsConnection *conn,
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
GAsyncResult *result,
|
|
83
|
+
GError **error);
|
|
84
84
|
|
|
85
85
|
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
|
86
86
|
gboolean ( *get_binding_data) (GTlsConnection *conn,
|
|
@@ -107,7 +107,7 @@ gboolean g_tls_connection_get_use_system_certdb (GTlsConnecti
|
|
|
107
107
|
|
|
108
108
|
GIO_AVAILABLE_IN_ALL
|
|
109
109
|
void g_tls_connection_set_database (GTlsConnection *conn,
|
|
110
|
-
|
|
110
|
+
GTlsDatabase *database);
|
|
111
111
|
GIO_AVAILABLE_IN_ALL
|
|
112
112
|
GTlsDatabase * g_tls_connection_get_database (GTlsConnection *conn);
|
|
113
113
|
|
|
@@ -130,14 +130,14 @@ GTlsCertificateFlags g_tls_connection_get_peer_certificate_errors (GTlsConnecti
|
|
|
130
130
|
|
|
131
131
|
GIO_AVAILABLE_IN_ALL
|
|
132
132
|
void g_tls_connection_set_require_close_notify (GTlsConnection *conn,
|
|
133
|
-
|
|
133
|
+
gboolean require_close_notify);
|
|
134
134
|
GIO_AVAILABLE_IN_ALL
|
|
135
135
|
gboolean g_tls_connection_get_require_close_notify (GTlsConnection *conn);
|
|
136
136
|
|
|
137
137
|
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
|
138
138
|
GIO_DEPRECATED_IN_2_60
|
|
139
139
|
void g_tls_connection_set_rehandshake_mode (GTlsConnection *conn,
|
|
140
|
-
|
|
140
|
+
GTlsRehandshakeMode mode);
|
|
141
141
|
GIO_DEPRECATED_IN_2_60
|
|
142
142
|
GTlsRehandshakeMode g_tls_connection_get_rehandshake_mode (GTlsConnection *conn);
|
|
143
143
|
G_GNUC_END_IGNORE_DEPRECATIONS
|
|
@@ -159,19 +159,19 @@ G_GNUC_END_IGNORE_DEPRECATIONS
|
|
|
159
159
|
|
|
160
160
|
GIO_AVAILABLE_IN_ALL
|
|
161
161
|
gboolean g_tls_connection_handshake (GTlsConnection *conn,
|
|
162
|
-
|
|
163
|
-
|
|
162
|
+
GCancellable *cancellable,
|
|
163
|
+
GError **error);
|
|
164
164
|
|
|
165
165
|
GIO_AVAILABLE_IN_ALL
|
|
166
166
|
void g_tls_connection_handshake_async (GTlsConnection *conn,
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
167
|
+
int io_priority,
|
|
168
|
+
GCancellable *cancellable,
|
|
169
|
+
GAsyncReadyCallback callback,
|
|
170
|
+
gpointer user_data);
|
|
171
171
|
GIO_AVAILABLE_IN_ALL
|
|
172
172
|
gboolean g_tls_connection_handshake_finish (GTlsConnection *conn,
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
GAsyncResult *result,
|
|
174
|
+
GError **error);
|
|
175
175
|
|
|
176
176
|
GIO_AVAILABLE_IN_2_70
|
|
177
177
|
GTlsProtocolVersion g_tls_connection_get_protocol_version (GTlsConnection *conn);
|
|
@@ -206,8 +206,8 @@ GQuark g_tls_channel_binding_error_quark (void);
|
|
|
206
206
|
/*< protected >*/
|
|
207
207
|
GIO_AVAILABLE_IN_ALL
|
|
208
208
|
gboolean g_tls_connection_emit_accept_certificate (GTlsConnection *conn,
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
GTlsCertificate *peer_cert,
|
|
210
|
+
GTlsCertificateFlags errors);
|
|
211
211
|
|
|
212
212
|
G_END_DECLS
|
|
213
213
|
|
|
@@ -55,8 +55,8 @@ GType g_tls_server_connection_get_type (void);
|
|
|
55
55
|
|
|
56
56
|
GIO_AVAILABLE_IN_ALL
|
|
57
57
|
GIOStream * g_tls_server_connection_new (GIOStream *base_io_stream,
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
GTlsCertificate *certificate,
|
|
59
|
+
GError **error);
|
|
60
60
|
|
|
61
61
|
G_END_DECLS
|
|
62
62
|
|
|
@@ -92,26 +92,26 @@ struct _GVfsClass
|
|
|
92
92
|
|
|
93
93
|
/*< private >*/
|
|
94
94
|
void (* local_file_add_info) (GVfs *vfs,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
95
|
+
const char *filename,
|
|
96
|
+
guint64 device,
|
|
97
|
+
GFileAttributeMatcher *attribute_matcher,
|
|
98
|
+
GFileInfo *info,
|
|
99
|
+
GCancellable *cancellable,
|
|
100
|
+
gpointer *extra_data,
|
|
101
|
+
GDestroyNotify *free_extra_data);
|
|
102
102
|
void (* add_writable_namespaces) (GVfs *vfs,
|
|
103
|
-
|
|
103
|
+
GFileAttributeInfoList *list);
|
|
104
104
|
gboolean (* local_file_set_attributes) (GVfs *vfs,
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
const char *filename,
|
|
106
|
+
GFileInfo *info,
|
|
107
107
|
GFileQueryInfoFlags flags,
|
|
108
108
|
GCancellable *cancellable,
|
|
109
|
-
|
|
109
|
+
GError **error);
|
|
110
110
|
void (* local_file_removed) (GVfs *vfs,
|
|
111
|
-
|
|
111
|
+
const char *filename);
|
|
112
112
|
void (* local_file_moved) (GVfs *vfs,
|
|
113
|
-
|
|
114
|
-
|
|
113
|
+
const char *source,
|
|
114
|
+
const char *dest);
|
|
115
115
|
GIcon * (* deserialize_icon) (GVfs *vfs,
|
|
116
116
|
GVariant *value);
|
|
117
117
|
/* Padding for future expansion */
|
|
@@ -206,15 +206,15 @@ GIO_AVAILABLE_IN_ALL
|
|
|
206
206
|
gboolean g_volume_should_automount (GVolume *volume);
|
|
207
207
|
GIO_AVAILABLE_IN_ALL
|
|
208
208
|
void g_volume_mount (GVolume *volume,
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
209
|
+
GMountMountFlags flags,
|
|
210
|
+
GMountOperation *mount_operation,
|
|
211
|
+
GCancellable *cancellable,
|
|
212
|
+
GAsyncReadyCallback callback,
|
|
213
|
+
gpointer user_data);
|
|
214
214
|
GIO_AVAILABLE_IN_ALL
|
|
215
215
|
gboolean g_volume_mount_finish (GVolume *volume,
|
|
216
|
-
|
|
217
|
-
|
|
216
|
+
GAsyncResult *result,
|
|
217
|
+
GError **error);
|
|
218
218
|
GIO_DEPRECATED_FOR(g_volume_eject_with_operation)
|
|
219
219
|
void g_volume_eject (GVolume *volume,
|
|
220
220
|
GMountUnmountFlags flags,
|
|
@@ -228,7 +228,7 @@ gboolean g_volume_eject_finish (GVolume *volume,
|
|
|
228
228
|
GError **error);
|
|
229
229
|
GIO_AVAILABLE_IN_ALL
|
|
230
230
|
char * g_volume_get_identifier (GVolume *volume,
|
|
231
|
-
|
|
231
|
+
const char *kind);
|
|
232
232
|
GIO_AVAILABLE_IN_ALL
|
|
233
233
|
char ** g_volume_enumerate_identifiers (GVolume *volume);
|
|
234
234
|
|