summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2014-12-03 11:10:14 +0100
committerMurray Cumming <murrayc@murrayc.com>2014-12-03 11:10:47 +0100
commitc7fd894c8d2c39e4b11a7008564b9a7ef14860fa (patch)
treefaf1bc13ae90fa367d891cb4165efcccbf8aff80
parent2a21d3c3d15e55bd541ce8c4b69f04a022da2340 (diff)
downloadglibmm-c7fd894c8d2c39e4b11a7008564b9a7ef14860fa.tar.gz
Regenerate gio .defs.
-rw-r--r--gio/src/gio_enums.defs16
-rw-r--r--gio/src/gio_methods.defs62
-rw-r--r--gio/src/gio_signals.defs2
3 files changed, 72 insertions, 8 deletions
diff --git a/gio/src/gio_enums.defs b/gio/src/gio_enums.defs
index 3e08b5fc..141c1b62 100644
--- a/gio/src/gio_enums.defs
+++ b/gio/src/gio_enums.defs
@@ -451,7 +451,9 @@
;; G_IO_ERROR_PROXY_AUTH_FAILED,
;; G_IO_ERROR_PROXY_NEED_AUTH,
;; G_IO_ERROR_PROXY_NOT_ALLOWED,
-;; G_IO_ERROR_BROKEN_PIPE
+;; G_IO_ERROR_BROKEN_PIPE,
+;; G_IO_ERROR_CONNECTION_CLOSED = G_IO_ERROR_BROKEN_PIPE,
+;; G_IO_ERROR_NOT_CONNECTED
;; } GIOErrorEnum;
(define-enum-extended IOErrorEnum
@@ -504,6 +506,8 @@
'("proxy-need-auth" "G_IO_ERROR_PROXY_NEED_AUTH" "42")
'("proxy-not-allowed" "G_IO_ERROR_PROXY_NOT_ALLOWED" "43")
'("broken-pipe" "G_IO_ERROR_BROKEN_PIPE" "44")
+ '("connection-closed" "G_IO_ERROR_CONNECTION_CLOSED" "44")
+ '("not-connected" "G_IO_ERROR_NOT_CONNECTED" "45")
)
)
@@ -1213,9 +1217,9 @@
;; G_CREDENTIALS_TYPE_INVALID,
;; G_CREDENTIALS_TYPE_LINUX_UCRED,
;; G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED,
-;; G_CREDENTIALS_TYPE_NETBSD_UNPCBID,
;; G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED,
-;; G_CREDENTIALS_TYPE_SOLARIS_UCRED
+;; G_CREDENTIALS_TYPE_SOLARIS_UCRED,
+;; G_CREDENTIALS_TYPE_NETBSD_UNPCBID
;; } GCredentialsType;
(define-enum-extended CredentialsType
@@ -1225,9 +1229,9 @@
'("invalid" "G_CREDENTIALS_TYPE_INVALID" "0")
'("linux-ucred" "G_CREDENTIALS_TYPE_LINUX_UCRED" "1")
'("freebsd-cmsgcred" "G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED" "2")
- '("netbsd-unpcbid" "G_CREDENTIALS_TYPE_NETBSD_UNPCBID" "3")
- '("openbsd-sockpeercred" "G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED" "4")
- '("solaris-ucred" "G_CREDENTIALS_TYPE_SOLARIS_UCRED" "5")
+ '("openbsd-sockpeercred" "G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED" "3")
+ '("solaris-ucred" "G_CREDENTIALS_TYPE_SOLARIS_UCRED" "4")
+ '("netbsd-unpcbid" "G_CREDENTIALS_TYPE_NETBSD_UNPCBID" "5")
)
)
diff --git a/gio/src/gio_methods.defs b/gio/src/gio_methods.defs
index d8b3729b..1f43a3ad 100644
--- a/gio/src/gio_methods.defs
+++ b/gio/src/gio_methods.defs
@@ -1058,6 +1058,8 @@
'("proxy-need-auth" "G_IO_ERROR_PROXY_NEED_AUTH")
'("proxy-not-allowed" "G_IO_ERROR_PROXY_NOT_ALLOWED")
'("broken-pipe" "G_IO_ERROR_BROKEN_PIPE")
+ '("connection-closed" "G_IO_ERROR_CONNECTION_CLOSED")
+ '("not-connected" "G_IO_ERROR_NOT_CONNECTED")
)
)
@@ -1495,9 +1497,9 @@
'("invalid" "G_CREDENTIALS_TYPE_INVALID")
'("linux-ucred" "G_CREDENTIALS_TYPE_LINUX_UCRED")
'("freebsd-cmsgcred" "G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED")
- '("netbsd-unpcbid" "G_CREDENTIALS_TYPE_NETBSD_UNPCBID")
'("openbsd-sockpeercred" "G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED")
'("solaris-ucred" "G_CREDENTIALS_TYPE_SOLARIS_UCRED")
+ '("netbsd-unpcbid" "G_CREDENTIALS_TYPE_NETBSD_UNPCBID")
)
)
@@ -9925,6 +9927,31 @@
)
)
+(define-method read_all_async
+ (of-object "GInputStream")
+ (c-name "g_input_stream_read_all_async")
+ (return-type "none")
+ (parameters
+ '("void*" "buffer")
+ '("gsize" "count")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method read_all_finish
+ (of-object "GInputStream")
+ (c-name "g_input_stream_read_all_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("gsize*" "bytes_read")
+ '("GError**" "error")
+ )
+)
+
(define-method read_bytes_async
(of-object "GInputStream")
(c-name "g_input_stream_read_bytes_async")
@@ -11896,6 +11923,14 @@
)
)
+(define-function g_network_address_new_loopback
+ (c-name "g_network_address_new_loopback")
+ (return-type "GSocketConnectable*")
+ (parameters
+ '("guint16" "port")
+ )
+)
+
(define-function g_network_address_parse
(c-name "g_network_address_parse")
(return-type "GSocketConnectable*")
@@ -12477,6 +12512,31 @@
)
)
+(define-method write_all_async
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_write_all_async")
+ (return-type "none")
+ (parameters
+ '("const-void*" "buffer")
+ '("gsize" "count")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method write_all_finish
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_write_all_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("gsize*" "bytes_written")
+ '("GError**" "error")
+ )
+)
+
(define-method write_bytes_async
(of-object "GOutputStream")
(c-name "g_output_stream_write_bytes_async")
diff --git a/gio/src/gio_signals.defs b/gio/src/gio_signals.defs
index 6209d022..114a01f1 100644
--- a/gio/src/gio_signals.defs
+++ b/gio/src/gio_signals.defs
@@ -2044,7 +2044,7 @@
(define-property use-ssl3
(of-object "GTlsClientConnection")
(prop-type "GParamBoolean")
- (docs "Use SSL 3.0 rather than trying to use TLS 1.x")
+ (docs "Use fallback version of SSL/TLS rather than most recent version")
(readable #t)
(writable #t)
(construct-only #f)