summaryrefslogtreecommitdiff
path: root/gio/src/gio_methods.defs
diff options
context:
space:
mode:
authorMarcin Kolny <marcin.kolny@gmail.com>2015-08-08 14:45:12 +0200
committerMarcin Kolny <marcin.kolny@gmail.com>2015-08-08 14:45:59 +0200
commit0d5f63b18f5766760cf39e82ee11482984e0a938 (patch)
treee3f74b9b37e7618c92840024077dff43e6d08f0d /gio/src/gio_methods.defs
parentdce7a844e48a582e42eb2b60eef5c1f2527540ac (diff)
parentd94115843f38967b5e883f5f7d8057882ae364cb (diff)
downloadglibmm-0d5f63b18f5766760cf39e82ee11482984e0a938.tar.gz
Merge branch 'master' into glibmm-gir-gmmprocglibmm-gir-gmmproc
Diffstat (limited to 'gio/src/gio_methods.defs')
-rw-r--r--gio/src/gio_methods.defs988
1 files changed, 778 insertions, 210 deletions
diff --git a/gio/src/gio_methods.defs b/gio/src/gio_methods.defs
index d8b3729b..b2a248de 100644
--- a/gio/src/gio_methods.defs
+++ b/gio/src/gio_methods.defs
@@ -280,13 +280,6 @@
(gtype-id "G_TYPE_LOADABLE_ICON")
)
-(define-object DirectoryMonitor
- (in-module "GLocal")
- (parent "GFileMonitor")
- (c-name "GLocalDirectoryMonitor")
- (gtype-id "G_TYPE_LOCAL_DIRECTORY_MONITOR")
-)
-
(define-object FileIOStream
(in-module "GLocal")
(parent "GFileIOStream")
@@ -370,6 +363,13 @@
(gtype-id "G_TYPE_NETWORK_MONITOR_NETLINK")
)
+(define-object MonitorNM
+ (in-module "GNetwork")
+ (parent "GNetworkMonitorNetlink")
+ (c-name "GNetworkMonitorNM")
+ (gtype-id "G_TYPE_NETWORK_MONITOR_NM")
+)
+
(define-object Service
(in-module "GNetwork")
(parent "GObject")
@@ -510,6 +510,13 @@
)
(define-object SocketAddress
+ (in-module "GNative")
+ (parent "GSocketAddress")
+ (c-name "GNativeSocketAddress")
+ (gtype-id "G_TYPE_NATIVE_SOCKET_ADDRESS")
+)
+
+(define-object SocketAddress
(in-module "GInet")
(parent "GSocketAddress")
(c-name "GInetSocketAddress")
@@ -752,6 +759,13 @@
(gtype-id "G_TYPE_WIN32_OUTPUT_STREAM")
)
+(define-object 32RegistryKey
+ (in-module "GWin")
+ (parent "GObject")
+ (c-name "GWin32RegistryKey")
+ (gtype-id "G_TYPE_WIN32_REGISTRY_KEY")
+)
+
;; Enumerations and flags ...
(define-enum AuthMechanismState
@@ -963,6 +977,7 @@
'("watch-mounts" "G_FILE_MONITOR_WATCH_MOUNTS")
'("send-moved" "G_FILE_MONITOR_SEND_MOVED")
'("watch-hard-links" "G_FILE_MONITOR_WATCH_HARD_LINKS")
+ '("watch-moves" "G_FILE_MONITOR_WATCH_MOVES")
)
)
@@ -1005,6 +1020,9 @@
'("pre-unmount" "G_FILE_MONITOR_EVENT_PRE_UNMOUNT")
'("unmounted" "G_FILE_MONITOR_EVENT_UNMOUNTED")
'("moved" "G_FILE_MONITOR_EVENT_MOVED")
+ '("renamed" "G_FILE_MONITOR_EVENT_RENAMED")
+ '("moved-in" "G_FILE_MONITOR_EVENT_MOVED_IN")
+ '("moved-out" "G_FILE_MONITOR_EVENT_MOVED_OUT")
)
)
@@ -1058,6 +1076,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")
)
)
@@ -1388,6 +1408,7 @@
(values
'("none" "G_DBUS_CALL_FLAGS_NONE")
'("no-auto-start" "G_DBUS_CALL_FLAGS_NO_AUTO_START")
+ '("allow-interactive-authorization" "G_DBUS_CALL_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION")
)
)
@@ -1412,6 +1433,7 @@
'("none" "G_DBUS_MESSAGE_FLAGS_NONE")
'("no-reply-expected" "G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED")
'("no-auto-start" "G_DBUS_MESSAGE_FLAGS_NO_AUTO_START")
+ '("allow-interactive-authorization" "G_DBUS_MESSAGE_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION")
)
)
@@ -1495,9 +1517,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")
)
)
@@ -1665,6 +1687,18 @@
)
)
+(define-enum ListenerEvent
+ (in-module "GSocket")
+ (c-name "GSocketListenerEvent")
+ (gtype-id "G_TYPE_SOCKET_LISTENER_EVENT")
+ (values
+ '("binding" "G_SOCKET_LISTENER_BINDING")
+ '("bound" "G_SOCKET_LISTENER_BOUND")
+ '("listening" "G_SOCKET_LISTENER_LISTENING")
+ '("listened" "G_SOCKET_LISTENER_LISTENED")
+ )
+)
+
(define-enum DBusFlags
(in-module "GTest")
(c-name "GTestDBusFlags")
@@ -1703,6 +1737,18 @@
)
)
+(define-enum Connectivity
+ (in-module "GNetwork")
+ (c-name "GNetworkConnectivity")
+ (gtype-id "G_TYPE_NETWORK_CONNECTIVITY")
+ (values
+ '("local" "G_NETWORK_CONNECTIVITY_LOCAL")
+ '("limited" "G_NETWORK_CONNECTIVITY_LIMITED")
+ '("portal" "G_NETWORK_CONNECTIVITY_PORTAL")
+ '("full" "G_NETWORK_CONNECTIVITY_FULL")
+ )
+)
+
(define-flags BindFlags
(in-module "GSettings")
(c-name "GSettingsBindFlags")
@@ -2351,15 +2397,6 @@
-;; From gappinfoprivate.h
-
-(define-function g_app_info_monitor_fire
- (c-name "g_app_info_monitor_fire")
- (return-type "none")
-)
-
-
-
;; From gapplicationcommandline.h
(define-function g_application_command_line_get_type
@@ -2695,6 +2732,12 @@
(return-type "none")
)
+(define-method get_is_busy
+ (of-object "GApplication")
+ (c-name "g_application_get_is_busy")
+ (return-type "gboolean")
+)
+
(define-method send_notification
(of-object "GApplication")
(c-name "g_application_send_notification")
@@ -2714,6 +2757,26 @@
)
)
+(define-method bind_busy_property
+ (of-object "GApplication")
+ (c-name "g_application_bind_busy_property")
+ (return-type "none")
+ (parameters
+ '("gpointer" "object")
+ '("const-gchar*" "property")
+ )
+)
+
+(define-method unbind_busy_property
+ (of-object "GApplication")
+ (c-name "g_application_unbind_busy_property")
+ (return-type "none")
+ (parameters
+ '("gpointer" "object")
+ '("const-gchar*" "property")
+ )
+)
+
;; From gapplicationimpl.h
@@ -3374,7 +3437,38 @@
-;; From gcontenttypeprivate.h
+;; From gcontextspecificgroup.h
+
+(define-method get
+ (of-object "GContextSpecificGroup")
+ (c-name "g_context_specific_group_get")
+ (return-type "gpointer")
+ (parameters
+ '("GType" "type")
+ '("goffset" "context_offset")
+ '("GCallback" "start_func")
+ )
+)
+
+(define-method remove
+ (of-object "GContextSpecificGroup")
+ (c-name "g_context_specific_group_remove")
+ (return-type "none")
+ (parameters
+ '("GMainContext*" "context")
+ '("gpointer" "instance")
+ '("GCallback" "stop_func")
+ )
+)
+
+(define-method emit
+ (of-object "GContextSpecificGroup")
+ (c-name "g_context_specific_group_emit")
+ (return-type "none")
+ (parameters
+ '("guint" "signal_id")
+ )
+)
@@ -3537,10 +3631,6 @@
-;; From gcredentialsprivate.h
-
-
-
;; From gdatainputstream.h
(define-function g_data_input_stream_get_type
@@ -3929,20 +4019,6 @@
-;; From gdbusactiongroup-private.h
-
-(define-method sync
- (of-object "GDBusActionGroup")
- (c-name "g_dbus_action_group_sync")
- (return-type "gboolean")
- (parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-
-
;; From gdbusaddress.h
(define-function g_dbus_address_escape_value
@@ -6058,10 +6134,6 @@
-;; From gdbusprivate.h
-
-
-
;; From gdbusproxy.h
(define-function g_dbus_proxy_get_type
@@ -7181,6 +7253,18 @@
)
)
+(define-method iterate
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_iterate")
+ (return-type "gboolean")
+ (parameters
+ '("GFileInfo**" "out_info")
+ '("GFile**" "out_child")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
;; From gfile.h
@@ -9470,6 +9554,10 @@
+;; From ghttpproxy.h
+
+
+
;; From gicon.h
(define-function g_icon_get_type
@@ -9925,6 +10013,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")
@@ -10022,6 +10135,10 @@
+;; From gio-autocleanups.h
+
+
+
;; From gioenums.h
@@ -10378,6 +10495,11 @@
(return-type "GType")
)
+(define-function g_socket_listener_event_get_type
+ (c-name "g_socket_listener_event_get_type")
+ (return-type "GType")
+)
+
(define-function g_test_dbus_flags_get_type
(c-name "g_test_dbus_flags_get_type")
(return-type "GType")
@@ -10393,6 +10515,11 @@
(return-type "GType")
)
+(define-function g_network_connectivity_get_type
+ (c-name "g_network_connectivity_get_type")
+ (return-type "GType")
+)
+
(define-function g_settings_bind_flags_get_type
(c-name "g_settings_bind_flags_get_type")
(return-type "GType")
@@ -10607,33 +10734,20 @@
-;; From gioprivate.h
-
-(define-method async_read_is_via_threads
- (of-object "GInputStream")
- (c-name "g_input_stream_async_read_is_via_threads")
- (return-type "gboolean")
-)
-
-(define-method async_write_is_via_threads
- (of-object "GOutputStream")
- (c-name "g_output_stream_async_write_is_via_threads")
- (return-type "gboolean")
-)
+;; From gioscheduler.h
-(define-method set_cached_remote_address
- (of-object "GSocketConnection")
- (c-name "g_socket_connection_set_cached_remote_address")
+(define-function g_io_scheduler_push_job
+ (c-name "g_io_scheduler_push_job")
(return-type "none")
(parameters
- '("GSocketAddress*" "address")
+ '("GIOSchedulerJobFunc" "job_func")
+ '("gpointer" "user_data")
+ '("GDestroyNotify" "notify")
+ '("gint" "io_priority")
+ '("GCancellable*" "cancellable")
)
)
-
-
-;; From gioscheduler.h
-
(define-function g_io_scheduler_cancel_all_jobs
(c-name "g_io_scheduler_cancel_all_jobs")
(return-type "none")
@@ -10783,6 +10897,112 @@
+;; From glistmodel.h
+
+(define-method get_item_type
+ (of-object "GListModel")
+ (c-name "g_list_model_get_item_type")
+ (return-type "GType")
+)
+
+(define-method get_n_items
+ (of-object "GListModel")
+ (c-name "g_list_model_get_n_items")
+ (return-type "guint")
+)
+
+(define-method get_item
+ (of-object "GListModel")
+ (c-name "g_list_model_get_item")
+ (return-type "gpointer")
+ (parameters
+ '("guint" "position")
+ )
+)
+
+(define-method get_object
+ (of-object "GListModel")
+ (c-name "g_list_model_get_object")
+ (return-type "GObject*")
+ (parameters
+ '("guint" "position")
+ )
+)
+
+(define-method items_changed
+ (of-object "GListModel")
+ (c-name "g_list_model_items_changed")
+ (return-type "none")
+ (parameters
+ '("guint" "position")
+ '("guint" "removed")
+ '("guint" "added")
+ )
+)
+
+
+
+;; From gliststore.h
+
+(define-method insert
+ (of-object "GListStore")
+ (c-name "g_list_store_insert")
+ (return-type "none")
+ (parameters
+ '("guint" "position")
+ '("gpointer" "item")
+ )
+)
+
+(define-method insert_sorted
+ (of-object "GListStore")
+ (c-name "g_list_store_insert_sorted")
+ (return-type "guint")
+ (parameters
+ '("gpointer" "item")
+ '("GCompareDataFunc" "compare_func")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method append
+ (of-object "GListStore")
+ (c-name "g_list_store_append")
+ (return-type "none")
+ (parameters
+ '("gpointer" "item")
+ )
+)
+
+(define-method remove
+ (of-object "GListStore")
+ (c-name "g_list_store_remove")
+ (return-type "none")
+ (parameters
+ '("guint" "position")
+ )
+)
+
+(define-method remove_all
+ (of-object "GListStore")
+ (c-name "g_list_store_remove_all")
+ (return-type "none")
+)
+
+(define-method splice
+ (of-object "GListStore")
+ (c-name "g_list_store_splice")
+ (return-type "none")
+ (parameters
+ '("guint" "position")
+ '("guint" "n_removals")
+ '("gpointer*" "additions")
+ '("guint" "n_additions")
+ )
+)
+
+
+
;; From gloadableicon.h
(define-function g_loadable_icon_get_type
@@ -10827,36 +11047,28 @@
-;; From glocaldirectorymonitor.h
+;; From glocalfileenumerator.h
-(define-function g_local_directory_monitor_get_type
- (c-name "g_local_directory_monitor_get_type")
- (return-type "GType")
-)
-(define-method start
- (of-object "GLocalDirectoryMonitor")
- (c-name "g_local_directory_monitor_start")
- (return-type "none")
-)
-(define-function g_local_directory_monitor_new_in_worker
- (c-name "g_local_directory_monitor_new_in_worker")
- (return-type "GLocalDirectoryMonitor*")
+;; From glocalfile.h
+
+(define-function g_local_file_is_remote
+ (c-name "g_local_file_is_remote")
+ (return-type "gboolean")
(parameters
- '("const-char*" "pathname")
- '("GFileMonitorFlags" "flags")
- '("GError**" "error")
+ '("const-gchar*" "filename")
)
)
-
-
-;; From glocalfileenumerator.h
-
-
-
-;; From glocalfile.h
+(define-function g_local_file_new_from_dirname_and_basename
+ (c-name "g_local_file_new_from_dirname_and_basename")
+ (return-type "GFile*")
+ (parameters
+ '("const-char*" "dirname")
+ '("const-char*" "basename")
+ )
+)
@@ -10879,22 +11091,43 @@
(return-type "GType")
)
-(define-method start
- (of-object "GLocalFileMonitor")
- (c-name "g_local_file_monitor_start")
- (return-type "none")
+(define-function g_local_file_monitor_new_for_path
+ (c-name "g_local_file_monitor_new_for_path")
+ (return-type "GFileMonitor*")
+ (parameters
+ '("const-gchar*" "pathname")
+ '("gboolean" "is_directory")
+ '("GFileMonitorFlags" "flags")
+ '("GError**" "error")
+ )
)
(define-function g_local_file_monitor_new_in_worker
(c-name "g_local_file_monitor_new_in_worker")
- (return-type "GLocalFileMonitor*")
+ (return-type "GFileMonitor*")
(parameters
- '("const-char*" "pathname")
+ '("const-gchar*" "pathname")
+ '("gboolean" "is_directory")
'("GFileMonitorFlags" "flags")
+ '("GFileMonitorCallback" "callback")
+ '("gpointer" "user_data")
'("GError**" "error")
)
)
+(define-method handle_event
+ (of-object "GFileMonitorSource")
+ (c-name "g_file_monitor_source_handle_event")
+ (return-type "gboolean")
+ (parameters
+ '("GFileMonitorEvent" "event_type")
+ '("const-gchar*" "child")
+ '("const-gchar*" "rename_to")
+ '("GFile*" "other")
+ '("gint64" "event_time")
+ )
+)
+
;; From glocalfileoutputstream.h
@@ -11866,7 +12099,22 @@
-;; From gmountprivate.h
+;; From gnativesocketaddress.h
+
+(define-function g_native_socket_address_get_type
+ (c-name "g_native_socket_address_get_type")
+ (return-type "GType")
+)
+
+(define-function g_native_socket_address_new
+ (c-name "g_native_socket_address_new")
+ (is-constructor-of "GNativeSocketAddress")
+ (return-type "GSocketAddress*")
+ (parameters
+ '("gpointer" "native")
+ '("gsize" "len")
+ )
+)
@@ -11896,6 +12144,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*")
@@ -11945,27 +12201,6 @@
-;; From gnetworkingprivate.h
-
-(define-method get_serial
- (of-object "GResolver")
- (c-name "g_resolver_get_serial")
- (return-type "guint64")
-)
-
-(define-function g_socket
- (c-name "g_socket")
- (return-type "gint")
- (parameters
- '("gint" "domain")
- '("gint" "type")
- '("gint" "protocol")
- '("GError**" "error")
- )
-)
-
-
-
;; From gnetworkmonitorbase.h
(define-function g_network_monitor_base_get_type
@@ -12021,6 +12256,18 @@
(return-type "gboolean")
)
+(define-method get_network_metered
+ (of-object "GNetworkMonitor")
+ (c-name "g_network_monitor_get_network_metered")
+ (return-type "gboolean")
+)
+
+(define-method get_connectivity
+ (of-object "GNetworkMonitor")
+ (c-name "g_network_monitor_get_connectivity")
+ (return-type "GNetworkConnectivity")
+)
+
(define-method can_reach
(of-object "GNetworkMonitor")
(c-name "g_network_monitor_can_reach")
@@ -12060,6 +12307,10 @@
+;; From gnetworkmonitornm.h
+
+
+
;; From gnetworkservice.h
(define-function g_network_service_get_type
@@ -12275,83 +12526,6 @@
-;; From gnotification-private.h
-
-(define-method get_id
- (of-object "GNotification")
- (c-name "g_notification_get_id")
- (return-type "const-gchar*")
-)
-
-(define-method get_title
- (of-object "GNotification")
- (c-name "g_notification_get_title")
- (return-type "const-gchar*")
-)
-
-(define-method get_body
- (of-object "GNotification")
- (c-name "g_notification_get_body")
- (return-type "const-gchar*")
-)
-
-(define-method get_icon
- (of-object "GNotification")
- (c-name "g_notification_get_icon")
- (return-type "GIcon*")
-)
-
-(define-method get_priority
- (of-object "GNotification")
- (c-name "g_notification_get_priority")
- (return-type "GNotificationPriority")
-)
-
-(define-method get_n_buttons
- (of-object "GNotification")
- (c-name "g_notification_get_n_buttons")
- (return-type "guint")
-)
-
-(define-method get_button
- (of-object "GNotification")
- (c-name "g_notification_get_button")
- (return-type "none")
- (parameters
- '("gint" "index")
- '("gchar**" "label")
- '("gchar**" "action")
- '("GVariant**" "target")
- )
-)
-
-(define-method get_button_with_action
- (of-object "GNotification")
- (c-name "g_notification_get_button_with_action")
- (return-type "gint")
- (parameters
- '("const-gchar*" "action")
- )
-)
-
-(define-method get_default_action
- (of-object "GNotification")
- (c-name "g_notification_get_default_action")
- (return-type "gboolean")
- (parameters
- '("gchar**" "action")
- '("GVariant**" "target")
- )
-)
-
-(define-method serialize
- (of-object "GNotification")
- (c-name "g_notification_serialize")
- (return-type "GVariant*")
-)
-
-
-
;; From goutputstream.h
(define-function g_output_stream_get_type
@@ -12477,6 +12651,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")
@@ -14308,6 +14507,18 @@
)
)
+(define-method list_keys
+ (of-object "GSettingsSchema")
+ (c-name "g_settings_schema_list_keys")
+ (return-type "gchar**")
+)
+
+(define-method list_children
+ (of-object "GSettingsSchema")
+ (c-name "g_settings_schema_list_children")
+ (return-type "gchar**")
+)
+
(define-function g_settings_schema_key_get_type
(c-name "g_settings_schema_key_get_type")
(return-type "GType")
@@ -14352,6 +14563,12 @@
)
)
+(define-method get_name
+ (of-object "GSettingsSchemaKey")
+ (c-name "g_settings_schema_key_get_name")
+ (return-type "const-gchar*")
+)
+
(define-method get_summary
(of-object "GSettingsSchemaKey")
(c-name "g_settings_schema_key_get_summary")
@@ -14577,6 +14794,15 @@
)
)
+(define-method set_state_hint
+ (of-object "GSimpleAction")
+ (c-name "g_simple_action_set_state_hint")
+ (return-type "none")
+ (parameters
+ '("GVariant*" "state_hint")
+ )
+)
+
;; From gsimpleasyncresult.h
@@ -14826,6 +15052,25 @@
+;; From gsimpleiostream.h
+
+(define-function g_simple_io_stream_get_type
+ (c-name "g_simple_io_stream_get_type")
+ (return-type "GType")
+)
+
+(define-function g_simple_io_stream_new
+ (c-name "g_simple_io_stream_new")
+ (is-constructor-of "GSimpleIoStream")
+ (return-type "GIOStream*")
+ (parameters
+ '("GInputStream*" "input_stream")
+ '("GOutputStream*" "output_stream")
+ )
+)
+
+
+
;; From gsimplepermission.h
(define-function g_simple_permission_get_type
@@ -15826,6 +16071,19 @@
)
)
+(define-method send_messages
+ (of-object "GSocket")
+ (c-name "g_socket_send_messages")
+ (return-type "gint")
+ (parameters
+ '("GOutputMessage*" "messages")
+ '("guint" "num_messages")
+ '("gint" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
(define-method close
(of-object "GSocket")
(c-name "g_socket_close")
@@ -16601,19 +16859,6 @@
-;; From gsubprocesslauncher-private.h
-
-(define-method set_launcher
- (of-object "GSubprocess")
- (c-name "g_subprocess_set_launcher")
- (return-type "none")
- (parameters
- '("GSubprocessLauncher*" "launcher")
- )
-)
-
-
-
;; From gtask.h
(define-function g_task_get_type
@@ -16879,6 +17124,12 @@
(return-type "gboolean")
)
+(define-method get_completed
+ (of-object "GTask")
+ (c-name "g_task_get_completed")
+ (return-type "gboolean")
+)
+
;; From gtcpconnection.h
@@ -17269,6 +17520,15 @@
(return-type "GList*")
)
+(define-method copy_session_state
+ (of-object "GTlsClientConnection")
+ (c-name "g_tls_client_connection_copy_session_state")
+ (return-type "none")
+ (parameters
+ '("GTlsClientConnection*" "source")
+ )
+)
+
;; From gtlsconnection.h
@@ -18124,14 +18384,6 @@
;; From gunixmounts.h
-(define-function g_unix_mount_free
- (c-name "g_unix_mount_free")
- (return-type "none")
- (parameters
- '("GUnixMountEntry*" "mount_entry")
- )
-)
-
(define-method free
(of-object "GUnixMountPoint")
(c-name "g_unix_mount_point_free")
@@ -18348,6 +18600,11 @@
(return-type "GType")
)
+(define-function g_unix_mount_monitor_get
+ (c-name "g_unix_mount_monitor_get")
+ (return-type "GUnixMountMonitor*")
+)
+
(define-function g_unix_mount_monitor_new
(c-name "g_unix_mount_monitor_new")
(is-constructor-of "GUnixMountMonitor")
@@ -18814,6 +19071,10 @@
+;; From gwin32networking.h
+
+
+
;; From gwin32outputstream.h
(define-function g_win32_output_stream_get_type
@@ -18854,6 +19115,313 @@
+;; From gwin32registrykey.h
+
+(define-method copy
+ (of-object "GWin32RegistrySubkeyIter")
+ (c-name "g_win32_registry_subkey_iter_copy")
+ (return-type "GWin32RegistrySubkeyIter*")
+)
+
+(define-method free
+ (of-object "GWin32RegistrySubkeyIter")
+ (c-name "g_win32_registry_subkey_iter_free")
+ (return-type "none")
+)
+
+(define-method assign
+ (of-object "GWin32RegistrySubkeyIter")
+ (c-name "g_win32_registry_subkey_iter_assign")
+ (return-type "none")
+ (parameters
+ '("const-GWin32RegistrySubkeyIter*" "other")
+ )
+)
+
+(define-function g_win32_registry_subkey_iter_get_type
+ (c-name "g_win32_registry_subkey_iter_get_type")
+ (return-type "GType")
+)
+
+(define-method copy
+ (of-object "GWin32RegistryValueIter")
+ (c-name "g_win32_registry_value_iter_copy")
+ (return-type "GWin32RegistryValueIter*")
+)
+
+(define-method free
+ (of-object "GWin32RegistryValueIter")
+ (c-name "g_win32_registry_value_iter_free")
+ (return-type "none")
+)
+
+(define-method assign
+ (of-object "GWin32RegistryValueIter")
+ (c-name "g_win32_registry_value_iter_assign")
+ (return-type "none")
+ (parameters
+ '("const-GWin32RegistryValueIter*" "other")
+ )
+)
+
+(define-function g_win32_registry_value_iter_get_type
+ (c-name "g_win32_registry_value_iter_get_type")
+ (return-type "GType")
+)
+
+(define-function g_win32_registry_key_get_type
+ (c-name "g_win32_registry_key_get_type")
+ (return-type "GType")
+)
+
+(define-function g_win32_registry_key_new
+ (c-name "g_win32_registry_key_new")
+ (is-constructor-of "GWin32RegistryKey")
+ (return-type "GWin32RegistryKey*")
+ (parameters
+ '("const-gchar*" "path")
+ '("GError**" "error")
+ )
+)
+
+(define-function g_win32_registry_key_new_w
+ (c-name "g_win32_registry_key_new_w")
+ (return-type "GWin32RegistryKey*")
+ (parameters
+ '("const-gunichar2*" "path")
+ '("GError**" "error")
+ )
+)
+
+(define-method get_child
+ (of-object "GWin32RegistryKey")
+ (c-name "g_win32_registry_key_get_child")
+ (return-type "GWin32RegistryKey*")
+ (parameters
+ '("const-gchar*" "subkey")
+ '("GError**" "error")
+ )
+)
+
+(define-method get_child_w
+ (of-object "GWin32RegistryKey")
+ (c-name "g_win32_registry_key_get_child_w")
+ (return-type "GWin32RegistryKey*")
+ (parameters
+ '("const-gunichar2*" "subkey")
+ '("GError**" "error")
+ )
+)
+
+(define-method init
+ (of-object "GWin32RegistrySubkeyIter")
+ (c-name "g_win32_registry_subkey_iter_init")
+ (return-type "gboolean")
+ (parameters
+ '("GWin32RegistryKey*" "key")
+ '("GError**" "error")
+ )
+)
+
+(define-method clear
+ (of-object "GWin32RegistrySubkeyIter")
+ (c-name "g_win32_registry_subkey_iter_clear")
+ (return-type "none")
+)
+
+(define-method n_subkeys
+ (of-object "GWin32RegistrySubkeyIter")
+ (c-name "g_win32_registry_subkey_iter_n_subkeys")
+ (return-type "gsize")
+)
+
+(define-method next
+ (of-object "GWin32RegistrySubkeyIter")
+ (c-name "g_win32_registry_subkey_iter_next")
+ (return-type "gboolean")
+ (parameters
+ '("gboolean" "skip_errors")
+ '("GError**" "error")
+ )
+)
+
+(define-method get_name
+ (of-object "GWin32RegistrySubkeyIter")
+ (c-name "g_win32_registry_subkey_iter_get_name")
+ (return-type "gboolean")
+ (parameters
+ '("gchar**" "subkey_name")
+ '("gsize*" "subkey_name_len")
+ '("GError**" "error")
+ )
+)
+
+(define-method get_name_w
+ (of-object "GWin32RegistrySubkeyIter")
+ (c-name "g_win32_registry_subkey_iter_get_name_w")
+ (return-type "gboolean")
+ (parameters
+ '("gunichar2**" "subkey_name")
+ '("gsize*" "subkey_name_len")
+ '("GError**" "error")
+ )
+)
+
+(define-method init
+ (of-object "GWin32RegistryValueIter")
+ (c-name "g_win32_registry_value_iter_init")
+ (return-type "gboolean")
+ (parameters
+ '("GWin32RegistryKey*" "key")
+ '("GError**" "error")
+ )
+)
+
+(define-method clear
+ (of-object "GWin32RegistryValueIter")
+ (c-name "g_win32_registry_value_iter_clear")
+ (return-type "none")
+)
+
+(define-method n_values
+ (of-object "GWin32RegistryValueIter")
+ (c-name "g_win32_registry_value_iter_n_values")
+ (return-type "gsize")
+)
+
+(define-method next
+ (of-object "GWin32RegistryValueIter")
+ (c-name "g_win32_registry_value_iter_next")
+ (return-type "gboolean")
+ (parameters
+ '("gboolean" "skip_errors")
+ '("GError**" "error")
+ )
+)
+
+(define-method get_value_type
+ (of-object "GWin32RegistryValueIter")
+ (c-name "g_win32_registry_value_iter_get_value_type")
+ (return-type "gboolean")
+ (parameters
+ '("GWin32RegistryValueType*" "value_type")
+ '("GError**" "error")
+ )
+)
+
+(define-method get_name
+ (of-object "GWin32RegistryValueIter")
+ (c-name "g_win32_registry_value_iter_get_name")
+ (return-type "gboolean")
+ (parameters
+ '("gchar**" "value_name")
+ '("gsize*" "value_name_len")
+ '("GError**" "error")
+ )
+)
+
+(define-method get_name_w
+ (of-object "GWin32RegistryValueIter")
+ (c-name "g_win32_registry_value_iter_get_name_w")
+ (return-type "gboolean")
+ (parameters
+ '("gunichar2**" "value_name")
+ '("gsize*" "value_name_len")
+ '("GError**" "error")
+ )
+)
+
+(define-method get_data
+ (of-object "GWin32RegistryValueIter")
+ (c-name "g_win32_registry_value_iter_get_data")
+ (return-type "gboolean")
+ (parameters
+ '("gboolean" "auto_expand")
+ '("gpointer*" "value_data")
+ '("gsize*" "value_data_size")
+ '("GError**" "error")
+ )
+)
+
+(define-method get_data_w
+ (of-object "GWin32RegistryValueIter")
+ (c-name "g_win32_registry_value_iter_get_data_w")
+ (return-type "gboolean")
+ (parameters
+ '("gboolean" "auto_expand")
+ '("gpointer*" "value_data")
+ '("gsize*" "value_data_size")
+ '("GError**" "error")
+ )
+)
+
+(define-method get_value
+ (of-object "GWin32RegistryKey")
+ (c-name "g_win32_registry_key_get_value")
+ (return-type "gboolean")
+ (parameters
+ '("gboolean" "auto_expand")
+ '("const-gchar*" "value_name")
+ '("GWin32RegistryValueType*" "value_type")
+ '("gpointer*" "value_data")
+ '("gsize*" "value_data_size")
+ '("GError**" "error")
+ )
+)
+
+(define-method get_value_w
+ (of-object "GWin32RegistryKey")
+ (c-name "g_win32_registry_key_get_value_w")
+ (return-type "gboolean")
+ (parameters
+ '("gboolean" "auto_expand")
+ '("const-gunichar2*" "value_name")
+ '("GWin32RegistryValueType*" "value_type")
+ '("gpointer*" "value_data")
+ '("gsize*" "value_data_size")
+ '("GError**" "error")
+ )
+)
+
+(define-method get_path
+ (of-object "GWin32RegistryKey")
+ (c-name "g_win32_registry_key_get_path")
+ (return-type "const-gchar*")
+)
+
+(define-method get_path_w
+ (of-object "GWin32RegistryKey")
+ (c-name "g_win32_registry_key_get_path_w")
+ (return-type "const-gunichar2*")
+)
+
+(define-method watch
+ (of-object "GWin32RegistryKey")
+ (c-name "g_win32_registry_key_watch")
+ (return-type "gboolean")
+ (parameters
+ '("gboolean" "watch_children")
+ '("GWin32RegistryKeyWatcherFlags" "watch_flags")
+ '("GWin32RegistryKeyWatchCallbackFunc" "callback")
+ '("gpointer" "user_data")
+ '("GError**" "error")
+ )
+)
+
+(define-method has_changed
+ (of-object "GWin32RegistryKey")
+ (c-name "g_win32_registry_key_has_changed")
+ (return-type "gboolean")
+)
+
+(define-method erase_change_indicator
+ (of-object "GWin32RegistryKey")
+ (c-name "g_win32_registry_key_erase_change_indicator")
+ (return-type "none")
+)
+
+
+
;; From gwin32volumemonitor.h