@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
|
@@ -55,20 +55,20 @@ struct _GSeekableIface
|
|
|
55
55
|
|
|
56
56
|
/* Virtual Table */
|
|
57
57
|
|
|
58
|
-
goffset (* tell)
|
|
58
|
+
goffset (* tell) (GSeekable *seekable);
|
|
59
59
|
|
|
60
60
|
gboolean (* can_seek) (GSeekable *seekable);
|
|
61
|
-
gboolean (* seek)
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
61
|
+
gboolean (* seek) (GSeekable *seekable,
|
|
62
|
+
goffset offset,
|
|
63
|
+
GSeekType type,
|
|
64
|
+
GCancellable *cancellable,
|
|
65
|
+
GError **error);
|
|
66
66
|
|
|
67
67
|
gboolean (* can_truncate) (GSeekable *seekable);
|
|
68
68
|
gboolean (* truncate_fn) (GSeekable *seekable,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
goffset offset,
|
|
70
|
+
GCancellable *cancellable,
|
|
71
|
+
GError **error);
|
|
72
72
|
|
|
73
73
|
/* TODO: Async seek/truncate */
|
|
74
74
|
};
|
|
@@ -82,17 +82,17 @@ GIO_AVAILABLE_IN_ALL
|
|
|
82
82
|
gboolean g_seekable_can_seek (GSeekable *seekable);
|
|
83
83
|
GIO_AVAILABLE_IN_ALL
|
|
84
84
|
gboolean g_seekable_seek (GSeekable *seekable,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
85
|
+
goffset offset,
|
|
86
|
+
GSeekType type,
|
|
87
|
+
GCancellable *cancellable,
|
|
88
|
+
GError **error);
|
|
89
89
|
GIO_AVAILABLE_IN_ALL
|
|
90
90
|
gboolean g_seekable_can_truncate (GSeekable *seekable);
|
|
91
91
|
GIO_AVAILABLE_IN_ALL
|
|
92
92
|
gboolean g_seekable_truncate (GSeekable *seekable,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
93
|
+
goffset offset,
|
|
94
|
+
GCancellable *cancellable,
|
|
95
|
+
GError **error);
|
|
96
96
|
|
|
97
97
|
G_END_DECLS
|
|
98
98
|
|
|
@@ -46,27 +46,27 @@ GType g_simple_async_result_get_type (void);
|
|
|
46
46
|
|
|
47
47
|
GIO_DEPRECATED_IN_2_46_FOR(g_task_new)
|
|
48
48
|
GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
GAsyncReadyCallback callback,
|
|
50
|
+
gpointer user_data,
|
|
51
|
+
gpointer source_tag);
|
|
52
52
|
GIO_DEPRECATED_IN_2_46_FOR(g_task_new)
|
|
53
53
|
GSimpleAsyncResult *g_simple_async_result_new_error (GObject *source_object,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
54
|
+
GAsyncReadyCallback callback,
|
|
55
|
+
gpointer user_data,
|
|
56
|
+
GQuark domain,
|
|
57
|
+
gint code,
|
|
58
|
+
const char *format,
|
|
59
|
+
...) G_GNUC_PRINTF (6, 7);
|
|
60
60
|
GIO_DEPRECATED_IN_2_46_FOR(g_task_new)
|
|
61
61
|
GSimpleAsyncResult *g_simple_async_result_new_from_error (GObject *source_object,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
GAsyncReadyCallback callback,
|
|
63
|
+
gpointer user_data,
|
|
64
|
+
const GError *error);
|
|
65
65
|
GIO_DEPRECATED_IN_2_46_FOR(g_task_new)
|
|
66
66
|
GSimpleAsyncResult *g_simple_async_result_new_take_error (GObject *source_object,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
GAsyncReadyCallback callback,
|
|
68
|
+
gpointer user_data,
|
|
69
|
+
GError *error);
|
|
70
70
|
|
|
71
71
|
GIO_DEPRECATED_IN_2_46
|
|
72
72
|
void g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult *simple,
|
|
@@ -96,38 +96,38 @@ GIO_DEPRECATED_IN_2_46
|
|
|
96
96
|
gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple);
|
|
97
97
|
GIO_DEPRECATED_IN_2_46
|
|
98
98
|
void g_simple_async_result_set_handle_cancellation (GSimpleAsyncResult *simple,
|
|
99
|
-
|
|
99
|
+
gboolean handle_cancellation);
|
|
100
100
|
GIO_DEPRECATED_IN_2_46
|
|
101
101
|
void g_simple_async_result_complete (GSimpleAsyncResult *simple);
|
|
102
102
|
GIO_DEPRECATED_IN_2_46
|
|
103
103
|
void g_simple_async_result_complete_in_idle (GSimpleAsyncResult *simple);
|
|
104
104
|
GIO_DEPRECATED_IN_2_46
|
|
105
105
|
void g_simple_async_result_run_in_thread (GSimpleAsyncResult *simple,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
GSimpleAsyncThreadFunc func,
|
|
107
|
+
int io_priority,
|
|
108
|
+
GCancellable *cancellable);
|
|
109
109
|
GIO_DEPRECATED_IN_2_46
|
|
110
110
|
void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple,
|
|
111
|
-
|
|
111
|
+
const GError *error);
|
|
112
112
|
GIO_DEPRECATED_IN_2_46
|
|
113
113
|
void g_simple_async_result_take_error (GSimpleAsyncResult *simple,
|
|
114
|
-
|
|
114
|
+
GError *error);
|
|
115
115
|
GIO_DEPRECATED_IN_2_46
|
|
116
116
|
gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple,
|
|
117
|
-
|
|
117
|
+
GError **dest);
|
|
118
118
|
GIO_DEPRECATED_IN_2_46
|
|
119
119
|
void g_simple_async_result_set_error (GSimpleAsyncResult *simple,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
120
|
+
GQuark domain,
|
|
121
|
+
gint code,
|
|
122
|
+
const char *format,
|
|
123
|
+
...) G_GNUC_PRINTF (4, 5);
|
|
124
124
|
GIO_DEPRECATED_IN_2_46
|
|
125
125
|
void g_simple_async_result_set_error_va (GSimpleAsyncResult *simple,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
126
|
+
GQuark domain,
|
|
127
|
+
gint code,
|
|
128
|
+
const char *format,
|
|
129
|
+
va_list args)
|
|
130
|
+
G_GNUC_PRINTF(4, 0);
|
|
131
131
|
GIO_DEPRECATED_IN_2_46
|
|
132
132
|
gboolean g_simple_async_result_is_valid (GAsyncResult *result,
|
|
133
133
|
GObject *source,
|
|
@@ -135,17 +135,17 @@ gboolean g_simple_async_result_is_valid (GAsyncResult
|
|
|
135
135
|
|
|
136
136
|
GIO_DEPRECATED_IN_2_46_FOR(g_task_report_error)
|
|
137
137
|
void g_simple_async_report_error_in_idle (GObject *object,
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
138
|
+
GAsyncReadyCallback callback,
|
|
139
|
+
gpointer user_data,
|
|
140
|
+
GQuark domain,
|
|
141
|
+
gint code,
|
|
142
|
+
const char *format,
|
|
143
|
+
...) G_GNUC_PRINTF(6, 7);
|
|
144
144
|
GIO_DEPRECATED_IN_2_46_FOR(g_task_report_error)
|
|
145
145
|
void g_simple_async_report_gerror_in_idle (GObject *object,
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
146
|
+
GAsyncReadyCallback callback,
|
|
147
|
+
gpointer user_data,
|
|
148
|
+
const GError *error);
|
|
149
149
|
GIO_DEPRECATED_IN_2_46_FOR(g_task_report_error)
|
|
150
150
|
void g_simple_async_report_take_gerror_in_idle (GObject *object,
|
|
151
151
|
GAsyncReadyCallback callback,
|
|
@@ -77,12 +77,12 @@ GIO_AVAILABLE_IN_ALL
|
|
|
77
77
|
GType g_socket_get_type (void);
|
|
78
78
|
GIO_AVAILABLE_IN_ALL
|
|
79
79
|
GSocket * g_socket_new (GSocketFamily family,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
GSocketType type,
|
|
81
|
+
GSocketProtocol protocol,
|
|
82
|
+
GError **error);
|
|
83
83
|
GIO_AVAILABLE_IN_ALL
|
|
84
84
|
GSocket * g_socket_new_from_fd (gint fd,
|
|
85
|
-
|
|
85
|
+
GError **error);
|
|
86
86
|
GIO_AVAILABLE_IN_ALL
|
|
87
87
|
int g_socket_get_fd (GSocket *socket);
|
|
88
88
|
GIO_AVAILABLE_IN_ALL
|
|
@@ -93,30 +93,30 @@ GIO_AVAILABLE_IN_ALL
|
|
|
93
93
|
GSocketProtocol g_socket_get_protocol (GSocket *socket);
|
|
94
94
|
GIO_AVAILABLE_IN_ALL
|
|
95
95
|
GSocketAddress * g_socket_get_local_address (GSocket *socket,
|
|
96
|
-
|
|
96
|
+
GError **error);
|
|
97
97
|
GIO_AVAILABLE_IN_ALL
|
|
98
98
|
GSocketAddress * g_socket_get_remote_address (GSocket *socket,
|
|
99
|
-
|
|
99
|
+
GError **error);
|
|
100
100
|
GIO_AVAILABLE_IN_ALL
|
|
101
101
|
void g_socket_set_blocking (GSocket *socket,
|
|
102
|
-
|
|
102
|
+
gboolean blocking);
|
|
103
103
|
GIO_AVAILABLE_IN_ALL
|
|
104
104
|
gboolean g_socket_get_blocking (GSocket *socket);
|
|
105
105
|
GIO_AVAILABLE_IN_ALL
|
|
106
106
|
void g_socket_set_keepalive (GSocket *socket,
|
|
107
|
-
|
|
107
|
+
gboolean keepalive);
|
|
108
108
|
GIO_AVAILABLE_IN_ALL
|
|
109
109
|
gboolean g_socket_get_keepalive (GSocket *socket);
|
|
110
110
|
GIO_AVAILABLE_IN_ALL
|
|
111
111
|
gint g_socket_get_listen_backlog (GSocket *socket);
|
|
112
112
|
GIO_AVAILABLE_IN_ALL
|
|
113
113
|
void g_socket_set_listen_backlog (GSocket *socket,
|
|
114
|
-
|
|
114
|
+
gint backlog);
|
|
115
115
|
GIO_AVAILABLE_IN_ALL
|
|
116
116
|
guint g_socket_get_timeout (GSocket *socket);
|
|
117
117
|
GIO_AVAILABLE_IN_ALL
|
|
118
118
|
void g_socket_set_timeout (GSocket *socket,
|
|
119
|
-
|
|
119
|
+
guint timeout);
|
|
120
120
|
|
|
121
121
|
GIO_AVAILABLE_IN_2_32
|
|
122
122
|
guint g_socket_get_ttl (GSocket *socket);
|
|
@@ -128,13 +128,13 @@ GIO_AVAILABLE_IN_2_32
|
|
|
128
128
|
gboolean g_socket_get_broadcast (GSocket *socket);
|
|
129
129
|
GIO_AVAILABLE_IN_2_32
|
|
130
130
|
void g_socket_set_broadcast (GSocket *socket,
|
|
131
|
-
gboolean
|
|
131
|
+
gboolean broadcast);
|
|
132
132
|
|
|
133
133
|
GIO_AVAILABLE_IN_2_32
|
|
134
134
|
gboolean g_socket_get_multicast_loopback (GSocket *socket);
|
|
135
135
|
GIO_AVAILABLE_IN_2_32
|
|
136
136
|
void g_socket_set_multicast_loopback (GSocket *socket,
|
|
137
|
-
gboolean
|
|
137
|
+
gboolean loopback);
|
|
138
138
|
GIO_AVAILABLE_IN_2_32
|
|
139
139
|
guint g_socket_get_multicast_ttl (GSocket *socket);
|
|
140
140
|
GIO_AVAILABLE_IN_2_32
|
|
@@ -144,9 +144,9 @@ GIO_AVAILABLE_IN_ALL
|
|
|
144
144
|
gboolean g_socket_is_connected (GSocket *socket);
|
|
145
145
|
GIO_AVAILABLE_IN_ALL
|
|
146
146
|
gboolean g_socket_bind (GSocket *socket,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
147
|
+
GSocketAddress *address,
|
|
148
|
+
gboolean allow_reuse,
|
|
149
|
+
GError **error);
|
|
150
150
|
GIO_AVAILABLE_IN_2_32
|
|
151
151
|
gboolean g_socket_join_multicast_group (GSocket *socket,
|
|
152
152
|
GInetAddress *group,
|
|
@@ -173,43 +173,43 @@ gboolean g_socket_leave_multicast_group_ssm (GSocket
|
|
|
173
173
|
GError **error);
|
|
174
174
|
GIO_AVAILABLE_IN_ALL
|
|
175
175
|
gboolean g_socket_connect (GSocket *socket,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
176
|
+
GSocketAddress *address,
|
|
177
|
+
GCancellable *cancellable,
|
|
178
|
+
GError **error);
|
|
179
179
|
GIO_AVAILABLE_IN_ALL
|
|
180
180
|
gboolean g_socket_check_connect_result (GSocket *socket,
|
|
181
|
-
|
|
181
|
+
GError **error);
|
|
182
182
|
|
|
183
183
|
GIO_AVAILABLE_IN_ALL
|
|
184
184
|
gssize g_socket_get_available_bytes (GSocket *socket);
|
|
185
185
|
|
|
186
186
|
GIO_AVAILABLE_IN_ALL
|
|
187
187
|
GIOCondition g_socket_condition_check (GSocket *socket,
|
|
188
|
-
|
|
188
|
+
GIOCondition condition);
|
|
189
189
|
GIO_AVAILABLE_IN_ALL
|
|
190
190
|
gboolean g_socket_condition_wait (GSocket *socket,
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
191
|
+
GIOCondition condition,
|
|
192
|
+
GCancellable *cancellable,
|
|
193
|
+
GError **error);
|
|
194
194
|
GIO_AVAILABLE_IN_2_32
|
|
195
195
|
gboolean g_socket_condition_timed_wait (GSocket *socket,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
196
|
+
GIOCondition condition,
|
|
197
|
+
gint64 timeout_us,
|
|
198
|
+
GCancellable *cancellable,
|
|
199
|
+
GError **error);
|
|
200
200
|
GIO_AVAILABLE_IN_ALL
|
|
201
201
|
GSocket * g_socket_accept (GSocket *socket,
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
GCancellable *cancellable,
|
|
203
|
+
GError **error);
|
|
204
204
|
GIO_AVAILABLE_IN_ALL
|
|
205
205
|
gboolean g_socket_listen (GSocket *socket,
|
|
206
|
-
|
|
206
|
+
GError **error);
|
|
207
207
|
GIO_AVAILABLE_IN_ALL
|
|
208
208
|
gssize g_socket_receive (GSocket *socket,
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
209
|
+
gchar *buffer,
|
|
210
|
+
gsize size,
|
|
211
|
+
GCancellable *cancellable,
|
|
212
|
+
GError **error);
|
|
213
213
|
GIO_AVAILABLE_IN_2_80
|
|
214
214
|
GBytes * g_socket_receive_bytes (GSocket *socket,
|
|
215
215
|
gsize size,
|
|
@@ -218,11 +218,11 @@ GBytes * g_socket_receive_bytes (GSocket
|
|
|
218
218
|
GError **error);
|
|
219
219
|
GIO_AVAILABLE_IN_ALL
|
|
220
220
|
gssize g_socket_receive_from (GSocket *socket,
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
221
|
+
GSocketAddress **address,
|
|
222
|
+
gchar *buffer,
|
|
223
|
+
gsize size,
|
|
224
|
+
GCancellable *cancellable,
|
|
225
|
+
GError **error);
|
|
226
226
|
GIO_AVAILABLE_IN_2_80
|
|
227
227
|
GBytes * g_socket_receive_bytes_from (GSocket *socket,
|
|
228
228
|
GSocketAddress **address,
|
|
@@ -232,37 +232,37 @@ GBytes * g_socket_receive_bytes_from (GSocket
|
|
|
232
232
|
GError **error);
|
|
233
233
|
GIO_AVAILABLE_IN_ALL
|
|
234
234
|
gssize g_socket_send (GSocket *socket,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
235
|
+
const gchar *buffer,
|
|
236
|
+
gsize size,
|
|
237
|
+
GCancellable *cancellable,
|
|
238
|
+
GError **error);
|
|
239
239
|
GIO_AVAILABLE_IN_ALL
|
|
240
240
|
gssize g_socket_send_to (GSocket *socket,
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
241
|
+
GSocketAddress *address,
|
|
242
|
+
const gchar *buffer,
|
|
243
|
+
gsize size,
|
|
244
|
+
GCancellable *cancellable,
|
|
245
|
+
GError **error);
|
|
246
246
|
GIO_AVAILABLE_IN_ALL
|
|
247
247
|
gssize g_socket_receive_message (GSocket *socket,
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
248
|
+
GSocketAddress **address,
|
|
249
|
+
GInputVector *vectors,
|
|
250
|
+
gint num_vectors,
|
|
251
|
+
GSocketControlMessage ***messages,
|
|
252
|
+
gint *num_messages,
|
|
253
|
+
gint *flags,
|
|
254
|
+
GCancellable *cancellable,
|
|
255
|
+
GError **error);
|
|
256
256
|
GIO_AVAILABLE_IN_ALL
|
|
257
257
|
gssize g_socket_send_message (GSocket *socket,
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
258
|
+
GSocketAddress *address,
|
|
259
|
+
GOutputVector *vectors,
|
|
260
|
+
gint num_vectors,
|
|
261
|
+
GSocketControlMessage **messages,
|
|
262
|
+
gint num_messages,
|
|
263
|
+
gint flags,
|
|
264
|
+
GCancellable *cancellable,
|
|
265
|
+
GError **error);
|
|
266
266
|
|
|
267
267
|
GIO_AVAILABLE_IN_2_48
|
|
268
268
|
gint g_socket_receive_messages (GSocket *socket,
|
|
@@ -273,26 +273,26 @@ gint g_socket_receive_messages (GSocket
|
|
|
273
273
|
GError **error);
|
|
274
274
|
GIO_AVAILABLE_IN_2_44
|
|
275
275
|
gint g_socket_send_messages (GSocket *socket,
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
276
|
+
GOutputMessage *messages,
|
|
277
|
+
guint num_messages,
|
|
278
|
+
gint flags,
|
|
279
|
+
GCancellable *cancellable,
|
|
280
|
+
GError **error);
|
|
281
281
|
|
|
282
282
|
GIO_AVAILABLE_IN_ALL
|
|
283
283
|
gboolean g_socket_close (GSocket *socket,
|
|
284
|
-
|
|
284
|
+
GError **error);
|
|
285
285
|
GIO_AVAILABLE_IN_ALL
|
|
286
286
|
gboolean g_socket_shutdown (GSocket *socket,
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
287
|
+
gboolean shutdown_read,
|
|
288
|
+
gboolean shutdown_write,
|
|
289
|
+
GError **error);
|
|
290
290
|
GIO_AVAILABLE_IN_ALL
|
|
291
291
|
gboolean g_socket_is_closed (GSocket *socket);
|
|
292
292
|
GIO_AVAILABLE_IN_ALL
|
|
293
293
|
GSource * g_socket_create_source (GSocket *socket,
|
|
294
|
-
|
|
295
|
-
|
|
294
|
+
GIOCondition condition,
|
|
295
|
+
GCancellable *cancellable);
|
|
296
296
|
GIO_AVAILABLE_IN_ALL
|
|
297
297
|
gboolean g_socket_speaks_ipv4 (GSocket *socket);
|
|
298
298
|
GIO_AVAILABLE_IN_ALL
|
|
@@ -301,42 +301,42 @@ GCredentials *g_socket_get_credentials (GSocket
|
|
|
301
301
|
|
|
302
302
|
GIO_AVAILABLE_IN_ALL
|
|
303
303
|
gssize g_socket_receive_with_blocking (GSocket *socket,
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
304
|
+
gchar *buffer,
|
|
305
|
+
gsize size,
|
|
306
|
+
gboolean blocking,
|
|
307
|
+
GCancellable *cancellable,
|
|
308
|
+
GError **error);
|
|
309
309
|
GIO_AVAILABLE_IN_ALL
|
|
310
310
|
gssize g_socket_send_with_blocking (GSocket *socket,
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
311
|
+
const gchar *buffer,
|
|
312
|
+
gsize size,
|
|
313
|
+
gboolean blocking,
|
|
314
|
+
GCancellable *cancellable,
|
|
315
|
+
GError **error);
|
|
316
316
|
GIO_AVAILABLE_IN_2_60
|
|
317
317
|
GPollableReturn g_socket_send_message_with_timeout (GSocket *socket,
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
318
|
+
GSocketAddress *address,
|
|
319
|
+
const GOutputVector *vectors,
|
|
320
|
+
gint num_vectors,
|
|
321
|
+
GSocketControlMessage **messages,
|
|
322
|
+
gint num_messages,
|
|
323
|
+
gint flags,
|
|
324
|
+
gint64 timeout_us,
|
|
325
|
+
gsize *bytes_written,
|
|
326
|
+
GCancellable *cancellable,
|
|
327
|
+
GError **error);
|
|
328
328
|
GIO_AVAILABLE_IN_2_36
|
|
329
329
|
gboolean g_socket_get_option (GSocket *socket,
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
330
|
+
gint level,
|
|
331
|
+
gint optname,
|
|
332
|
+
gint *value,
|
|
333
|
+
GError **error);
|
|
334
334
|
GIO_AVAILABLE_IN_2_36
|
|
335
335
|
gboolean g_socket_set_option (GSocket *socket,
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
336
|
+
gint level,
|
|
337
|
+
gint optname,
|
|
338
|
+
gint value,
|
|
339
|
+
GError **error);
|
|
340
340
|
|
|
341
341
|
G_END_DECLS
|
|
342
342
|
|
|
@@ -57,7 +57,7 @@ struct _GSocketAddressClass
|
|
|
57
57
|
gboolean (*to_native) (GSocketAddress *address,
|
|
58
58
|
gpointer dest,
|
|
59
59
|
gsize destlen,
|
|
60
|
-
|
|
60
|
+
GError **error);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
63
|
GIO_AVAILABLE_IN_ALL
|
|
@@ -74,7 +74,7 @@ GIO_AVAILABLE_IN_ALL
|
|
|
74
74
|
gboolean g_socket_address_to_native (GSocketAddress *address,
|
|
75
75
|
gpointer dest,
|
|
76
76
|
gsize destlen,
|
|
77
|
-
|
|
77
|
+
GError **error);
|
|
78
78
|
|
|
79
79
|
GIO_AVAILABLE_IN_ALL
|
|
80
80
|
gssize g_socket_address_get_native_size (GSocketAddress *address);
|
|
@@ -61,16 +61,16 @@ struct _GSocketAddressEnumeratorClass
|
|
|
61
61
|
/* Virtual Table */
|
|
62
62
|
|
|
63
63
|
GSocketAddress * (* next) (GSocketAddressEnumerator *enumerator,
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
GCancellable *cancellable,
|
|
65
|
+
GError **error);
|
|
66
66
|
|
|
67
67
|
void (* next_async) (GSocketAddressEnumerator *enumerator,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
GCancellable *cancellable,
|
|
69
|
+
GAsyncReadyCallback callback,
|
|
70
|
+
gpointer user_data);
|
|
71
71
|
GSocketAddress * (* next_finish) (GSocketAddressEnumerator *enumerator,
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
GAsyncResult *result,
|
|
73
|
+
GError **error);
|
|
74
74
|
};
|
|
75
75
|
|
|
76
76
|
GIO_AVAILABLE_IN_ALL
|
|
@@ -78,18 +78,18 @@ GType g_socket_address_enumerator_get_type (void);
|
|
|
78
78
|
|
|
79
79
|
GIO_AVAILABLE_IN_ALL
|
|
80
80
|
GSocketAddress *g_socket_address_enumerator_next (GSocketAddressEnumerator *enumerator,
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
GCancellable *cancellable,
|
|
82
|
+
GError **error);
|
|
83
83
|
|
|
84
84
|
GIO_AVAILABLE_IN_ALL
|
|
85
85
|
void g_socket_address_enumerator_next_async (GSocketAddressEnumerator *enumerator,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
GCancellable *cancellable,
|
|
87
|
+
GAsyncReadyCallback callback,
|
|
88
|
+
gpointer user_data);
|
|
89
89
|
GIO_AVAILABLE_IN_ALL
|
|
90
90
|
GSocketAddress *g_socket_address_enumerator_next_finish (GSocketAddressEnumerator *enumerator,
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
GAsyncResult *result,
|
|
92
|
+
GError **error);
|
|
93
93
|
|
|
94
94
|
G_END_DECLS
|
|
95
95
|
|