
;; Objects for namespace Gio

(define-object ActionEntry
  (in-module "Gio")
  (c-name "GActionEntry")
  (gtype-id "G_TYPE_ACTION_ENTRY")
)

(define-object ActionGroupInterface
  (in-module "Gio")
  (c-name "GActionGroupInterface")
  (gtype-id "G_TYPE_ACTION_GROUP_INTERFACE")
)

(define-object ActionInterface
  (in-module "Gio")
  (c-name "GActionInterface")
  (gtype-id "G_TYPE_ACTION_INTERFACE")
)

(define-object ActionMapInterface
  (in-module "Gio")
  (c-name "GActionMapInterface")
  (gtype-id "G_TYPE_ACTION_MAP_INTERFACE")
)

(define-object AppInfoIface
  (in-module "Gio")
  (c-name "GAppInfoIface")
  (gtype-id "G_TYPE_APP_INFO_IFACE")
)

(define-object AppLaunchContextClass
  (in-module "Gio")
  (c-name "GAppLaunchContextClass")
  (gtype-id "G_TYPE_APP_LAUNCH_CONTEXT_CLASS")
)

(define-object AppLaunchContextPrivate
  (in-module "Gio")
  (c-name "GAppLaunchContextPrivate")
  (gtype-id "G_TYPE_APP_LAUNCH_CONTEXT_PRIVATE")
)

(define-object ApplicationClass
  (in-module "Gio")
  (c-name "GApplicationClass")
  (gtype-id "G_TYPE_APPLICATION_CLASS")
)

(define-object ApplicationCommandLineClass
  (in-module "Gio")
  (c-name "GApplicationCommandLineClass")
  (gtype-id "G_TYPE_APPLICATION_COMMAND_LINE_CLASS")
)

(define-object ApplicationCommandLinePrivate
  (in-module "Gio")
  (c-name "GApplicationCommandLinePrivate")
  (gtype-id "G_TYPE_APPLICATION_COMMAND_LINE_PRIVATE")
)

(define-object ApplicationPrivate
  (in-module "Gio")
  (c-name "GApplicationPrivate")
  (gtype-id "G_TYPE_APPLICATION_PRIVATE")
)

(define-object AsyncInitableIface
  (in-module "Gio")
  (c-name "GAsyncInitableIface")
  (gtype-id "G_TYPE_ASYNC_INITABLE_IFACE")
)

(define-object AsyncResultIface
  (in-module "Gio")
  (c-name "GAsyncResultIface")
  (gtype-id "G_TYPE_ASYNC_RESULT_IFACE")
)

(define-object BufferedInputStreamClass
  (in-module "Gio")
  (c-name "GBufferedInputStreamClass")
  (gtype-id "G_TYPE_BUFFERED_INPUT_STREAM_CLASS")
)

(define-object BufferedInputStreamPrivate
  (in-module "Gio")
  (c-name "GBufferedInputStreamPrivate")
  (gtype-id "G_TYPE_BUFFERED_INPUT_STREAM_PRIVATE")
)

(define-object BufferedOutputStreamClass
  (in-module "Gio")
  (c-name "GBufferedOutputStreamClass")
  (gtype-id "G_TYPE_BUFFERED_OUTPUT_STREAM_CLASS")
)

(define-object BufferedOutputStreamPrivate
  (in-module "Gio")
  (c-name "GBufferedOutputStreamPrivate")
  (gtype-id "G_TYPE_BUFFERED_OUTPUT_STREAM_PRIVATE")
)

(define-object CancellableClass
  (in-module "Gio")
  (c-name "GCancellableClass")
  (gtype-id "G_TYPE_CANCELLABLE_CLASS")
)

(define-object CancellablePrivate
  (in-module "Gio")
  (c-name "GCancellablePrivate")
  (gtype-id "G_TYPE_CANCELLABLE_PRIVATE")
)

(define-object CharsetConverterClass
  (in-module "Gio")
  (c-name "GCharsetConverterClass")
  (gtype-id "G_TYPE_CHARSET_CONVERTER_CLASS")
)

(define-object ConverterIface
  (in-module "Gio")
  (c-name "GConverterIface")
  (gtype-id "G_TYPE_CONVERTER_IFACE")
)

(define-object ConverterInputStreamClass
  (in-module "Gio")
  (c-name "GConverterInputStreamClass")
  (gtype-id "G_TYPE_CONVERTER_INPUT_STREAM_CLASS")
)

(define-object ConverterInputStreamPrivate
  (in-module "Gio")
  (c-name "GConverterInputStreamPrivate")
  (gtype-id "G_TYPE_CONVERTER_INPUT_STREAM_PRIVATE")
)

(define-object ConverterOutputStreamClass
  (in-module "Gio")
  (c-name "GConverterOutputStreamClass")
  (gtype-id "G_TYPE_CONVERTER_OUTPUT_STREAM_CLASS")
)

(define-object ConverterOutputStreamPrivate
  (in-module "Gio")
  (c-name "GConverterOutputStreamPrivate")
  (gtype-id "G_TYPE_CONVERTER_OUTPUT_STREAM_PRIVATE")
)

(define-object CredentialsClass
  (in-module "Gio")
  (c-name "GCredentialsClass")
  (gtype-id "G_TYPE_CREDENTIALS_CLASS")
)

(define-object DBusAnnotationInfo
  (in-module "Gio")
  (c-name "GDBusAnnotationInfo")
  (gtype-id "G_TYPE_DBUS_ANNOTATION_INFO")
)

(define-object DBusArgInfo
  (in-module "Gio")
  (c-name "GDBusArgInfo")
  (gtype-id "G_TYPE_DBUS_ARG_INFO")
)

(define-object DBusErrorEntry
  (in-module "Gio")
  (c-name "GDBusErrorEntry")
  (gtype-id "G_TYPE_DBUS_ERROR_ENTRY")
)

(define-object DBusInterfaceIface
  (in-module "Gio")
  (c-name "GDBusInterfaceIface")
  (gtype-id "G_TYPE_DBUS_INTERFACE_IFACE")
)

(define-object DBusInterfaceInfo
  (in-module "Gio")
  (c-name "GDBusInterfaceInfo")
  (gtype-id "G_TYPE_DBUS_INTERFACE_INFO")
)

(define-object DBusInterfaceSkeletonClass
  (in-module "Gio")
  (c-name "GDBusInterfaceSkeletonClass")
  (gtype-id "G_TYPE_DBUS_INTERFACE_SKELETON_CLASS")
)

(define-object DBusInterfaceSkeletonPrivate
  (in-module "Gio")
  (c-name "GDBusInterfaceSkeletonPrivate")
  (gtype-id "G_TYPE_DBUS_INTERFACE_SKELETON_PRIVATE")
)

(define-object DBusInterfaceVTable
  (in-module "Gio")
  (c-name "GDBusInterfaceVTable")
  (gtype-id "G_TYPE_DBUS_INTERFACE_VTABLE")
)

(define-object DBusMethodInfo
  (in-module "Gio")
  (c-name "GDBusMethodInfo")
  (gtype-id "G_TYPE_DBUS_METHOD_INFO")
)

(define-object DBusNodeInfo
  (in-module "Gio")
  (c-name "GDBusNodeInfo")
  (gtype-id "G_TYPE_DBUS_NODE_INFO")
)

(define-object DBusObjectIface
  (in-module "Gio")
  (c-name "GDBusObjectIface")
  (gtype-id "G_TYPE_DBUS_OBJECT_IFACE")
)

(define-object DBusObjectManagerClientClass
  (in-module "Gio")
  (c-name "GDBusObjectManagerClientClass")
  (gtype-id "G_TYPE_DBUS_OBJECT_MANAGER_CLIENT_CLASS")
)

(define-object DBusObjectManagerClientPrivate
  (in-module "Gio")
  (c-name "GDBusObjectManagerClientPrivate")
  (gtype-id "G_TYPE_DBUS_OBJECT_MANAGER_CLIENT_PRIVATE")
)

(define-object DBusObjectManagerIface
  (in-module "Gio")
  (c-name "GDBusObjectManagerIface")
  (gtype-id "G_TYPE_DBUS_OBJECT_MANAGER_IFACE")
)

(define-object DBusObjectManagerServerClass
  (in-module "Gio")
  (c-name "GDBusObjectManagerServerClass")
  (gtype-id "G_TYPE_DBUS_OBJECT_MANAGER_SERVER_CLASS")
)

(define-object DBusObjectManagerServerPrivate
  (in-module "Gio")
  (c-name "GDBusObjectManagerServerPrivate")
  (gtype-id "G_TYPE_DBUS_OBJECT_MANAGER_SERVER_PRIVATE")
)

(define-object DBusObjectProxyClass
  (in-module "Gio")
  (c-name "GDBusObjectProxyClass")
  (gtype-id "G_TYPE_DBUS_OBJECT_PROXY_CLASS")
)

(define-object DBusObjectProxyPrivate
  (in-module "Gio")
  (c-name "GDBusObjectProxyPrivate")
  (gtype-id "G_TYPE_DBUS_OBJECT_PROXY_PRIVATE")
)

(define-object DBusObjectSkeletonClass
  (in-module "Gio")
  (c-name "GDBusObjectSkeletonClass")
  (gtype-id "G_TYPE_DBUS_OBJECT_SKELETON_CLASS")
)

(define-object DBusObjectSkeletonPrivate
  (in-module "Gio")
  (c-name "GDBusObjectSkeletonPrivate")
  (gtype-id "G_TYPE_DBUS_OBJECT_SKELETON_PRIVATE")
)

(define-object DBusPropertyInfo
  (in-module "Gio")
  (c-name "GDBusPropertyInfo")
  (gtype-id "G_TYPE_DBUS_PROPERTY_INFO")
)

(define-object DBusProxyClass
  (in-module "Gio")
  (c-name "GDBusProxyClass")
  (gtype-id "G_TYPE_DBUS_PROXY_CLASS")
)

(define-object DBusProxyPrivate
  (in-module "Gio")
  (c-name "GDBusProxyPrivate")
  (gtype-id "G_TYPE_DBUS_PROXY_PRIVATE")
)

(define-object DBusSignalInfo
  (in-module "Gio")
  (c-name "GDBusSignalInfo")
  (gtype-id "G_TYPE_DBUS_SIGNAL_INFO")
)

(define-object DBusSubtreeVTable
  (in-module "Gio")
  (c-name "GDBusSubtreeVTable")
  (gtype-id "G_TYPE_DBUS_SUBTREE_VTABLE")
)

(define-object DataInputStreamClass
  (in-module "Gio")
  (c-name "GDataInputStreamClass")
  (gtype-id "G_TYPE_DATA_INPUT_STREAM_CLASS")
)

(define-object DataInputStreamPrivate
  (in-module "Gio")
  (c-name "GDataInputStreamPrivate")
  (gtype-id "G_TYPE_DATA_INPUT_STREAM_PRIVATE")
)

(define-object DataOutputStreamClass
  (in-module "Gio")
  (c-name "GDataOutputStreamClass")
  (gtype-id "G_TYPE_DATA_OUTPUT_STREAM_CLASS")
)

(define-object DataOutputStreamPrivate
  (in-module "Gio")
  (c-name "GDataOutputStreamPrivate")
  (gtype-id "G_TYPE_DATA_OUTPUT_STREAM_PRIVATE")
)

(define-object DatagramBasedInterface
  (in-module "Gio")
  (c-name "GDatagramBasedInterface")
  (gtype-id "G_TYPE_DATAGRAM_BASED_INTERFACE")
)

(define-object DebugControllerDBusClass
  (in-module "Gio")
  (c-name "GDebugControllerDBusClass")
  (gtype-id "G_TYPE_DEBUG_CONTROLLER_DBUS_CLASS")
)

(define-object DebugControllerInterface
  (in-module "Gio")
  (c-name "GDebugControllerInterface")
  (gtype-id "G_TYPE_DEBUG_CONTROLLER_INTERFACE")
)

(define-object DriveIface
  (in-module "Gio")
  (c-name "GDriveIface")
  (gtype-id "G_TYPE_DRIVE_IFACE")
)

(define-object DtlsClientConnectionInterface
  (in-module "Gio")
  (c-name "GDtlsClientConnectionInterface")
  (gtype-id "G_TYPE_DTLS_CLIENT_CONNECTION_INTERFACE")
)

(define-object DtlsConnectionInterface
  (in-module "Gio")
  (c-name "GDtlsConnectionInterface")
  (gtype-id "G_TYPE_DTLS_CONNECTION_INTERFACE")
)

(define-object DtlsServerConnectionInterface
  (in-module "Gio")
  (c-name "GDtlsServerConnectionInterface")
  (gtype-id "G_TYPE_DTLS_SERVER_CONNECTION_INTERFACE")
)

(define-object EmblemClass
  (in-module "Gio")
  (c-name "GEmblemClass")
  (gtype-id "G_TYPE_EMBLEM_CLASS")
)

(define-object EmblemedIconClass
  (in-module "Gio")
  (c-name "GEmblemedIconClass")
  (gtype-id "G_TYPE_EMBLEMED_ICON_CLASS")
)

(define-object EmblemedIconPrivate
  (in-module "Gio")
  (c-name "GEmblemedIconPrivate")
  (gtype-id "G_TYPE_EMBLEMED_ICON_PRIVATE")
)

(define-object FileAttributeInfo
  (in-module "Gio")
  (c-name "GFileAttributeInfo")
  (gtype-id "G_TYPE_FILE_ATTRIBUTE_INFO")
)

(define-object FileAttributeInfoList
  (in-module "Gio")
  (c-name "GFileAttributeInfoList")
  (gtype-id "G_TYPE_FILE_ATTRIBUTE_INFO_LIST")
)

(define-object FileAttributeMatcher
  (in-module "Gio")
  (c-name "GFileAttributeMatcher")
  (gtype-id "G_TYPE_FILE_ATTRIBUTE_MATCHER")
)

(define-object FileEnumeratorClass
  (in-module "Gio")
  (c-name "GFileEnumeratorClass")
  (gtype-id "G_TYPE_FILE_ENUMERATOR_CLASS")
)

(define-object FileEnumeratorPrivate
  (in-module "Gio")
  (c-name "GFileEnumeratorPrivate")
  (gtype-id "G_TYPE_FILE_ENUMERATOR_PRIVATE")
)

(define-object FileIOStreamClass
  (in-module "Gio")
  (c-name "GFileIOStreamClass")
  (gtype-id "G_TYPE_FILE_IO_STREAM_CLASS")
)

(define-object FileIOStreamPrivate
  (in-module "Gio")
  (c-name "GFileIOStreamPrivate")
  (gtype-id "G_TYPE_FILE_IO_STREAM_PRIVATE")
)

(define-object FileIconClass
  (in-module "Gio")
  (c-name "GFileIconClass")
  (gtype-id "G_TYPE_FILE_ICON_CLASS")
)

(define-object FileIface
  (in-module "Gio")
  (c-name "GFileIface")
  (gtype-id "G_TYPE_FILE_IFACE")
)

(define-object FileInfoClass
  (in-module "Gio")
  (c-name "GFileInfoClass")
  (gtype-id "G_TYPE_FILE_INFO_CLASS")
)

(define-object FileInputStreamClass
  (in-module "Gio")
  (c-name "GFileInputStreamClass")
  (gtype-id "G_TYPE_FILE_INPUT_STREAM_CLASS")
)

(define-object FileInputStreamPrivate
  (in-module "Gio")
  (c-name "GFileInputStreamPrivate")
  (gtype-id "G_TYPE_FILE_INPUT_STREAM_PRIVATE")
)

(define-object FileMonitorClass
  (in-module "Gio")
  (c-name "GFileMonitorClass")
  (gtype-id "G_TYPE_FILE_MONITOR_CLASS")
)

(define-object FileMonitorPrivate
  (in-module "Gio")
  (c-name "GFileMonitorPrivate")
  (gtype-id "G_TYPE_FILE_MONITOR_PRIVATE")
)

(define-object FileOutputStreamClass
  (in-module "Gio")
  (c-name "GFileOutputStreamClass")
  (gtype-id "G_TYPE_FILE_OUTPUT_STREAM_CLASS")
)

(define-object FileOutputStreamPrivate
  (in-module "Gio")
  (c-name "GFileOutputStreamPrivate")
  (gtype-id "G_TYPE_FILE_OUTPUT_STREAM_PRIVATE")
)

(define-object FilenameCompleterClass
  (in-module "Gio")
  (c-name "GFilenameCompleterClass")
  (gtype-id "G_TYPE_FILENAME_COMPLETER_CLASS")
)

(define-object FilterInputStreamClass
  (in-module "Gio")
  (c-name "GFilterInputStreamClass")
  (gtype-id "G_TYPE_FILTER_INPUT_STREAM_CLASS")
)

(define-object FilterOutputStreamClass
  (in-module "Gio")
  (c-name "GFilterOutputStreamClass")
  (gtype-id "G_TYPE_FILTER_OUTPUT_STREAM_CLASS")
)

(define-object IOExtension
  (in-module "Gio")
  (c-name "GIOExtension")
  (gtype-id "G_TYPE_IO_EXTENSION")
)

(define-object IOExtensionPoint
  (in-module "Gio")
  (c-name "GIOExtensionPoint")
  (gtype-id "G_TYPE_IO_EXTENSION_POINT")
)

(define-object IOModuleClass
  (in-module "Gio")
  (c-name "GIOModuleClass")
  (gtype-id "G_TYPE_IO_MODULE_CLASS")
)

(define-object IOModuleScope
  (in-module "Gio")
  (c-name "GIOModuleScope")
  (gtype-id "G_TYPE_IO_MODULE_SCOPE")
)

(define-object IOSchedulerJob
  (in-module "Gio")
  (c-name "GIOSchedulerJob")
  (gtype-id "G_TYPE_IO_SCHEDULER_JOB")
)

(define-object IOStreamAdapter
  (in-module "Gio")
  (c-name "GIOStreamAdapter")
  (gtype-id "G_TYPE_IO_STREAM_ADAPTER")
)

(define-object IOStreamClass
  (in-module "Gio")
  (c-name "GIOStreamClass")
  (gtype-id "G_TYPE_IO_STREAM_CLASS")
)

(define-object IOStreamPrivate
  (in-module "Gio")
  (c-name "GIOStreamPrivate")
  (gtype-id "G_TYPE_IO_STREAM_PRIVATE")
)

(define-object IPTosMessageClass
  (in-module "Gio")
  (c-name "GIPTosMessageClass")
  (gtype-id "G_TYPE_IP_TOS_MESSAGE_CLASS")
)

(define-object IPv6TclassMessageClass
  (in-module "Gio")
  (c-name "GIPv6TclassMessageClass")
  (gtype-id "G_TYPE_IPV6_TCLASS_MESSAGE_CLASS")
)

(define-object IconIface
  (in-module "Gio")
  (c-name "GIconIface")
  (gtype-id "G_TYPE_ICON_IFACE")
)

(define-object InetAddressClass
  (in-module "Gio")
  (c-name "GInetAddressClass")
  (gtype-id "G_TYPE_INET_ADDRESS_CLASS")
)

(define-object InetAddressMaskClass
  (in-module "Gio")
  (c-name "GInetAddressMaskClass")
  (gtype-id "G_TYPE_INET_ADDRESS_MASK_CLASS")
)

(define-object InetAddressMaskPrivate
  (in-module "Gio")
  (c-name "GInetAddressMaskPrivate")
  (gtype-id "G_TYPE_INET_ADDRESS_MASK_PRIVATE")
)

(define-object InetAddressPrivate
  (in-module "Gio")
  (c-name "GInetAddressPrivate")
  (gtype-id "G_TYPE_INET_ADDRESS_PRIVATE")
)

(define-object InetSocketAddressClass
  (in-module "Gio")
  (c-name "GInetSocketAddressClass")
  (gtype-id "G_TYPE_INET_SOCKET_ADDRESS_CLASS")
)

(define-object InetSocketAddressPrivate
  (in-module "Gio")
  (c-name "GInetSocketAddressPrivate")
  (gtype-id "G_TYPE_INET_SOCKET_ADDRESS_PRIVATE")
)

(define-object InitableIface
  (in-module "Gio")
  (c-name "GInitableIface")
  (gtype-id "G_TYPE_INITABLE_IFACE")
)

(define-object InputMessage
  (in-module "Gio")
  (c-name "GInputMessage")
  (gtype-id "G_TYPE_INPUT_MESSAGE")
)

(define-object InputStreamClass
  (in-module "Gio")
  (c-name "GInputStreamClass")
  (gtype-id "G_TYPE_INPUT_STREAM_CLASS")
)

(define-object InputStreamPrivate
  (in-module "Gio")
  (c-name "GInputStreamPrivate")
  (gtype-id "G_TYPE_INPUT_STREAM_PRIVATE")
)

(define-object InputVector
  (in-module "Gio")
  (c-name "GInputVector")
  (gtype-id "G_TYPE_INPUT_VECTOR")
)

(define-object ListModelInterface
  (in-module "Gio")
  (c-name "GListModelInterface")
  (gtype-id "G_TYPE_LIST_MODEL_INTERFACE")
)

(define-object ListStoreClass
  (in-module "Gio")
  (c-name "GListStoreClass")
  (gtype-id "G_TYPE_LIST_STORE_CLASS")
)

(define-object LoadableIconIface
  (in-module "Gio")
  (c-name "GLoadableIconIface")
  (gtype-id "G_TYPE_LOADABLE_ICON_IFACE")
)

(define-object MemoryInputStreamClass
  (in-module "Gio")
  (c-name "GMemoryInputStreamClass")
  (gtype-id "G_TYPE_MEMORY_INPUT_STREAM_CLASS")
)

(define-object MemoryInputStreamPrivate
  (in-module "Gio")
  (c-name "GMemoryInputStreamPrivate")
  (gtype-id "G_TYPE_MEMORY_INPUT_STREAM_PRIVATE")
)

(define-object MemoryMonitorInterface
  (in-module "Gio")
  (c-name "GMemoryMonitorInterface")
  (gtype-id "G_TYPE_MEMORY_MONITOR_INTERFACE")
)

(define-object MemoryOutputStreamClass
  (in-module "Gio")
  (c-name "GMemoryOutputStreamClass")
  (gtype-id "G_TYPE_MEMORY_OUTPUT_STREAM_CLASS")
)

(define-object MemoryOutputStreamPrivate
  (in-module "Gio")
  (c-name "GMemoryOutputStreamPrivate")
  (gtype-id "G_TYPE_MEMORY_OUTPUT_STREAM_PRIVATE")
)

(define-object MenuAttributeIterClass
  (in-module "Gio")
  (c-name "GMenuAttributeIterClass")
  (gtype-id "G_TYPE_MENU_ATTRIBUTE_ITER_CLASS")
)

(define-object MenuAttributeIterPrivate
  (in-module "Gio")
  (c-name "GMenuAttributeIterPrivate")
  (gtype-id "G_TYPE_MENU_ATTRIBUTE_ITER_PRIVATE")
)

(define-object MenuLinkIterClass
  (in-module "Gio")
  (c-name "GMenuLinkIterClass")
  (gtype-id "G_TYPE_MENU_LINK_ITER_CLASS")
)

(define-object MenuLinkIterPrivate
  (in-module "Gio")
  (c-name "GMenuLinkIterPrivate")
  (gtype-id "G_TYPE_MENU_LINK_ITER_PRIVATE")
)

(define-object MenuModelClass
  (in-module "Gio")
  (c-name "GMenuModelClass")
  (gtype-id "G_TYPE_MENU_MODEL_CLASS")
)

(define-object MenuModelPrivate
  (in-module "Gio")
  (c-name "GMenuModelPrivate")
  (gtype-id "G_TYPE_MENU_MODEL_PRIVATE")
)

(define-object MountIface
  (in-module "Gio")
  (c-name "GMountIface")
  (gtype-id "G_TYPE_MOUNT_IFACE")
)

(define-object MountOperationClass
  (in-module "Gio")
  (c-name "GMountOperationClass")
  (gtype-id "G_TYPE_MOUNT_OPERATION_CLASS")
)

(define-object MountOperationPrivate
  (in-module "Gio")
  (c-name "GMountOperationPrivate")
  (gtype-id "G_TYPE_MOUNT_OPERATION_PRIVATE")
)

(define-object NativeSocketAddressClass
  (in-module "Gio")
  (c-name "GNativeSocketAddressClass")
  (gtype-id "G_TYPE_NATIVE_SOCKET_ADDRESS_CLASS")
)

(define-object NativeSocketAddressPrivate
  (in-module "Gio")
  (c-name "GNativeSocketAddressPrivate")
  (gtype-id "G_TYPE_NATIVE_SOCKET_ADDRESS_PRIVATE")
)

(define-object NativeVolumeMonitorClass
  (in-module "Gio")
  (c-name "GNativeVolumeMonitorClass")
  (gtype-id "G_TYPE_NATIVE_VOLUME_MONITOR_CLASS")
)

(define-object NetworkAddressClass
  (in-module "Gio")
  (c-name "GNetworkAddressClass")
  (gtype-id "G_TYPE_NETWORK_ADDRESS_CLASS")
)

(define-object NetworkAddressPrivate
  (in-module "Gio")
  (c-name "GNetworkAddressPrivate")
  (gtype-id "G_TYPE_NETWORK_ADDRESS_PRIVATE")
)

(define-object NetworkMonitorInterface
  (in-module "Gio")
  (c-name "GNetworkMonitorInterface")
  (gtype-id "G_TYPE_NETWORK_MONITOR_INTERFACE")
)

(define-object NetworkServiceClass
  (in-module "Gio")
  (c-name "GNetworkServiceClass")
  (gtype-id "G_TYPE_NETWORK_SERVICE_CLASS")
)

(define-object NetworkServicePrivate
  (in-module "Gio")
  (c-name "GNetworkServicePrivate")
  (gtype-id "G_TYPE_NETWORK_SERVICE_PRIVATE")
)

(define-object OutputMessage
  (in-module "Gio")
  (c-name "GOutputMessage")
  (gtype-id "G_TYPE_OUTPUT_MESSAGE")
)

(define-object OutputStreamClass
  (in-module "Gio")
  (c-name "GOutputStreamClass")
  (gtype-id "G_TYPE_OUTPUT_STREAM_CLASS")
)

(define-object OutputStreamPrivate
  (in-module "Gio")
  (c-name "GOutputStreamPrivate")
  (gtype-id "G_TYPE_OUTPUT_STREAM_PRIVATE")
)

(define-object OutputVector
  (in-module "Gio")
  (c-name "GOutputVector")
  (gtype-id "G_TYPE_OUTPUT_VECTOR")
)

(define-object PermissionClass
  (in-module "Gio")
  (c-name "GPermissionClass")
  (gtype-id "G_TYPE_PERMISSION_CLASS")
)

(define-object PermissionPrivate
  (in-module "Gio")
  (c-name "GPermissionPrivate")
  (gtype-id "G_TYPE_PERMISSION_PRIVATE")
)

(define-object PollableInputStreamInterface
  (in-module "Gio")
  (c-name "GPollableInputStreamInterface")
  (gtype-id "G_TYPE_POLLABLE_INPUT_STREAM_INTERFACE")
)

(define-object PollableOutputStreamInterface
  (in-module "Gio")
  (c-name "GPollableOutputStreamInterface")
  (gtype-id "G_TYPE_POLLABLE_OUTPUT_STREAM_INTERFACE")
)

(define-object PowerProfileMonitorInterface
  (in-module "Gio")
  (c-name "GPowerProfileMonitorInterface")
  (gtype-id "G_TYPE_POWER_PROFILE_MONITOR_INTERFACE")
)

(define-object ProxyAddressClass
  (in-module "Gio")
  (c-name "GProxyAddressClass")
  (gtype-id "G_TYPE_PROXY_ADDRESS_CLASS")
)

(define-object ProxyAddressEnumeratorClass
  (in-module "Gio")
  (c-name "GProxyAddressEnumeratorClass")
  (gtype-id "G_TYPE_PROXY_ADDRESS_ENUMERATOR_CLASS")
)

(define-object ProxyAddressEnumeratorPrivate
  (in-module "Gio")
  (c-name "GProxyAddressEnumeratorPrivate")
  (gtype-id "G_TYPE_PROXY_ADDRESS_ENUMERATOR_PRIVATE")
)

(define-object ProxyAddressPrivate
  (in-module "Gio")
  (c-name "GProxyAddressPrivate")
  (gtype-id "G_TYPE_PROXY_ADDRESS_PRIVATE")
)

(define-object ProxyInterface
  (in-module "Gio")
  (c-name "GProxyInterface")
  (gtype-id "G_TYPE_PROXY_INTERFACE")
)

(define-object ProxyResolverInterface
  (in-module "Gio")
  (c-name "GProxyResolverInterface")
  (gtype-id "G_TYPE_PROXY_RESOLVER_INTERFACE")
)

(define-object RemoteActionGroupInterface
  (in-module "Gio")
  (c-name "GRemoteActionGroupInterface")
  (gtype-id "G_TYPE_REMOTE_ACTION_GROUP_INTERFACE")
)

(define-object ResolverClass
  (in-module "Gio")
  (c-name "GResolverClass")
  (gtype-id "G_TYPE_RESOLVER_CLASS")
)

(define-object ResolverPrivate
  (in-module "Gio")
  (c-name "GResolverPrivate")
  (gtype-id "G_TYPE_RESOLVER_PRIVATE")
)

(define-object Resource
  (in-module "Gio")
  (c-name "GResource")
  (gtype-id "G_TYPE_RESOURCE")
)

(define-object SeekableIface
  (in-module "Gio")
  (c-name "GSeekableIface")
  (gtype-id "G_TYPE_SEEKABLE_IFACE")
)

(define-object SettingsBackendClass
  (in-module "Gio")
  (c-name "GSettingsBackendClass")
  (gtype-id "G_TYPE_SETTINGS_BACKEND_CLASS")
)

(define-object SettingsBackendPrivate
  (in-module "Gio")
  (c-name "GSettingsBackendPrivate")
  (gtype-id "G_TYPE_SETTINGS_BACKEND_PRIVATE")
)

(define-object SettingsClass
  (in-module "Gio")
  (c-name "GSettingsClass")
  (gtype-id "G_TYPE_SETTINGS_CLASS")
)

(define-object SettingsPrivate
  (in-module "Gio")
  (c-name "GSettingsPrivate")
  (gtype-id "G_TYPE_SETTINGS_PRIVATE")
)

(define-object SettingsSchema
  (in-module "Gio")
  (c-name "GSettingsSchema")
  (gtype-id "G_TYPE_SETTINGS_SCHEMA")
)

(define-object SettingsSchemaKey
  (in-module "Gio")
  (c-name "GSettingsSchemaKey")
  (gtype-id "G_TYPE_SETTINGS_SCHEMA_KEY")
)

(define-object SettingsSchemaSource
  (in-module "Gio")
  (c-name "GSettingsSchemaSource")
  (gtype-id "G_TYPE_SETTINGS_SCHEMA_SOURCE")
)

(define-object SimpleActionGroupClass
  (in-module "Gio")
  (c-name "GSimpleActionGroupClass")
  (gtype-id "G_TYPE_SIMPLE_ACTION_GROUP_CLASS")
)

(define-object SimpleActionGroupPrivate
  (in-module "Gio")
  (c-name "GSimpleActionGroupPrivate")
  (gtype-id "G_TYPE_SIMPLE_ACTION_GROUP_PRIVATE")
)

(define-object SimpleAsyncResultClass
  (in-module "Gio")
  (c-name "GSimpleAsyncResultClass")
  (gtype-id "G_TYPE_SIMPLE_ASYNC_RESULT_CLASS")
)

(define-object SimpleProxyResolverClass
  (in-module "Gio")
  (c-name "GSimpleProxyResolverClass")
  (gtype-id "G_TYPE_SIMPLE_PROXY_RESOLVER_CLASS")
)

(define-object SimpleProxyResolverPrivate
  (in-module "Gio")
  (c-name "GSimpleProxyResolverPrivate")
  (gtype-id "G_TYPE_SIMPLE_PROXY_RESOLVER_PRIVATE")
)

(define-object SocketAddressClass
  (in-module "Gio")
  (c-name "GSocketAddressClass")
  (gtype-id "G_TYPE_SOCKET_ADDRESS_CLASS")
)

(define-object SocketAddressEnumeratorClass
  (in-module "Gio")
  (c-name "GSocketAddressEnumeratorClass")
  (gtype-id "G_TYPE_SOCKET_ADDRESS_ENUMERATOR_CLASS")
)

(define-object SocketClass
  (in-module "Gio")
  (c-name "GSocketClass")
  (gtype-id "G_TYPE_SOCKET_CLASS")
)

(define-object SocketClientClass
  (in-module "Gio")
  (c-name "GSocketClientClass")
  (gtype-id "G_TYPE_SOCKET_CLIENT_CLASS")
)

(define-object SocketClientPrivate
  (in-module "Gio")
  (c-name "GSocketClientPrivate")
  (gtype-id "G_TYPE_SOCKET_CLIENT_PRIVATE")
)

(define-object SocketConnectableIface
  (in-module "Gio")
  (c-name "GSocketConnectableIface")
  (gtype-id "G_TYPE_SOCKET_CONNECTABLE_IFACE")
)

(define-object SocketConnectionClass
  (in-module "Gio")
  (c-name "GSocketConnectionClass")
  (gtype-id "G_TYPE_SOCKET_CONNECTION_CLASS")
)

(define-object SocketConnectionPrivate
  (in-module "Gio")
  (c-name "GSocketConnectionPrivate")
  (gtype-id "G_TYPE_SOCKET_CONNECTION_PRIVATE")
)

(define-object SocketControlMessageClass
  (in-module "Gio")
  (c-name "GSocketControlMessageClass")
  (gtype-id "G_TYPE_SOCKET_CONTROL_MESSAGE_CLASS")
)

(define-object SocketControlMessagePrivate
  (in-module "Gio")
  (c-name "GSocketControlMessagePrivate")
  (gtype-id "G_TYPE_SOCKET_CONTROL_MESSAGE_PRIVATE")
)

(define-object SocketListenerClass
  (in-module "Gio")
  (c-name "GSocketListenerClass")
  (gtype-id "G_TYPE_SOCKET_LISTENER_CLASS")
)

(define-object SocketListenerPrivate
  (in-module "Gio")
  (c-name "GSocketListenerPrivate")
  (gtype-id "G_TYPE_SOCKET_LISTENER_PRIVATE")
)

(define-object SocketPrivate
  (in-module "Gio")
  (c-name "GSocketPrivate")
  (gtype-id "G_TYPE_SOCKET_PRIVATE")
)

(define-object SocketServiceClass
  (in-module "Gio")
  (c-name "GSocketServiceClass")
  (gtype-id "G_TYPE_SOCKET_SERVICE_CLASS")
)

(define-object SocketServicePrivate
  (in-module "Gio")
  (c-name "GSocketServicePrivate")
  (gtype-id "G_TYPE_SOCKET_SERVICE_PRIVATE")
)

(define-object SrvTarget
  (in-module "Gio")
  (c-name "GSrvTarget")
  (gtype-id "G_TYPE_SRV_TARGET")
)

(define-object StaticResource
  (in-module "Gio")
  (c-name "GStaticResource")
  (gtype-id "G_TYPE_STATIC_RESOURCE")
)

(define-object TaskClass
  (in-module "Gio")
  (c-name "GTaskClass")
  (gtype-id "G_TYPE_TASK_CLASS")
)

(define-object TcpConnectionClass
  (in-module "Gio")
  (c-name "GTcpConnectionClass")
  (gtype-id "G_TYPE_TCP_CONNECTION_CLASS")
)

(define-object TcpConnectionPrivate
  (in-module "Gio")
  (c-name "GTcpConnectionPrivate")
  (gtype-id "G_TYPE_TCP_CONNECTION_PRIVATE")
)

(define-object TcpWrapperConnectionClass
  (in-module "Gio")
  (c-name "GTcpWrapperConnectionClass")
  (gtype-id "G_TYPE_TCP_WRAPPER_CONNECTION_CLASS")
)

(define-object TcpWrapperConnectionPrivate
  (in-module "Gio")
  (c-name "GTcpWrapperConnectionPrivate")
  (gtype-id "G_TYPE_TCP_WRAPPER_CONNECTION_PRIVATE")
)

(define-object ThemedIconClass
  (in-module "Gio")
  (c-name "GThemedIconClass")
  (gtype-id "G_TYPE_THEMED_ICON_CLASS")
)

(define-object ThreadedResolverClass
  (in-module "Gio")
  (c-name "GThreadedResolverClass")
  (gtype-id "G_TYPE_THREADED_RESOLVER_CLASS")
)

(define-object ThreadedSocketServiceClass
  (in-module "Gio")
  (c-name "GThreadedSocketServiceClass")
  (gtype-id "G_TYPE_THREADED_SOCKET_SERVICE_CLASS")
)

(define-object ThreadedSocketServicePrivate
  (in-module "Gio")
  (c-name "GThreadedSocketServicePrivate")
  (gtype-id "G_TYPE_THREADED_SOCKET_SERVICE_PRIVATE")
)

(define-object TlsBackendInterface
  (in-module "Gio")
  (c-name "GTlsBackendInterface")
  (gtype-id "G_TYPE_TLS_BACKEND_INTERFACE")
)

(define-object TlsCertificateClass
  (in-module "Gio")
  (c-name "GTlsCertificateClass")
  (gtype-id "G_TYPE_TLS_CERTIFICATE_CLASS")
)

(define-object TlsCertificatePrivate
  (in-module "Gio")
  (c-name "GTlsCertificatePrivate")
  (gtype-id "G_TYPE_TLS_CERTIFICATE_PRIVATE")
)

(define-object TlsClientConnectionInterface
  (in-module "Gio")
  (c-name "GTlsClientConnectionInterface")
  (gtype-id "G_TYPE_TLS_CLIENT_CONNECTION_INTERFACE")
)

(define-object TlsConnectionClass
  (in-module "Gio")
  (c-name "GTlsConnectionClass")
  (gtype-id "G_TYPE_TLS_CONNECTION_CLASS")
)

(define-object TlsConnectionPrivate
  (in-module "Gio")
  (c-name "GTlsConnectionPrivate")
  (gtype-id "G_TYPE_TLS_CONNECTION_PRIVATE")
)

(define-object TlsDatabaseClass
  (in-module "Gio")
  (c-name "GTlsDatabaseClass")
  (gtype-id "G_TYPE_TLS_DATABASE_CLASS")
)

(define-object TlsDatabasePrivate
  (in-module "Gio")
  (c-name "GTlsDatabasePrivate")
  (gtype-id "G_TYPE_TLS_DATABASE_PRIVATE")
)

(define-object TlsFileDatabaseInterface
  (in-module "Gio")
  (c-name "GTlsFileDatabaseInterface")
  (gtype-id "G_TYPE_TLS_FILE_DATABASE_INTERFACE")
)

(define-object TlsInteractionClass
  (in-module "Gio")
  (c-name "GTlsInteractionClass")
  (gtype-id "G_TYPE_TLS_INTERACTION_CLASS")
)

(define-object TlsInteractionPrivate
  (in-module "Gio")
  (c-name "GTlsInteractionPrivate")
  (gtype-id "G_TYPE_TLS_INTERACTION_PRIVATE")
)

(define-object TlsPasswordClass
  (in-module "Gio")
  (c-name "GTlsPasswordClass")
  (gtype-id "G_TYPE_TLS_PASSWORD_CLASS")
)

(define-object TlsPasswordPrivate
  (in-module "Gio")
  (c-name "GTlsPasswordPrivate")
  (gtype-id "G_TYPE_TLS_PASSWORD_PRIVATE")
)

(define-object TlsServerConnectionInterface
  (in-module "Gio")
  (c-name "GTlsServerConnectionInterface")
  (gtype-id "G_TYPE_TLS_SERVER_CONNECTION_INTERFACE")
)

(define-object UnixConnectionClass
  (in-module "Gio")
  (c-name "GUnixConnectionClass")
  (gtype-id "G_TYPE_UNIX_CONNECTION_CLASS")
)

(define-object UnixConnectionPrivate
  (in-module "Gio")
  (c-name "GUnixConnectionPrivate")
  (gtype-id "G_TYPE_UNIX_CONNECTION_PRIVATE")
)

(define-object UnixCredentialsMessageClass
  (in-module "Gio")
  (c-name "GUnixCredentialsMessageClass")
  (gtype-id "G_TYPE_UNIX_CREDENTIALS_MESSAGE_CLASS")
)

(define-object UnixCredentialsMessagePrivate
  (in-module "Gio")
  (c-name "GUnixCredentialsMessagePrivate")
  (gtype-id "G_TYPE_UNIX_CREDENTIALS_MESSAGE_PRIVATE")
)

(define-object UnixFDListClass
  (in-module "Gio")
  (c-name "GUnixFDListClass")
  (gtype-id "G_TYPE_UNIX_FD_LIST_CLASS")
)

(define-object UnixFDListPrivate
  (in-module "Gio")
  (c-name "GUnixFDListPrivate")
  (gtype-id "G_TYPE_UNIX_FD_LIST_PRIVATE")
)

(define-object UnixSocketAddressClass
  (in-module "Gio")
  (c-name "GUnixSocketAddressClass")
  (gtype-id "G_TYPE_UNIX_SOCKET_ADDRESS_CLASS")
)

(define-object UnixSocketAddressPrivate
  (in-module "Gio")
  (c-name "GUnixSocketAddressPrivate")
  (gtype-id "G_TYPE_UNIX_SOCKET_ADDRESS_PRIVATE")
)

(define-object VfsClass
  (in-module "Gio")
  (c-name "GVfsClass")
  (gtype-id "G_TYPE_VFS_CLASS")
)

(define-object VolumeIface
  (in-module "Gio")
  (c-name "GVolumeIface")
  (gtype-id "G_TYPE_VOLUME_IFACE")
)

(define-object VolumeMonitorClass
  (in-module "Gio")
  (c-name "GVolumeMonitorClass")
  (gtype-id "G_TYPE_VOLUME_MONITOR_CLASS")
)

(define-object ZlibCompressorClass
  (in-module "Gio")
  (c-name "GZlibCompressorClass")
  (gtype-id "G_TYPE_ZLIB_COMPRESSOR_CLASS")
)

(define-object ZlibDecompressorClass
  (in-module "Gio")
  (c-name "GZlibDecompressorClass")
  (gtype-id "G_TYPE_ZLIB_DECOMPRESSOR_CLASS")
)

(define-object Action
  (in-module "Gio")
  (c-name "GAction")
  (gtype-id "G_TYPE_ACTION")
)

(define-object ActionGroup
  (in-module "Gio")
  (c-name "GActionGroup")
  (gtype-id "G_TYPE_ACTION_GROUP")
)

(define-object ActionMap
  (in-module "Gio")
  (c-name "GActionMap")
  (gtype-id "G_TYPE_ACTION_MAP")
)

(define-object AppInfo
  (in-module "Gio")
  (c-name "GAppInfo")
  (gtype-id "G_TYPE_APP_INFO")
)

(define-object AsyncInitable
  (in-module "Gio")
  (c-name "GAsyncInitable")
  (gtype-id "G_TYPE_ASYNC_INITABLE")
)

(define-object AsyncResult
  (in-module "Gio")
  (c-name "GAsyncResult")
  (gtype-id "G_TYPE_ASYNC_RESULT")
)

(define-object Converter
  (in-module "Gio")
  (c-name "GConverter")
  (gtype-id "G_TYPE_CONVERTER")
)

(define-object DBusInterface
  (in-module "Gio")
  (c-name "GDBusInterface")
  (gtype-id "G_TYPE_DBUS_INTERFACE")
)

(define-object DBusObject
  (in-module "Gio")
  (c-name "GDBusObject")
  (gtype-id "G_TYPE_DBUS_OBJECT")
)

(define-object DBusObjectManager
  (in-module "Gio")
  (c-name "GDBusObjectManager")
  (gtype-id "G_TYPE_DBUS_OBJECT_MANAGER")
)

(define-object DatagramBased
  (in-module "Gio")
  (c-name "GDatagramBased")
  (gtype-id "G_TYPE_DATAGRAM_BASED")
)

(define-object DebugController
  (in-module "Gio")
  (c-name "GDebugController")
  (gtype-id "G_TYPE_DEBUG_CONTROLLER")
)

(define-object Drive
  (in-module "Gio")
  (c-name "GDrive")
  (gtype-id "G_TYPE_DRIVE")
)

(define-object DtlsClientConnection
  (in-module "Gio")
  (c-name "GDtlsClientConnection")
  (gtype-id "G_TYPE_DTLS_CLIENT_CONNECTION")
)

(define-object DtlsConnection
  (in-module "Gio")
  (c-name "GDtlsConnection")
  (gtype-id "G_TYPE_DTLS_CONNECTION")
)

(define-object DtlsServerConnection
  (in-module "Gio")
  (c-name "GDtlsServerConnection")
  (gtype-id "G_TYPE_DTLS_SERVER_CONNECTION")
)

(define-object File
  (in-module "Gio")
  (c-name "GFile")
  (gtype-id "G_TYPE_FILE")
)

(define-object Icon
  (in-module "Gio")
  (c-name "GIcon")
  (gtype-id "G_TYPE_ICON")
)

(define-object Initable
  (in-module "Gio")
  (c-name "GInitable")
  (gtype-id "G_TYPE_INITABLE")
)

(define-object ListModel
  (in-module "Gio")
  (c-name "GListModel")
  (gtype-id "G_TYPE_LIST_MODEL")
)

(define-object LoadableIcon
  (in-module "Gio")
  (c-name "GLoadableIcon")
  (gtype-id "G_TYPE_LOADABLE_ICON")
)

(define-object MemoryMonitor
  (in-module "Gio")
  (c-name "GMemoryMonitor")
  (gtype-id "G_TYPE_MEMORY_MONITOR")
)

(define-object Mount
  (in-module "Gio")
  (c-name "GMount")
  (gtype-id "G_TYPE_MOUNT")
)

(define-object NetworkMonitor
  (in-module "Gio")
  (c-name "GNetworkMonitor")
  (gtype-id "G_TYPE_NETWORK_MONITOR")
)

(define-object PollableInputStream
  (in-module "Gio")
  (c-name "GPollableInputStream")
  (gtype-id "G_TYPE_POLLABLE_INPUT_STREAM")
)

(define-object PollableOutputStream
  (in-module "Gio")
  (c-name "GPollableOutputStream")
  (gtype-id "G_TYPE_POLLABLE_OUTPUT_STREAM")
)

(define-object PowerProfileMonitor
  (in-module "Gio")
  (c-name "GPowerProfileMonitor")
  (gtype-id "G_TYPE_POWER_PROFILE_MONITOR")
)

(define-object Proxy
  (in-module "Gio")
  (c-name "GProxy")
  (gtype-id "G_TYPE_PROXY")
)

(define-object ProxyResolver
  (in-module "Gio")
  (c-name "GProxyResolver")
  (gtype-id "G_TYPE_PROXY_RESOLVER")
)

(define-object RemoteActionGroup
  (in-module "Gio")
  (c-name "GRemoteActionGroup")
  (gtype-id "G_TYPE_REMOTE_ACTION_GROUP")
)

(define-object Seekable
  (in-module "Gio")
  (c-name "GSeekable")
  (gtype-id "G_TYPE_SEEKABLE")
)

(define-object SocketConnectable
  (in-module "Gio")
  (c-name "GSocketConnectable")
  (gtype-id "G_TYPE_SOCKET_CONNECTABLE")
)

(define-object TlsBackend
  (in-module "Gio")
  (c-name "GTlsBackend")
  (gtype-id "G_TYPE_TLS_BACKEND")
)

(define-object TlsClientConnection
  (in-module "Gio")
  (c-name "GTlsClientConnection")
  (gtype-id "G_TYPE_TLS_CLIENT_CONNECTION")
)

(define-object TlsFileDatabase
  (in-module "Gio")
  (c-name "GTlsFileDatabase")
  (gtype-id "G_TYPE_TLS_FILE_DATABASE")
)

(define-object TlsServerConnection
  (in-module "Gio")
  (c-name "GTlsServerConnection")
  (gtype-id "G_TYPE_TLS_SERVER_CONNECTION")
)

(define-object Volume
  (in-module "Gio")
  (c-name "GVolume")
  (gtype-id "G_TYPE_VOLUME")
)

(define-object AppInfoMonitor
  (in-module "Gio")
  (c-name "GAppInfoMonitor")
  (gtype-id "G_TYPE_APP_INFO_MONITOR")
)

(define-object AppLaunchContext
  (in-module "Gio")
  (c-name "GAppLaunchContext")
  (gtype-id "G_TYPE_APP_LAUNCH_CONTEXT")
)

(define-object Application
  (in-module "Gio")
  (c-name "GApplication")
  (gtype-id "G_TYPE_APPLICATION")
)

(define-object ApplicationCommandLine
  (in-module "Gio")
  (c-name "GApplicationCommandLine")
  (gtype-id "G_TYPE_APPLICATION_COMMAND_LINE")
)

(define-object BufferedInputStream
  (in-module "Gio")
  (c-name "GBufferedInputStream")
  (gtype-id "G_TYPE_BUFFERED_INPUT_STREAM")
)

(define-object BufferedOutputStream
  (in-module "Gio")
  (c-name "GBufferedOutputStream")
  (gtype-id "G_TYPE_BUFFERED_OUTPUT_STREAM")
)

(define-object BytesIcon
  (in-module "Gio")
  (c-name "GBytesIcon")
  (gtype-id "G_TYPE_BYTES_ICON")
)

(define-object Cancellable
  (in-module "Gio")
  (c-name "GCancellable")
  (gtype-id "G_TYPE_CANCELLABLE")
)

(define-object CharsetConverter
  (in-module "Gio")
  (c-name "GCharsetConverter")
  (gtype-id "G_TYPE_CHARSET_CONVERTER")
)

(define-object ConverterInputStream
  (in-module "Gio")
  (c-name "GConverterInputStream")
  (gtype-id "G_TYPE_CONVERTER_INPUT_STREAM")
)

(define-object ConverterOutputStream
  (in-module "Gio")
  (c-name "GConverterOutputStream")
  (gtype-id "G_TYPE_CONVERTER_OUTPUT_STREAM")
)

(define-object Credentials
  (in-module "Gio")
  (c-name "GCredentials")
  (gtype-id "G_TYPE_CREDENTIALS")
)

(define-object DBusActionGroup
  (in-module "Gio")
  (c-name "GDBusActionGroup")
  (gtype-id "G_TYPE_DBUS_ACTION_GROUP")
)

(define-object DBusAuthObserver
  (in-module "Gio")
  (c-name "GDBusAuthObserver")
  (gtype-id "G_TYPE_DBUS_AUTH_OBSERVER")
)

(define-object DBusConnection
  (in-module "Gio")
  (c-name "GDBusConnection")
  (gtype-id "G_TYPE_DBUS_CONNECTION")
)

(define-object DBusInterfaceSkeleton
  (in-module "Gio")
  (c-name "GDBusInterfaceSkeleton")
  (gtype-id "G_TYPE_DBUS_INTERFACE_SKELETON")
)

(define-object DBusMenuModel
  (in-module "Gio")
  (c-name "GDBusMenuModel")
  (gtype-id "G_TYPE_DBUS_MENU_MODEL")
)

(define-object DBusMessage
  (in-module "Gio")
  (c-name "GDBusMessage")
  (gtype-id "G_TYPE_DBUS_MESSAGE")
)

(define-object DBusMethodInvocation
  (in-module "Gio")
  (c-name "GDBusMethodInvocation")
  (gtype-id "G_TYPE_DBUS_METHOD_INVOCATION")
)

(define-object DBusObjectManagerClient
  (in-module "Gio")
  (c-name "GDBusObjectManagerClient")
  (gtype-id "G_TYPE_DBUS_OBJECT_MANAGER_CLIENT")
)

(define-object DBusObjectManagerServer
  (in-module "Gio")
  (c-name "GDBusObjectManagerServer")
  (gtype-id "G_TYPE_DBUS_OBJECT_MANAGER_SERVER")
)

(define-object DBusObjectProxy
  (in-module "Gio")
  (c-name "GDBusObjectProxy")
  (gtype-id "G_TYPE_DBUS_OBJECT_PROXY")
)

(define-object DBusObjectSkeleton
  (in-module "Gio")
  (c-name "GDBusObjectSkeleton")
  (gtype-id "G_TYPE_DBUS_OBJECT_SKELETON")
)

(define-object DBusProxy
  (in-module "Gio")
  (c-name "GDBusProxy")
  (gtype-id "G_TYPE_DBUS_PROXY")
)

(define-object DBusServer
  (in-module "Gio")
  (c-name "GDBusServer")
  (gtype-id "G_TYPE_DBUS_SERVER")
)

(define-object DataInputStream
  (in-module "Gio")
  (c-name "GDataInputStream")
  (gtype-id "G_TYPE_DATA_INPUT_STREAM")
)

(define-object DataOutputStream
  (in-module "Gio")
  (c-name "GDataOutputStream")
  (gtype-id "G_TYPE_DATA_OUTPUT_STREAM")
)

(define-object DebugControllerDBus
  (in-module "Gio")
  (c-name "GDebugControllerDBus")
  (gtype-id "G_TYPE_DEBUG_CONTROLLER_DBUS")
)

(define-object Emblem
  (in-module "Gio")
  (c-name "GEmblem")
  (gtype-id "G_TYPE_EMBLEM")
)

(define-object EmblemedIcon
  (in-module "Gio")
  (c-name "GEmblemedIcon")
  (gtype-id "G_TYPE_EMBLEMED_ICON")
)

(define-object FileEnumerator
  (in-module "Gio")
  (c-name "GFileEnumerator")
  (gtype-id "G_TYPE_FILE_ENUMERATOR")
)

(define-object FileIOStream
  (in-module "Gio")
  (c-name "GFileIOStream")
  (gtype-id "G_TYPE_FILE_IO_STREAM")
)

(define-object FileIcon
  (in-module "Gio")
  (c-name "GFileIcon")
  (gtype-id "G_TYPE_FILE_ICON")
)

(define-object FileInfo
  (in-module "Gio")
  (c-name "GFileInfo")
  (gtype-id "G_TYPE_FILE_INFO")
)

(define-object FileInputStream
  (in-module "Gio")
  (c-name "GFileInputStream")
  (gtype-id "G_TYPE_FILE_INPUT_STREAM")
)

(define-object FileMonitor
  (in-module "Gio")
  (c-name "GFileMonitor")
  (gtype-id "G_TYPE_FILE_MONITOR")
)

(define-object FileOutputStream
  (in-module "Gio")
  (c-name "GFileOutputStream")
  (gtype-id "G_TYPE_FILE_OUTPUT_STREAM")
)

(define-object FilenameCompleter
  (in-module "Gio")
  (c-name "GFilenameCompleter")
  (gtype-id "G_TYPE_FILENAME_COMPLETER")
)

(define-object FilterInputStream
  (in-module "Gio")
  (c-name "GFilterInputStream")
  (gtype-id "G_TYPE_FILTER_INPUT_STREAM")
)

(define-object FilterOutputStream
  (in-module "Gio")
  (c-name "GFilterOutputStream")
  (gtype-id "G_TYPE_FILTER_OUTPUT_STREAM")
)

(define-object IOModule
  (in-module "Gio")
  (c-name "GIOModule")
  (gtype-id "G_TYPE_IO_MODULE")
)

(define-object IOStream
  (in-module "Gio")
  (c-name "GIOStream")
  (gtype-id "G_TYPE_IO_STREAM")
)

(define-object IPTosMessage
  (in-module "Gio")
  (c-name "GIPTosMessage")
  (gtype-id "G_TYPE_IP_TOS_MESSAGE")
)

(define-object IPv6TclassMessage
  (in-module "Gio")
  (c-name "GIPv6TclassMessage")
  (gtype-id "G_TYPE_IPV6_TCLASS_MESSAGE")
)

(define-object InetAddress
  (in-module "Gio")
  (c-name "GInetAddress")
  (gtype-id "G_TYPE_INET_ADDRESS")
)

(define-object InetAddressMask
  (in-module "Gio")
  (c-name "GInetAddressMask")
  (gtype-id "G_TYPE_INET_ADDRESS_MASK")
)

(define-object InetSocketAddress
  (in-module "Gio")
  (c-name "GInetSocketAddress")
  (gtype-id "G_TYPE_INET_SOCKET_ADDRESS")
)

(define-object InputStream
  (in-module "Gio")
  (c-name "GInputStream")
  (gtype-id "G_TYPE_INPUT_STREAM")
)

(define-object ListStore
  (in-module "Gio")
  (c-name "GListStore")
  (gtype-id "G_TYPE_LIST_STORE")
)

(define-object MemoryInputStream
  (in-module "Gio")
  (c-name "GMemoryInputStream")
  (gtype-id "G_TYPE_MEMORY_INPUT_STREAM")
)

(define-object MemoryOutputStream
  (in-module "Gio")
  (c-name "GMemoryOutputStream")
  (gtype-id "G_TYPE_MEMORY_OUTPUT_STREAM")
)

(define-object Menu
  (in-module "Gio")
  (c-name "GMenu")
  (gtype-id "G_TYPE_MENU")
)

(define-object MenuAttributeIter
  (in-module "Gio")
  (c-name "GMenuAttributeIter")
  (gtype-id "G_TYPE_MENU_ATTRIBUTE_ITER")
)

(define-object MenuItem
  (in-module "Gio")
  (c-name "GMenuItem")
  (gtype-id "G_TYPE_MENU_ITEM")
)

(define-object MenuLinkIter
  (in-module "Gio")
  (c-name "GMenuLinkIter")
  (gtype-id "G_TYPE_MENU_LINK_ITER")
)

(define-object MenuModel
  (in-module "Gio")
  (c-name "GMenuModel")
  (gtype-id "G_TYPE_MENU_MODEL")
)

(define-object MountOperation
  (in-module "Gio")
  (c-name "GMountOperation")
  (gtype-id "G_TYPE_MOUNT_OPERATION")
)

(define-object NativeSocketAddress
  (in-module "Gio")
  (c-name "GNativeSocketAddress")
  (gtype-id "G_TYPE_NATIVE_SOCKET_ADDRESS")
)

(define-object NativeVolumeMonitor
  (in-module "Gio")
  (c-name "GNativeVolumeMonitor")
  (gtype-id "G_TYPE_NATIVE_VOLUME_MONITOR")
)

(define-object NetworkAddress
  (in-module "Gio")
  (c-name "GNetworkAddress")
  (gtype-id "G_TYPE_NETWORK_ADDRESS")
)

(define-object NetworkService
  (in-module "Gio")
  (c-name "GNetworkService")
  (gtype-id "G_TYPE_NETWORK_SERVICE")
)

(define-object Notification
  (in-module "Gio")
  (c-name "GNotification")
  (gtype-id "G_TYPE_NOTIFICATION")
)

(define-object OutputStream
  (in-module "Gio")
  (c-name "GOutputStream")
  (gtype-id "G_TYPE_OUTPUT_STREAM")
)

(define-object Permission
  (in-module "Gio")
  (c-name "GPermission")
  (gtype-id "G_TYPE_PERMISSION")
)

(define-object PropertyAction
  (in-module "Gio")
  (c-name "GPropertyAction")
  (gtype-id "G_TYPE_PROPERTY_ACTION")
)

(define-object ProxyAddress
  (in-module "Gio")
  (c-name "GProxyAddress")
  (gtype-id "G_TYPE_PROXY_ADDRESS")
)

(define-object ProxyAddressEnumerator
  (in-module "Gio")
  (c-name "GProxyAddressEnumerator")
  (gtype-id "G_TYPE_PROXY_ADDRESS_ENUMERATOR")
)

(define-object Resolver
  (in-module "Gio")
  (c-name "GResolver")
  (gtype-id "G_TYPE_RESOLVER")
)

(define-object Settings
  (in-module "Gio")
  (c-name "GSettings")
  (gtype-id "G_TYPE_SETTINGS")
)

(define-object SettingsBackend
  (in-module "Gio")
  (c-name "GSettingsBackend")
  (gtype-id "G_TYPE_SETTINGS_BACKEND")
)

(define-object SimpleAction
  (in-module "Gio")
  (c-name "GSimpleAction")
  (gtype-id "G_TYPE_SIMPLE_ACTION")
)

(define-object SimpleActionGroup
  (in-module "Gio")
  (c-name "GSimpleActionGroup")
  (gtype-id "G_TYPE_SIMPLE_ACTION_GROUP")
)

(define-object SimpleAsyncResult
  (in-module "Gio")
  (c-name "GSimpleAsyncResult")
  (gtype-id "G_TYPE_SIMPLE_ASYNC_RESULT")
)

(define-object SimpleIOStream
  (in-module "Gio")
  (c-name "GSimpleIOStream")
  (gtype-id "G_TYPE_SIMPLE_IO_STREAM")
)

(define-object SimplePermission
  (in-module "Gio")
  (c-name "GSimplePermission")
  (gtype-id "G_TYPE_SIMPLE_PERMISSION")
)

(define-object SimpleProxyResolver
  (in-module "Gio")
  (c-name "GSimpleProxyResolver")
  (gtype-id "G_TYPE_SIMPLE_PROXY_RESOLVER")
)

(define-object Socket
  (in-module "Gio")
  (c-name "GSocket")
  (gtype-id "G_TYPE_SOCKET")
)

(define-object SocketAddress
  (in-module "Gio")
  (c-name "GSocketAddress")
  (gtype-id "G_TYPE_SOCKET_ADDRESS")
)

(define-object SocketAddressEnumerator
  (in-module "Gio")
  (c-name "GSocketAddressEnumerator")
  (gtype-id "G_TYPE_SOCKET_ADDRESS_ENUMERATOR")
)

(define-object SocketClient
  (in-module "Gio")
  (c-name "GSocketClient")
  (gtype-id "G_TYPE_SOCKET_CLIENT")
)

(define-object SocketConnection
  (in-module "Gio")
  (c-name "GSocketConnection")
  (gtype-id "G_TYPE_SOCKET_CONNECTION")
)

(define-object SocketControlMessage
  (in-module "Gio")
  (c-name "GSocketControlMessage")
  (gtype-id "G_TYPE_SOCKET_CONTROL_MESSAGE")
)

(define-object SocketListener
  (in-module "Gio")
  (c-name "GSocketListener")
  (gtype-id "G_TYPE_SOCKET_LISTENER")
)

(define-object SocketService
  (in-module "Gio")
  (c-name "GSocketService")
  (gtype-id "G_TYPE_SOCKET_SERVICE")
)

(define-object Subprocess
  (in-module "Gio")
  (c-name "GSubprocess")
  (gtype-id "G_TYPE_SUBPROCESS")
)

(define-object SubprocessLauncher
  (in-module "Gio")
  (c-name "GSubprocessLauncher")
  (gtype-id "G_TYPE_SUBPROCESS_LAUNCHER")
)

(define-object Task
  (in-module "Gio")
  (c-name "GTask")
  (gtype-id "G_TYPE_TASK")
)

(define-object TcpConnection
  (in-module "Gio")
  (c-name "GTcpConnection")
  (gtype-id "G_TYPE_TCP_CONNECTION")
)

(define-object TcpWrapperConnection
  (in-module "Gio")
  (c-name "GTcpWrapperConnection")
  (gtype-id "G_TYPE_TCP_WRAPPER_CONNECTION")
)

(define-object TestDBus
  (in-module "Gio")
  (c-name "GTestDBus")
  (gtype-id "G_TYPE_TEST_DBUS")
)

(define-object ThemedIcon
  (in-module "Gio")
  (c-name "GThemedIcon")
  (gtype-id "G_TYPE_THEMED_ICON")
)

(define-object ThreadedResolver
  (in-module "Gio")
  (c-name "GThreadedResolver")
  (gtype-id "G_TYPE_THREADED_RESOLVER")
)

(define-object ThreadedSocketService
  (in-module "Gio")
  (c-name "GThreadedSocketService")
  (gtype-id "G_TYPE_THREADED_SOCKET_SERVICE")
)

(define-object TlsCertificate
  (in-module "Gio")
  (c-name "GTlsCertificate")
  (gtype-id "G_TYPE_TLS_CERTIFICATE")
)

(define-object TlsConnection
  (in-module "Gio")
  (c-name "GTlsConnection")
  (gtype-id "G_TYPE_TLS_CONNECTION")
)

(define-object TlsDatabase
  (in-module "Gio")
  (c-name "GTlsDatabase")
  (gtype-id "G_TYPE_TLS_DATABASE")
)

(define-object TlsInteraction
  (in-module "Gio")
  (c-name "GTlsInteraction")
  (gtype-id "G_TYPE_TLS_INTERACTION")
)

(define-object TlsPassword
  (in-module "Gio")
  (c-name "GTlsPassword")
  (gtype-id "G_TYPE_TLS_PASSWORD")
)

(define-object UnixConnection
  (in-module "Gio")
  (c-name "GUnixConnection")
  (gtype-id "G_TYPE_UNIX_CONNECTION")
)

(define-object UnixCredentialsMessage
  (in-module "Gio")
  (c-name "GUnixCredentialsMessage")
  (gtype-id "G_TYPE_UNIX_CREDENTIALS_MESSAGE")
)

(define-object UnixFDList
  (in-module "Gio")
  (c-name "GUnixFDList")
  (gtype-id "G_TYPE_UNIX_FD_LIST")
)

(define-object UnixSocketAddress
  (in-module "Gio")
  (c-name "GUnixSocketAddress")
  (gtype-id "G_TYPE_UNIX_SOCKET_ADDRESS")
)

(define-object Vfs
  (in-module "Gio")
  (c-name "GVfs")
  (gtype-id "G_TYPE_VFS")
)

(define-object VolumeMonitor
  (in-module "Gio")
  (c-name "GVolumeMonitor")
  (gtype-id "G_TYPE_VOLUME_MONITOR")
)

(define-object ZlibCompressor
  (in-module "Gio")
  (c-name "GZlibCompressor")
  (gtype-id "G_TYPE_ZLIB_COMPRESSOR")
)

(define-object ZlibDecompressor
  (in-module "Gio")
  (c-name "GZlibDecompressor")
  (gtype-id "G_TYPE_ZLIB_DECOMPRESSOR")
)


;; Functions for namespace Gio

(define-function g_clear_dbus_signal_subscription
  (c-name "g_clear_dbus_signal_subscription")
  (return-type "none")
  (parameters
    '("guint*" "subscription_id_pointer")
    '("GDBusConnection*" "connection")
  )
)

(define-function g_action_name_is_valid
  (c-name "g_action_name_is_valid")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "action_name")
  )
)

(define-function g_action_parse_detailed_name
  (c-name "g_action_parse_detailed_name")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "detailed_name")
    '("gchar**" "action_name")
    '("GVariant**" "target_value")
    '("GError**" "error")
  )
)

(define-function g_action_print_detailed_name
  (c-name "g_action_print_detailed_name")
  (return-type "gchar*")
  (parameters
    '("const-gchar*" "action_name")
    '("GVariant*" "target_value")
  )
)

(define-function g_app_info_create_from_commandline
  (c-name "g_app_info_create_from_commandline")
  (return-type "GAppInfo*")
  (parameters
    '("const-char*" "commandline")
    '("const-char*" "application_name")
    '("GAppInfoCreateFlags" "flags")
    '("GError**" "error")
  )
)

(define-function g_app_info_get_all
  (c-name "g_app_info_get_all")
  (return-type "GList*")
)

(define-function g_app_info_get_all_for_type
  (c-name "g_app_info_get_all_for_type")
  (return-type "GList*")
  (parameters
    '("const-char*" "content_type")
  )
)

(define-function g_app_info_get_default_for_type
  (c-name "g_app_info_get_default_for_type")
  (return-type "GAppInfo*")
  (parameters
    '("const-char*" "content_type")
    '("gboolean" "must_support_uris")
  )
)

(define-function g_app_info_get_default_for_type_async
  (c-name "g_app_info_get_default_for_type_async")
  (return-type "none")
  (parameters
    '("const-char*" "content_type")
    '("gboolean" "must_support_uris")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-function g_app_info_get_default_for_type_finish
  (c-name "g_app_info_get_default_for_type_finish")
  (return-type "GAppInfo*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-function g_app_info_get_default_for_uri_scheme
  (c-name "g_app_info_get_default_for_uri_scheme")
  (return-type "GAppInfo*")
  (parameters
    '("const-char*" "uri_scheme")
  )
)

(define-function g_app_info_get_default_for_uri_scheme_async
  (c-name "g_app_info_get_default_for_uri_scheme_async")
  (return-type "none")
  (parameters
    '("const-char*" "uri_scheme")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-function g_app_info_get_default_for_uri_scheme_finish
  (c-name "g_app_info_get_default_for_uri_scheme_finish")
  (return-type "GAppInfo*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-function g_app_info_get_fallback_for_type
  (c-name "g_app_info_get_fallback_for_type")
  (return-type "GList*")
  (parameters
    '("const-gchar*" "content_type")
  )
)

(define-function g_app_info_get_recommended_for_type
  (c-name "g_app_info_get_recommended_for_type")
  (return-type "GList*")
  (parameters
    '("const-gchar*" "content_type")
  )
)

(define-function g_app_info_launch_default_for_uri
  (c-name "g_app_info_launch_default_for_uri")
  (return-type "gboolean")
  (parameters
    '("const-char*" "uri")
    '("GAppLaunchContext*" "context")
    '("GError**" "error")
  )
)

(define-function g_app_info_launch_default_for_uri_async
  (c-name "g_app_info_launch_default_for_uri_async")
  (return-type "none")
  (parameters
    '("const-char*" "uri")
    '("GAppLaunchContext*" "context")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-function g_app_info_launch_default_for_uri_finish
  (c-name "g_app_info_launch_default_for_uri_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-function g_app_info_reset_type_associations
  (c-name "g_app_info_reset_type_associations")
  (return-type "none")
  (parameters
    '("const-char*" "content_type")
  )
)

(define-function g_async_initable_newv_async
  (c-name "g_async_initable_newv_async")
  (return-type "none")
  (parameters
    '("GType" "object_type")
    '("guint" "n_parameters")
    '("GParameter*" "parameters")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-function g_bus_get
  (c-name "g_bus_get")
  (return-type "none")
  (parameters
    '("GBusType" "bus_type")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-function g_bus_get_finish
  (c-name "g_bus_get_finish")
  (return-type "GDBusConnection*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-function g_bus_get_sync
  (c-name "g_bus_get_sync")
  (return-type "GDBusConnection*")
  (parameters
    '("GBusType" "bus_type")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-function g_bus_own_name
  (c-name "g_bus_own_name")
  (return-type "guint")
  (parameters
    '("GBusType" "bus_type")
    '("const-gchar*" "name")
    '("GBusNameOwnerFlags" "flags")
    '("GBusAcquiredCallback" "bus_acquired_handler")
    '("GBusNameAcquiredCallback" "name_acquired_handler")
    '("GBusNameLostCallback" "name_lost_handler")
    '("gpointer" "user_data")
    '("GDestroyNotify" "user_data_free_func")
  )
)

(define-function g_bus_own_name_on_connection
  (c-name "g_bus_own_name_on_connection")
  (return-type "guint")
  (parameters
    '("GDBusConnection*" "connection")
    '("const-gchar*" "name")
    '("GBusNameOwnerFlags" "flags")
    '("GBusNameAcquiredCallback" "name_acquired_handler")
    '("GBusNameLostCallback" "name_lost_handler")
    '("gpointer" "user_data")
    '("GDestroyNotify" "user_data_free_func")
  )
)

(define-function g_bus_own_name_on_connection_with_closures
  (c-name "g_bus_own_name_on_connection_with_closures")
  (return-type "guint")
  (parameters
    '("GDBusConnection*" "connection")
    '("const-gchar*" "name")
    '("GBusNameOwnerFlags" "flags")
    '("GClosure*" "name_acquired_closure")
    '("GClosure*" "name_lost_closure")
  )
)

(define-function g_bus_own_name_with_closures
  (c-name "g_bus_own_name_with_closures")
  (return-type "guint")
  (parameters
    '("GBusType" "bus_type")
    '("const-gchar*" "name")
    '("GBusNameOwnerFlags" "flags")
    '("GClosure*" "bus_acquired_closure")
    '("GClosure*" "name_acquired_closure")
    '("GClosure*" "name_lost_closure")
  )
)

(define-function g_bus_unown_name
  (c-name "g_bus_unown_name")
  (return-type "none")
  (parameters
    '("guint" "owner_id")
  )
)

(define-function g_bus_unwatch_name
  (c-name "g_bus_unwatch_name")
  (return-type "none")
  (parameters
    '("guint" "watcher_id")
  )
)

(define-function g_bus_watch_name
  (c-name "g_bus_watch_name")
  (return-type "guint")
  (parameters
    '("GBusType" "bus_type")
    '("const-gchar*" "name")
    '("GBusNameWatcherFlags" "flags")
    '("GBusNameAppearedCallback" "name_appeared_handler")
    '("GBusNameVanishedCallback" "name_vanished_handler")
    '("gpointer" "user_data")
    '("GDestroyNotify" "user_data_free_func")
  )
)

(define-function g_bus_watch_name_on_connection
  (c-name "g_bus_watch_name_on_connection")
  (return-type "guint")
  (parameters
    '("GDBusConnection*" "connection")
    '("const-gchar*" "name")
    '("GBusNameWatcherFlags" "flags")
    '("GBusNameAppearedCallback" "name_appeared_handler")
    '("GBusNameVanishedCallback" "name_vanished_handler")
    '("gpointer" "user_data")
    '("GDestroyNotify" "user_data_free_func")
  )
)

(define-function g_bus_watch_name_on_connection_with_closures
  (c-name "g_bus_watch_name_on_connection_with_closures")
  (return-type "guint")
  (parameters
    '("GDBusConnection*" "connection")
    '("const-gchar*" "name")
    '("GBusNameWatcherFlags" "flags")
    '("GClosure*" "name_appeared_closure")
    '("GClosure*" "name_vanished_closure")
  )
)

(define-function g_bus_watch_name_with_closures
  (c-name "g_bus_watch_name_with_closures")
  (return-type "guint")
  (parameters
    '("GBusType" "bus_type")
    '("const-gchar*" "name")
    '("GBusNameWatcherFlags" "flags")
    '("GClosure*" "name_appeared_closure")
    '("GClosure*" "name_vanished_closure")
  )
)

(define-function g_content_type_can_be_executable
  (c-name "g_content_type_can_be_executable")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "type")
  )
)

(define-function g_content_type_equals
  (c-name "g_content_type_equals")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "type1")
    '("const-gchar*" "type2")
  )
)

(define-function g_content_type_from_mime_type
  (c-name "g_content_type_from_mime_type")
  (return-type "gchar*")
  (parameters
    '("const-gchar*" "mime_type")
  )
)

(define-function g_content_type_get_description
  (c-name "g_content_type_get_description")
  (return-type "gchar*")
  (parameters
    '("const-gchar*" "type")
  )
)

(define-function g_content_type_get_generic_icon_name
  (c-name "g_content_type_get_generic_icon_name")
  (return-type "gchar*")
  (parameters
    '("const-gchar*" "type")
  )
)

(define-function g_content_type_get_icon
  (c-name "g_content_type_get_icon")
  (return-type "GIcon*")
  (parameters
    '("const-gchar*" "type")
  )
)

(define-function g_content_type_get_mime_dirs
  (c-name "g_content_type_get_mime_dirs")
  (return-type "const-gchar*-const*")
)

(define-function g_content_type_get_mime_type
  (c-name "g_content_type_get_mime_type")
  (return-type "gchar*")
  (parameters
    '("const-gchar*" "type")
  )
)

(define-function g_content_type_get_symbolic_icon
  (c-name "g_content_type_get_symbolic_icon")
  (return-type "GIcon*")
  (parameters
    '("const-gchar*" "type")
  )
)

(define-function g_content_type_guess
  (c-name "g_content_type_guess")
  (return-type "gchar*")
  (parameters
    '("const-gchar*" "filename")
    '("const-guchar*" "data")
    '("gsize" "data_size")
    '("gboolean*" "result_uncertain")
  )
)

(define-function g_content_type_guess_for_tree
  (c-name "g_content_type_guess_for_tree")
  (return-type "gchar**")
  (parameters
    '("GFile*" "root")
  )
)

(define-function g_content_type_is_a
  (c-name "g_content_type_is_a")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "type")
    '("const-gchar*" "supertype")
  )
)

(define-function g_content_type_is_mime_type
  (c-name "g_content_type_is_mime_type")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "type")
    '("const-gchar*" "mime_type")
  )
)

(define-function g_content_type_is_unknown
  (c-name "g_content_type_is_unknown")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "type")
  )
)

(define-function g_content_type_set_mime_dirs
  (c-name "g_content_type_set_mime_dirs")
  (return-type "none")
  (parameters
    '("const-gchar*-const*" "dirs")
  )
)

(define-function g_content_types_get_registered
  (c-name "g_content_types_get_registered")
  (return-type "GList*")
)

(define-function g_dbus_address_escape_value
  (c-name "g_dbus_address_escape_value")
  (return-type "gchar*")
  (parameters
    '("const-gchar*" "string")
  )
)

(define-function g_dbus_address_get_for_bus_sync
  (c-name "g_dbus_address_get_for_bus_sync")
  (return-type "gchar*")
  (parameters
    '("GBusType" "bus_type")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-function g_dbus_address_get_stream
  (c-name "g_dbus_address_get_stream")
  (return-type "none")
  (parameters
    '("const-gchar*" "address")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-function g_dbus_address_get_stream_finish
  (c-name "g_dbus_address_get_stream_finish")
  (return-type "GIOStream*")
  (parameters
    '("GAsyncResult*" "res")
    '("gchar**" "out_guid")
    '("GError**" "error")
  )
)

(define-function g_dbus_address_get_stream_sync
  (c-name "g_dbus_address_get_stream_sync")
  (return-type "GIOStream*")
  (parameters
    '("const-gchar*" "address")
    '("gchar**" "out_guid")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-function g_dbus_annotation_info_lookup
  (c-name "g_dbus_annotation_info_lookup")
  (return-type "const-gchar*")
  (parameters
    '("GDBusAnnotationInfo**" "annotations")
    '("const-gchar*" "name")
  )
)

(define-function g_dbus_error_encode_gerror
  (c-name "g_dbus_error_encode_gerror")
  (return-type "gchar*")
  (parameters
    '("const-GError*" "error")
  )
)

(define-function g_dbus_error_get_remote_error
  (c-name "g_dbus_error_get_remote_error")
  (return-type "gchar*")
  (parameters
    '("const-GError*" "error")
  )
)

(define-function g_dbus_error_is_remote_error
  (c-name "g_dbus_error_is_remote_error")
  (return-type "gboolean")
  (parameters
    '("const-GError*" "error")
  )
)

(define-function g_dbus_error_new_for_dbus_error
  (c-name "g_dbus_error_new_for_dbus_error")
  (return-type "GError*")
  (parameters
    '("const-gchar*" "dbus_error_name")
    '("const-gchar*" "dbus_error_message")
  )
)

(define-function g_dbus_error_quark
  (c-name "g_dbus_error_quark")
  (return-type "GQuark")
)

(define-function g_dbus_error_register_error
  (c-name "g_dbus_error_register_error")
  (return-type "gboolean")
  (parameters
    '("GQuark" "error_domain")
    '("gint" "error_code")
    '("const-gchar*" "dbus_error_name")
  )
)

(define-function g_dbus_error_register_error_domain
  (c-name "g_dbus_error_register_error_domain")
  (return-type "none")
  (parameters
    '("const-gchar*" "error_domain_quark_name")
    '("volatile-gsize*" "quark_volatile")
    '("const-GDBusErrorEntry*" "entries")
    '("guint" "num_entries")
  )
)

(define-function g_dbus_error_strip_remote_error
  (c-name "g_dbus_error_strip_remote_error")
  (return-type "gboolean")
  (parameters
    '("GError*" "error")
  )
)

(define-function g_dbus_error_unregister_error
  (c-name "g_dbus_error_unregister_error")
  (return-type "gboolean")
  (parameters
    '("GQuark" "error_domain")
    '("gint" "error_code")
    '("const-gchar*" "dbus_error_name")
  )
)

(define-function g_dbus_escape_object_path
  (c-name "g_dbus_escape_object_path")
  (return-type "gchar*")
  (parameters
    '("const-gchar*" "s")
  )
)

(define-function g_dbus_escape_object_path_bytestring
  (c-name "g_dbus_escape_object_path_bytestring")
  (return-type "gchar*")
  (parameters
    '("const-guint8*" "bytes")
  )
)

(define-function g_dbus_generate_guid
  (c-name "g_dbus_generate_guid")
  (return-type "gchar*")
)

(define-function g_dbus_gvalue_to_gvariant
  (c-name "g_dbus_gvalue_to_gvariant")
  (return-type "GVariant*")
  (parameters
    '("const-GValue*" "gvalue")
    '("const-GVariantType*" "type")
  )
)

(define-function g_dbus_gvariant_to_gvalue
  (c-name "g_dbus_gvariant_to_gvalue")
  (return-type "none")
  (parameters
    '("GVariant*" "value")
    '("GValue*" "out_gvalue")
  )
)

(define-function g_dbus_is_address
  (c-name "g_dbus_is_address")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "string")
  )
)

(define-function g_dbus_is_error_name
  (c-name "g_dbus_is_error_name")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "string")
  )
)

(define-function g_dbus_is_guid
  (c-name "g_dbus_is_guid")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "string")
  )
)

(define-function g_dbus_is_interface_name
  (c-name "g_dbus_is_interface_name")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "string")
  )
)

(define-function g_dbus_is_member_name
  (c-name "g_dbus_is_member_name")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "string")
  )
)

(define-function g_dbus_is_name
  (c-name "g_dbus_is_name")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "string")
  )
)

(define-function g_dbus_is_supported_address
  (c-name "g_dbus_is_supported_address")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "string")
    '("GError**" "error")
  )
)

(define-function g_dbus_is_unique_name
  (c-name "g_dbus_is_unique_name")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "string")
  )
)

(define-function g_dbus_unescape_object_path
  (c-name "g_dbus_unescape_object_path")
  (return-type "guint8*")
  (parameters
    '("const-gchar*" "s")
  )
)

(define-function g_dtls_client_connection_new
  (c-name "g_dtls_client_connection_new")
  (return-type "GDatagramBased*")
  (parameters
    '("GDatagramBased*" "base_socket")
    '("GSocketConnectable*" "server_identity")
    '("GError**" "error")
  )
)

(define-function g_dtls_server_connection_new
  (c-name "g_dtls_server_connection_new")
  (return-type "GDatagramBased*")
  (parameters
    '("GDatagramBased*" "base_socket")
    '("GTlsCertificate*" "certificate")
    '("GError**" "error")
  )
)

(define-function g_file_new_build_filenamev
  (c-name "g_file_new_build_filenamev")
  (return-type "GFile*")
  (parameters
    '("const-gchar*-const*" "args")
  )
)

(define-function g_file_new_for_commandline_arg
  (c-name "g_file_new_for_commandline_arg")
  (return-type "GFile*")
  (parameters
    '("const-char*" "arg")
  )
)

(define-function g_file_new_for_commandline_arg_and_cwd
  (c-name "g_file_new_for_commandline_arg_and_cwd")
  (return-type "GFile*")
  (parameters
    '("const-gchar*" "arg")
    '("const-gchar*" "cwd")
  )
)

(define-function g_file_new_for_path
  (c-name "g_file_new_for_path")
  (return-type "GFile*")
  (parameters
    '("const-char*" "path")
  )
)

(define-function g_file_new_for_uri
  (c-name "g_file_new_for_uri")
  (return-type "GFile*")
  (parameters
    '("const-char*" "uri")
  )
)

(define-function g_file_new_tmp
  (c-name "g_file_new_tmp")
  (return-type "GFile*")
  (parameters
    '("const-char*" "tmpl")
    '("GFileIOStream**" "iostream")
    '("GError**" "error")
  )
)

(define-function g_file_new_tmp_async
  (c-name "g_file_new_tmp_async")
  (return-type "none")
  (parameters
    '("const-char*" "tmpl")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-function g_file_new_tmp_dir_async
  (c-name "g_file_new_tmp_dir_async")
  (return-type "none")
  (parameters
    '("const-char*" "tmpl")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-function g_file_new_tmp_dir_finish
  (c-name "g_file_new_tmp_dir_finish")
  (return-type "GFile*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-function g_file_new_tmp_finish
  (c-name "g_file_new_tmp_finish")
  (return-type "GFile*")
  (parameters
    '("GAsyncResult*" "result")
    '("GFileIOStream**" "iostream")
    '("GError**" "error")
  )
)

(define-function g_file_parse_name
  (c-name "g_file_parse_name")
  (return-type "GFile*")
  (parameters
    '("const-char*" "parse_name")
  )
)

(define-function g_icon_deserialize
  (c-name "g_icon_deserialize")
  (return-type "GIcon*")
  (parameters
    '("GVariant*" "value")
  )
)

(define-function g_icon_new_for_string
  (c-name "g_icon_new_for_string")
  (return-type "GIcon*")
  (parameters
    '("const-gchar*" "str")
    '("GError**" "error")
  )
)

(define-function g_initable_newv
  (c-name "g_initable_newv")
  (return-type "gpointer")
  (parameters
    '("GType" "object_type")
    '("guint" "n_parameters")
    '("GParameter*" "parameters")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-function g_io_error_from_errno
  (c-name "g_io_error_from_errno")
  (return-type "GIOErrorEnum")
  (parameters
    '("gint" "err_no")
  )
)

(define-function g_io_error_from_file_error
  (c-name "g_io_error_from_file_error")
  (return-type "GIOErrorEnum")
  (parameters
    '("GFileError" "file_error")
  )
)

(define-function g_io_error_quark
  (c-name "g_io_error_quark")
  (return-type "GQuark")
)

(define-function g_io_extension_point_implement
  (c-name "g_io_extension_point_implement")
  (return-type "GIOExtension*")
  (parameters
    '("const-char*" "extension_point_name")
    '("GType" "type")
    '("const-char*" "extension_name")
    '("gint" "priority")
  )
)

(define-function g_io_extension_point_lookup
  (c-name "g_io_extension_point_lookup")
  (return-type "GIOExtensionPoint*")
  (parameters
    '("const-char*" "name")
  )
)

(define-function g_io_extension_point_register
  (c-name "g_io_extension_point_register")
  (return-type "GIOExtensionPoint*")
  (parameters
    '("const-char*" "name")
  )
)

(define-function g_io_modules_load_all_in_directory
  (c-name "g_io_modules_load_all_in_directory")
  (return-type "GList*")
  (parameters
    '("const-gchar*" "dirname")
  )
)

(define-function g_io_modules_load_all_in_directory_with_scope
  (c-name "g_io_modules_load_all_in_directory_with_scope")
  (return-type "GList*")
  (parameters
    '("const-gchar*" "dirname")
    '("GIOModuleScope*" "scope")
  )
)

(define-function g_io_modules_scan_all_in_directory
  (c-name "g_io_modules_scan_all_in_directory")
  (return-type "none")
  (parameters
    '("const-char*" "dirname")
  )
)

(define-function g_io_modules_scan_all_in_directory_with_scope
  (c-name "g_io_modules_scan_all_in_directory_with_scope")
  (return-type "none")
  (parameters
    '("const-gchar*" "dirname")
    '("GIOModuleScope*" "scope")
  )
)

(define-function g_io_scheduler_cancel_all_jobs
  (c-name "g_io_scheduler_cancel_all_jobs")
  (return-type "none")
)

(define-function g_io_scheduler_push_job
  (c-name "g_io_scheduler_push_job")
  (return-type "none")
  (parameters
    '("GIOSchedulerJobFunc" "job_func")
    '("gpointer" "user_data")
    '("GDestroyNotify" "notify")
    '("gint" "io_priority")
    '("GCancellable*" "cancellable")
  )
)

(define-function g_keyfile_settings_backend_new
  (c-name "g_keyfile_settings_backend_new")
  (return-type "GSettingsBackend*")
  (parameters
    '("const-gchar*" "filename")
    '("const-gchar*" "root_path")
    '("const-gchar*" "root_group")
  )
)

(define-function g_memory_monitor_dup_default
  (c-name "g_memory_monitor_dup_default")
  (return-type "GMemoryMonitor*")
)

(define-function g_memory_settings_backend_new
  (c-name "g_memory_settings_backend_new")
  (return-type "GSettingsBackend*")
)

(define-function g_network_monitor_get_default
  (c-name "g_network_monitor_get_default")
  (return-type "GNetworkMonitor*")
)

(define-function g_networking_init
  (c-name "g_networking_init")
  (return-type "none")
)

(define-function g_null_settings_backend_new
  (c-name "g_null_settings_backend_new")
  (return-type "GSettingsBackend*")
)

(define-function g_pollable_source_new
  (c-name "g_pollable_source_new")
  (return-type "GSource*")
  (parameters
    '("GObject*" "pollable_stream")
  )
)

(define-function g_pollable_source_new_full
  (c-name "g_pollable_source_new_full")
  (return-type "GSource*")
  (parameters
    '("gpointer" "pollable_stream")
    '("GSource*" "child_source")
    '("GCancellable*" "cancellable")
  )
)

(define-function g_pollable_stream_read
  (c-name "g_pollable_stream_read")
  (return-type "gssize")
  (parameters
    '("GInputStream*" "stream")
    '("void*" "buffer")
    '("gsize" "count")
    '("gboolean" "blocking")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-function g_pollable_stream_write
  (c-name "g_pollable_stream_write")
  (return-type "gssize")
  (parameters
    '("GOutputStream*" "stream")
    '("void*" "buffer")
    '("gsize" "count")
    '("gboolean" "blocking")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-function g_pollable_stream_write_all
  (c-name "g_pollable_stream_write_all")
  (return-type "gboolean")
  (parameters
    '("GOutputStream*" "stream")
    '("void*" "buffer")
    '("gsize" "count")
    '("gboolean" "blocking")
    '("gsize*" "bytes_written")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-function g_power_profile_monitor_dup_default
  (c-name "g_power_profile_monitor_dup_default")
  (return-type "GPowerProfileMonitor*")
)

(define-function g_proxy_get_default_for_protocol
  (c-name "g_proxy_get_default_for_protocol")
  (return-type "GProxy*")
  (parameters
    '("const-gchar*" "protocol")
  )
)

(define-function g_proxy_resolver_get_default
  (c-name "g_proxy_resolver_get_default")
  (return-type "GProxyResolver*")
)

(define-function g_resolver_error_quark
  (c-name "g_resolver_error_quark")
  (return-type "GQuark")
)

(define-function g_resource_error_quark
  (c-name "g_resource_error_quark")
  (return-type "GQuark")
)

(define-function g_resource_load
  (c-name "g_resource_load")
  (return-type "GResource*")
  (parameters
    '("const-gchar*" "filename")
    '("GError**" "error")
  )
)

(define-function g_resources_enumerate_children
  (c-name "g_resources_enumerate_children")
  (return-type "char**")
  (parameters
    '("const-char*" "path")
    '("GResourceLookupFlags" "lookup_flags")
    '("GError**" "error")
  )
)

(define-function g_resources_get_info
  (c-name "g_resources_get_info")
  (return-type "gboolean")
  (parameters
    '("const-char*" "path")
    '("GResourceLookupFlags" "lookup_flags")
    '("gsize*" "size")
    '("guint32*" "flags")
    '("GError**" "error")
  )
)

(define-function g_resources_has_children
  (c-name "g_resources_has_children")
  (return-type "gboolean")
  (parameters
    '("const-char*" "path")
  )
)

(define-function g_resources_lookup_data
  (c-name "g_resources_lookup_data")
  (return-type "GBytes*")
  (parameters
    '("const-char*" "path")
    '("GResourceLookupFlags" "lookup_flags")
    '("GError**" "error")
  )
)

(define-function g_resources_open_stream
  (c-name "g_resources_open_stream")
  (return-type "GInputStream*")
  (parameters
    '("const-char*" "path")
    '("GResourceLookupFlags" "lookup_flags")
    '("GError**" "error")
  )
)

(define-function g_resources_register
  (c-name "g_resources_register")
  (return-type "none")
  (parameters
    '("GResource*" "resource")
  )
)

(define-function g_resources_unregister
  (c-name "g_resources_unregister")
  (return-type "none")
  (parameters
    '("GResource*" "resource")
  )
)

(define-function g_settings_schema_source_get_default
  (c-name "g_settings_schema_source_get_default")
  (return-type "GSettingsSchemaSource*")
)

(define-function g_simple_async_report_error_in_idle
  (c-name "g_simple_async_report_error_in_idle")
  (return-type "none")
  (parameters
    '("GObject*" "object")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
    '("GQuark" "domain")
    '("gint" "code")
    '("const-char*" "format")
  )
  (varargs #t)
)

(define-function g_simple_async_report_gerror_in_idle
  (c-name "g_simple_async_report_gerror_in_idle")
  (return-type "none")
  (parameters
    '("GObject*" "object")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
    '("const-GError*" "error")
  )
)

(define-function g_simple_async_report_take_gerror_in_idle
  (c-name "g_simple_async_report_take_gerror_in_idle")
  (return-type "none")
  (parameters
    '("GObject*" "object")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
    '("GError*" "error")
  )
)

(define-function g_srv_target_list_sort
  (c-name "g_srv_target_list_sort")
  (return-type "GList*")
  (parameters
    '("GList*" "targets")
  )
)

(define-function g_tls_backend_get_default
  (c-name "g_tls_backend_get_default")
  (return-type "GTlsBackend*")
)

(define-function g_tls_channel_binding_error_quark
  (c-name "g_tls_channel_binding_error_quark")
  (return-type "GQuark")
)

(define-function g_tls_client_connection_new
  (c-name "g_tls_client_connection_new")
  (return-type "GIOStream*")
  (parameters
    '("GIOStream*" "base_io_stream")
    '("GSocketConnectable*" "server_identity")
    '("GError**" "error")
  )
)

(define-function g_tls_error_quark
  (c-name "g_tls_error_quark")
  (return-type "GQuark")
)

(define-function g_tls_file_database_new
  (c-name "g_tls_file_database_new")
  (return-type "GTlsDatabase*")
  (parameters
    '("const-gchar*" "anchors")
    '("GError**" "error")
  )
)

(define-function g_tls_server_connection_new
  (c-name "g_tls_server_connection_new")
  (return-type "GIOStream*")
  (parameters
    '("GIOStream*" "base_io_stream")
    '("GTlsCertificate*" "certificate")
    '("GError**" "error")
  )
)

(define-function g_dbus_error_encode_gerror
  (c-name "g_dbus_error_encode_gerror")
  (return-type "gchar*")
  (parameters
    '("const-GError*" "error")
  )
)

(define-function g_dbus_error_get_remote_error
  (c-name "g_dbus_error_get_remote_error")
  (return-type "gchar*")
  (parameters
    '("const-GError*" "error")
  )
)

(define-function g_dbus_error_is_remote_error
  (c-name "g_dbus_error_is_remote_error")
  (return-type "gboolean")
  (parameters
    '("const-GError*" "error")
  )
)

(define-function g_dbus_error_new_for_dbus_error
  (c-name "g_dbus_error_new_for_dbus_error")
  (return-type "GError*")
  (parameters
    '("const-gchar*" "dbus_error_name")
    '("const-gchar*" "dbus_error_message")
  )
)

(define-function g_dbus_error_quark
  (c-name "g_dbus_error_quark")
  (return-type "GQuark")
)

(define-function g_dbus_error_register_error
  (c-name "g_dbus_error_register_error")
  (return-type "gboolean")
  (parameters
    '("GQuark" "error_domain")
    '("gint" "error_code")
    '("const-gchar*" "dbus_error_name")
  )
)

(define-function g_dbus_error_register_error_domain
  (c-name "g_dbus_error_register_error_domain")
  (return-type "none")
  (parameters
    '("const-gchar*" "error_domain_quark_name")
    '("volatile-gsize*" "quark_volatile")
    '("const-GDBusErrorEntry*" "entries")
    '("guint" "num_entries")
  )
)

(define-function g_dbus_error_set_dbus_error
  (c-name "g_dbus_error_set_dbus_error")
  (return-type "none")
  (parameters
    '("GError**" "error")
    '("const-gchar*" "dbus_error_name")
    '("const-gchar*" "dbus_error_message")
    '("const-gchar*" "format")
  )
  (varargs #t)
)

(define-function g_dbus_error_set_dbus_error_valist
  (c-name "g_dbus_error_set_dbus_error_valist")
  (return-type "none")
  (parameters
    '("GError**" "error")
    '("const-gchar*" "dbus_error_name")
    '("const-gchar*" "dbus_error_message")
    '("const-gchar*" "format")
    '("va_list" "var_args")
  )
)

(define-function g_dbus_error_strip_remote_error
  (c-name "g_dbus_error_strip_remote_error")
  (return-type "gboolean")
  (parameters
    '("GError*" "error")
  )
)

(define-function g_dbus_error_unregister_error
  (c-name "g_dbus_error_unregister_error")
  (return-type "gboolean")
  (parameters
    '("GQuark" "error_domain")
    '("gint" "error_code")
    '("const-gchar*" "dbus_error_name")
  )
)

(define-function g_resolver_error_quark
  (c-name "g_resolver_error_quark")
  (return-type "GQuark")
)

(define-function g_resource_error_quark
  (c-name "g_resource_error_quark")
  (return-type "GQuark")
)

(define-function g_tls_channel_binding_error_quark
  (c-name "g_tls_channel_binding_error_quark")
  (return-type "GQuark")
)

(define-function g_tls_error_quark
  (c-name "g_tls_error_quark")
  (return-type "GQuark")
)

(define-function g_dbus_annotation_info_lookup
  (c-name "g_dbus_annotation_info_lookup")
  (return-type "const-gchar*")
  (parameters
    '("GDBusAnnotationInfo**" "annotations")
    '("const-gchar*" "name")
  )
)

(define-method ref
  (of-object "GDBusAnnotationInfo")
  (c-name "g_dbus_annotation_info_ref")
  (return-type "GDBusAnnotationInfo*")
)

(define-method unref
  (of-object "GDBusAnnotationInfo")
  (c-name "g_dbus_annotation_info_unref")
  (return-type "none")
)

(define-method ref
  (of-object "GDBusArgInfo")
  (c-name "g_dbus_arg_info_ref")
  (return-type "GDBusArgInfo*")
)

(define-method unref
  (of-object "GDBusArgInfo")
  (c-name "g_dbus_arg_info_unref")
  (return-type "none")
)

(define-method cache_build
  (of-object "GDBusInterfaceInfo")
  (c-name "g_dbus_interface_info_cache_build")
  (return-type "none")
)

(define-method cache_release
  (of-object "GDBusInterfaceInfo")
  (c-name "g_dbus_interface_info_cache_release")
  (return-type "none")
)

(define-method generate_xml
  (of-object "GDBusInterfaceInfo")
  (c-name "g_dbus_interface_info_generate_xml")
  (return-type "none")
  (parameters
    '("guint" "indent")
    '("GString*" "string_builder")
  )
)

(define-method lookup_method
  (of-object "GDBusInterfaceInfo")
  (c-name "g_dbus_interface_info_lookup_method")
  (return-type "GDBusMethodInfo*")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method lookup_property
  (of-object "GDBusInterfaceInfo")
  (c-name "g_dbus_interface_info_lookup_property")
  (return-type "GDBusPropertyInfo*")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method lookup_signal
  (of-object "GDBusInterfaceInfo")
  (c-name "g_dbus_interface_info_lookup_signal")
  (return-type "GDBusSignalInfo*")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method ref
  (of-object "GDBusInterfaceInfo")
  (c-name "g_dbus_interface_info_ref")
  (return-type "GDBusInterfaceInfo*")
)

(define-method unref
  (of-object "GDBusInterfaceInfo")
  (c-name "g_dbus_interface_info_unref")
  (return-type "none")
)

(define-method ref
  (of-object "GDBusMethodInfo")
  (c-name "g_dbus_method_info_ref")
  (return-type "GDBusMethodInfo*")
)

(define-method unref
  (of-object "GDBusMethodInfo")
  (c-name "g_dbus_method_info_unref")
  (return-type "none")
)

(define-method generate_xml
  (of-object "GDBusNodeInfo")
  (c-name "g_dbus_node_info_generate_xml")
  (return-type "none")
  (parameters
    '("guint" "indent")
    '("GString*" "string_builder")
  )
)

(define-method lookup_interface
  (of-object "GDBusNodeInfo")
  (c-name "g_dbus_node_info_lookup_interface")
  (return-type "GDBusInterfaceInfo*")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method ref
  (of-object "GDBusNodeInfo")
  (c-name "g_dbus_node_info_ref")
  (return-type "GDBusNodeInfo*")
)

(define-method unref
  (of-object "GDBusNodeInfo")
  (c-name "g_dbus_node_info_unref")
  (return-type "none")
)

(define-function g_dbus_node_info_new_for_xml
  (c-name "g_dbus_node_info_new_for_xml")
  (is-constructor-of "GDBusNodeInfo")
  (return-type "GDBusNodeInfo*")
  (parameters
    '("const-gchar*" "xml_data")
    '("GError**" "error")
  )
)

(define-method ref
  (of-object "GDBusPropertyInfo")
  (c-name "g_dbus_property_info_ref")
  (return-type "GDBusPropertyInfo*")
)

(define-method unref
  (of-object "GDBusPropertyInfo")
  (c-name "g_dbus_property_info_unref")
  (return-type "none")
)

(define-method ref
  (of-object "GDBusSignalInfo")
  (c-name "g_dbus_signal_info_ref")
  (return-type "GDBusSignalInfo*")
)

(define-method unref
  (of-object "GDBusSignalInfo")
  (c-name "g_dbus_signal_info_unref")
  (return-type "none")
)

(define-method add
  (of-object "GFileAttributeInfoList")
  (c-name "g_file_attribute_info_list_add")
  (return-type "none")
  (parameters
    '("const-char*" "name")
    '("GFileAttributeType" "type")
    '("GFileAttributeInfoFlags" "flags")
  )
)

(define-method dup
  (of-object "GFileAttributeInfoList")
  (c-name "g_file_attribute_info_list_dup")
  (return-type "GFileAttributeInfoList*")
)

(define-method lookup
  (of-object "GFileAttributeInfoList")
  (c-name "g_file_attribute_info_list_lookup")
  (return-type "const-GFileAttributeInfo*")
  (parameters
    '("const-char*" "name")
  )
)

(define-method ref
  (of-object "GFileAttributeInfoList")
  (c-name "g_file_attribute_info_list_ref")
  (return-type "GFileAttributeInfoList*")
)

(define-method unref
  (of-object "GFileAttributeInfoList")
  (c-name "g_file_attribute_info_list_unref")
  (return-type "none")
)

(define-function g_file_attribute_info_list_new
  (c-name "g_file_attribute_info_list_new")
  (is-constructor-of "GFileAttributeInfoList")
  (return-type "GFileAttributeInfoList*")
)

(define-method enumerate_namespace
  (of-object "GFileAttributeMatcher")
  (c-name "g_file_attribute_matcher_enumerate_namespace")
  (return-type "gboolean")
  (parameters
    '("const-char*" "ns")
  )
)

(define-method enumerate_next
  (of-object "GFileAttributeMatcher")
  (c-name "g_file_attribute_matcher_enumerate_next")
  (return-type "const-char*")
)

(define-method matches
  (of-object "GFileAttributeMatcher")
  (c-name "g_file_attribute_matcher_matches")
  (return-type "gboolean")
  (parameters
    '("const-char*" "attribute")
  )
)

(define-method matches_only
  (of-object "GFileAttributeMatcher")
  (c-name "g_file_attribute_matcher_matches_only")
  (return-type "gboolean")
  (parameters
    '("const-char*" "attribute")
  )
)

(define-method ref
  (of-object "GFileAttributeMatcher")
  (c-name "g_file_attribute_matcher_ref")
  (return-type "GFileAttributeMatcher*")
)

(define-method subtract
  (of-object "GFileAttributeMatcher")
  (c-name "g_file_attribute_matcher_subtract")
  (return-type "GFileAttributeMatcher*")
  (parameters
    '("GFileAttributeMatcher*" "subtract")
  )
)

(define-method to_string
  (of-object "GFileAttributeMatcher")
  (c-name "g_file_attribute_matcher_to_string")
  (return-type "char*")
)

(define-method unref
  (of-object "GFileAttributeMatcher")
  (c-name "g_file_attribute_matcher_unref")
  (return-type "none")
)

(define-function g_file_attribute_matcher_new
  (c-name "g_file_attribute_matcher_new")
  (is-constructor-of "GFileAttributeMatcher")
  (return-type "GFileAttributeMatcher*")
  (parameters
    '("const-char*" "attributes")
  )
)

(define-method get_name
  (of-object "GIOExtension")
  (c-name "g_io_extension_get_name")
  (return-type "const-char*")
)

(define-method get_priority
  (of-object "GIOExtension")
  (c-name "g_io_extension_get_priority")
  (return-type "gint")
)

(define-method get_type
  (of-object "GIOExtension")
  (c-name "g_io_extension_get_type")
  (return-type "GType")
)

(define-method ref_class
  (of-object "GIOExtension")
  (c-name "g_io_extension_ref_class")
  (return-type "GTypeClass*")
)

(define-function g_io_extension_point_implement
  (c-name "g_io_extension_point_implement")
  (return-type "GIOExtension*")
  (parameters
    '("const-char*" "extension_point_name")
    '("GType" "type")
    '("const-char*" "extension_name")
    '("gint" "priority")
  )
)

(define-function g_io_extension_point_lookup
  (c-name "g_io_extension_point_lookup")
  (return-type "GIOExtensionPoint*")
  (parameters
    '("const-char*" "name")
  )
)

(define-function g_io_extension_point_register
  (c-name "g_io_extension_point_register")
  (return-type "GIOExtensionPoint*")
  (parameters
    '("const-char*" "name")
  )
)

(define-method get_extension_by_name
  (of-object "GIOExtensionPoint")
  (c-name "g_io_extension_point_get_extension_by_name")
  (return-type "GIOExtension*")
  (parameters
    '("const-char*" "name")
  )
)

(define-method get_extensions
  (of-object "GIOExtensionPoint")
  (c-name "g_io_extension_point_get_extensions")
  (return-type "GList*")
)

(define-method get_required_type
  (of-object "GIOExtensionPoint")
  (c-name "g_io_extension_point_get_required_type")
  (return-type "GType")
)

(define-method set_required_type
  (of-object "GIOExtensionPoint")
  (c-name "g_io_extension_point_set_required_type")
  (return-type "none")
  (parameters
    '("GType" "type")
  )
)

(define-function g_io_module_scope_new
  (c-name "g_io_module_scope_new")
  (return-type "GIOModuleScope*")
  (parameters
    '("GIOModuleScopeFlags" "flags")
  )
)

(define-method block
  (of-object "GIOModuleScope")
  (c-name "g_io_module_scope_block")
  (return-type "none")
  (parameters
    '("const-gchar*" "basename")
  )
)

(define-method free
  (of-object "GIOModuleScope")
  (c-name "g_io_module_scope_free")
  (return-type "none")
)

(define-method send_to_mainloop
  (of-object "GIOSchedulerJob")
  (c-name "g_io_scheduler_job_send_to_mainloop")
  (return-type "gboolean")
  (parameters
    '("GSourceFunc" "func")
    '("gpointer" "user_data")
    '("GDestroyNotify" "notify")
  )
)

(define-method send_to_mainloop_async
  (of-object "GIOSchedulerJob")
  (c-name "g_io_scheduler_job_send_to_mainloop_async")
  (return-type "none")
  (parameters
    '("GSourceFunc" "func")
    '("gpointer" "user_data")
    '("GDestroyNotify" "notify")
  )
)

(define-function g_resource_load
  (c-name "g_resource_load")
  (return-type "GResource*")
  (parameters
    '("const-gchar*" "filename")
    '("GError**" "error")
  )
)

(define-method enumerate_children
  (of-object "GResource")
  (c-name "g_resource_enumerate_children")
  (return-type "char**")
  (parameters
    '("const-char*" "path")
    '("GResourceLookupFlags" "lookup_flags")
    '("GError**" "error")
  )
)

(define-method get_info
  (of-object "GResource")
  (c-name "g_resource_get_info")
  (return-type "gboolean")
  (parameters
    '("const-char*" "path")
    '("GResourceLookupFlags" "lookup_flags")
    '("gsize*" "size")
    '("guint32*" "flags")
    '("GError**" "error")
  )
)

(define-method has_children
  (of-object "GResource")
  (c-name "g_resource_has_children")
  (return-type "gboolean")
  (parameters
    '("const-char*" "path")
  )
)

(define-method lookup_data
  (of-object "GResource")
  (c-name "g_resource_lookup_data")
  (return-type "GBytes*")
  (parameters
    '("const-char*" "path")
    '("GResourceLookupFlags" "lookup_flags")
    '("GError**" "error")
  )
)

(define-method open_stream
  (of-object "GResource")
  (c-name "g_resource_open_stream")
  (return-type "GInputStream*")
  (parameters
    '("const-char*" "path")
    '("GResourceLookupFlags" "lookup_flags")
    '("GError**" "error")
  )
)

(define-method ref
  (of-object "GResource")
  (c-name "g_resource_ref")
  (return-type "GResource*")
)

(define-method unref
  (of-object "GResource")
  (c-name "g_resource_unref")
  (return-type "none")
)

(define-function g_resource_new_from_data
  (c-name "g_resource_new_from_data")
  (is-constructor-of "GResource")
  (return-type "GResource*")
  (parameters
    '("GBytes*" "data")
    '("GError**" "error")
  )
)

(define-method get_id
  (of-object "GSettingsSchema")
  (c-name "g_settings_schema_get_id")
  (return-type "const-gchar*")
)

(define-method get_key
  (of-object "GSettingsSchema")
  (c-name "g_settings_schema_get_key")
  (return-type "GSettingsSchemaKey*")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method get_path
  (of-object "GSettingsSchema")
  (c-name "g_settings_schema_get_path")
  (return-type "const-gchar*")
)

(define-method has_key
  (of-object "GSettingsSchema")
  (c-name "g_settings_schema_has_key")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method list_children
  (of-object "GSettingsSchema")
  (c-name "g_settings_schema_list_children")
  (return-type "gchar**")
)

(define-method list_keys
  (of-object "GSettingsSchema")
  (c-name "g_settings_schema_list_keys")
  (return-type "gchar**")
)

(define-method ref
  (of-object "GSettingsSchema")
  (c-name "g_settings_schema_ref")
  (return-type "GSettingsSchema*")
)

(define-method unref
  (of-object "GSettingsSchema")
  (c-name "g_settings_schema_unref")
  (return-type "none")
)

(define-method get_default_value
  (of-object "GSettingsSchemaKey")
  (c-name "g_settings_schema_key_get_default_value")
  (return-type "GVariant*")
)

(define-method get_description
  (of-object "GSettingsSchemaKey")
  (c-name "g_settings_schema_key_get_description")
  (return-type "const-gchar*")
)

(define-method get_name
  (of-object "GSettingsSchemaKey")
  (c-name "g_settings_schema_key_get_name")
  (return-type "const-gchar*")
)

(define-method get_range
  (of-object "GSettingsSchemaKey")
  (c-name "g_settings_schema_key_get_range")
  (return-type "GVariant*")
)

(define-method get_summary
  (of-object "GSettingsSchemaKey")
  (c-name "g_settings_schema_key_get_summary")
  (return-type "const-gchar*")
)

(define-method get_value_type
  (of-object "GSettingsSchemaKey")
  (c-name "g_settings_schema_key_get_value_type")
  (return-type "const-GVariantType*")
)

(define-method range_check
  (of-object "GSettingsSchemaKey")
  (c-name "g_settings_schema_key_range_check")
  (return-type "gboolean")
  (parameters
    '("GVariant*" "value")
  )
)

(define-method ref
  (of-object "GSettingsSchemaKey")
  (c-name "g_settings_schema_key_ref")
  (return-type "GSettingsSchemaKey*")
)

(define-method unref
  (of-object "GSettingsSchemaKey")
  (c-name "g_settings_schema_key_unref")
  (return-type "none")
)

(define-function g_settings_schema_source_get_default
  (c-name "g_settings_schema_source_get_default")
  (return-type "GSettingsSchemaSource*")
)

(define-method list_schemas
  (of-object "GSettingsSchemaSource")
  (c-name "g_settings_schema_source_list_schemas")
  (return-type "none")
  (parameters
    '("gboolean" "recursive")
    '("gchar***" "non_relocatable")
    '("gchar***" "relocatable")
  )
)

(define-method lookup
  (of-object "GSettingsSchemaSource")
  (c-name "g_settings_schema_source_lookup")
  (return-type "GSettingsSchema*")
  (parameters
    '("const-gchar*" "schema_id")
    '("gboolean" "recursive")
  )
)

(define-method ref
  (of-object "GSettingsSchemaSource")
  (c-name "g_settings_schema_source_ref")
  (return-type "GSettingsSchemaSource*")
)

(define-method unref
  (of-object "GSettingsSchemaSource")
  (c-name "g_settings_schema_source_unref")
  (return-type "none")
)

(define-function g_settings_schema_source_new_from_directory
  (c-name "g_settings_schema_source_new_from_directory")
  (is-constructor-of "GSettingsSchemaSource")
  (return-type "GSettingsSchemaSource*")
  (parameters
    '("const-gchar*" "directory")
    '("GSettingsSchemaSource*" "parent")
    '("gboolean" "trusted")
    '("GError**" "error")
  )
)

(define-function g_srv_target_list_sort
  (c-name "g_srv_target_list_sort")
  (return-type "GList*")
  (parameters
    '("GList*" "targets")
  )
)

(define-method copy
  (of-object "GSrvTarget")
  (c-name "g_srv_target_copy")
  (return-type "GSrvTarget*")
)

(define-method free
  (of-object "GSrvTarget")
  (c-name "g_srv_target_free")
  (return-type "none")
)

(define-method get_hostname
  (of-object "GSrvTarget")
  (c-name "g_srv_target_get_hostname")
  (return-type "const-gchar*")
)

(define-method get_port
  (of-object "GSrvTarget")
  (c-name "g_srv_target_get_port")
  (return-type "guint16")
)

(define-method get_priority
  (of-object "GSrvTarget")
  (c-name "g_srv_target_get_priority")
  (return-type "guint16")
)

(define-method get_weight
  (of-object "GSrvTarget")
  (c-name "g_srv_target_get_weight")
  (return-type "guint16")
)

(define-function g_srv_target_new
  (c-name "g_srv_target_new")
  (is-constructor-of "GSrvTarget")
  (return-type "GSrvTarget*")
  (parameters
    '("const-gchar*" "hostname")
    '("guint16" "port")
    '("guint16" "priority")
    '("guint16" "weight")
  )
)

(define-method fini
  (of-object "GStaticResource")
  (c-name "g_static_resource_fini")
  (return-type "none")
)

(define-method get_resource
  (of-object "GStaticResource")
  (c-name "g_static_resource_get_resource")
  (return-type "GResource*")
)

(define-method init
  (of-object "GStaticResource")
  (c-name "g_static_resource_init")
  (return-type "none")
)

(define-function g_action_name_is_valid
  (c-name "g_action_name_is_valid")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "action_name")
  )
)

(define-function g_action_parse_detailed_name
  (c-name "g_action_parse_detailed_name")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "detailed_name")
    '("gchar**" "action_name")
    '("GVariant**" "target_value")
    '("GError**" "error")
  )
)

(define-function g_action_print_detailed_name
  (c-name "g_action_print_detailed_name")
  (return-type "gchar*")
  (parameters
    '("const-gchar*" "action_name")
    '("GVariant*" "target_value")
  )
)

(define-method activate
  (of-object "GAction")
  (c-name "g_action_activate")
  (return-type "none")
  (parameters
    '("GVariant*" "parameter")
  )
)

(define-method change_state
  (of-object "GAction")
  (c-name "g_action_change_state")
  (return-type "none")
  (parameters
    '("GVariant*" "value")
  )
)

(define-method get_enabled
  (of-object "GAction")
  (c-name "g_action_get_enabled")
  (return-type "gboolean")
)

(define-method get_name
  (of-object "GAction")
  (c-name "g_action_get_name")
  (return-type "const-gchar*")
)

(define-method get_parameter_type
  (of-object "GAction")
  (c-name "g_action_get_parameter_type")
  (return-type "const-GVariantType*")
)

(define-method get_state
  (of-object "GAction")
  (c-name "g_action_get_state")
  (return-type "GVariant*")
)

(define-method get_state_hint
  (of-object "GAction")
  (c-name "g_action_get_state_hint")
  (return-type "GVariant*")
)

(define-method get_state_type
  (of-object "GAction")
  (c-name "g_action_get_state_type")
  (return-type "const-GVariantType*")
)

(define-method action_added
  (of-object "GActionGroup")
  (c-name "g_action_group_action_added")
  (return-type "none")
  (parameters
    '("const-gchar*" "action_name")
  )
)

(define-method action_enabled_changed
  (of-object "GActionGroup")
  (c-name "g_action_group_action_enabled_changed")
  (return-type "none")
  (parameters
    '("const-gchar*" "action_name")
    '("gboolean" "enabled")
  )
)

(define-method action_removed
  (of-object "GActionGroup")
  (c-name "g_action_group_action_removed")
  (return-type "none")
  (parameters
    '("const-gchar*" "action_name")
  )
)

(define-method action_state_changed
  (of-object "GActionGroup")
  (c-name "g_action_group_action_state_changed")
  (return-type "none")
  (parameters
    '("const-gchar*" "action_name")
    '("GVariant*" "state")
  )
)

(define-method activate_action
  (of-object "GActionGroup")
  (c-name "g_action_group_activate_action")
  (return-type "none")
  (parameters
    '("const-gchar*" "action_name")
    '("GVariant*" "parameter")
  )
)

(define-method change_action_state
  (of-object "GActionGroup")
  (c-name "g_action_group_change_action_state")
  (return-type "none")
  (parameters
    '("const-gchar*" "action_name")
    '("GVariant*" "value")
  )
)

(define-method get_action_enabled
  (of-object "GActionGroup")
  (c-name "g_action_group_get_action_enabled")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "action_name")
  )
)

(define-method get_action_parameter_type
  (of-object "GActionGroup")
  (c-name "g_action_group_get_action_parameter_type")
  (return-type "const-GVariantType*")
  (parameters
    '("const-gchar*" "action_name")
  )
)

(define-method get_action_state
  (of-object "GActionGroup")
  (c-name "g_action_group_get_action_state")
  (return-type "GVariant*")
  (parameters
    '("const-gchar*" "action_name")
  )
)

(define-method get_action_state_hint
  (of-object "GActionGroup")
  (c-name "g_action_group_get_action_state_hint")
  (return-type "GVariant*")
  (parameters
    '("const-gchar*" "action_name")
  )
)

(define-method get_action_state_type
  (of-object "GActionGroup")
  (c-name "g_action_group_get_action_state_type")
  (return-type "const-GVariantType*")
  (parameters
    '("const-gchar*" "action_name")
  )
)

(define-method has_action
  (of-object "GActionGroup")
  (c-name "g_action_group_has_action")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "action_name")
  )
)

(define-method list_actions
  (of-object "GActionGroup")
  (c-name "g_action_group_list_actions")
  (return-type "gchar**")
)

(define-method query_action
  (of-object "GActionGroup")
  (c-name "g_action_group_query_action")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "action_name")
    '("gboolean*" "enabled")
    '("const-GVariantType**" "parameter_type")
    '("const-GVariantType**" "state_type")
    '("GVariant**" "state_hint")
    '("GVariant**" "state")
  )
)

(define-method add_action
  (of-object "GActionMap")
  (c-name "g_action_map_add_action")
  (return-type "none")
  (parameters
    '("GAction*" "action")
  )
)

(define-method add_action_entries
  (of-object "GActionMap")
  (c-name "g_action_map_add_action_entries")
  (return-type "none")
  (parameters
    '("const-GActionEntry*" "entries")
    '("gint" "n_entries")
    '("gpointer" "user_data")
  )
)

(define-method lookup_action
  (of-object "GActionMap")
  (c-name "g_action_map_lookup_action")
  (return-type "GAction*")
  (parameters
    '("const-gchar*" "action_name")
  )
)

(define-method remove_action
  (of-object "GActionMap")
  (c-name "g_action_map_remove_action")
  (return-type "none")
  (parameters
    '("const-gchar*" "action_name")
  )
)

(define-method remove_action_entries
  (of-object "GActionMap")
  (c-name "g_action_map_remove_action_entries")
  (return-type "none")
  (parameters
    '("const-GActionEntry*" "entries")
    '("gint" "n_entries")
  )
)

(define-function g_app_info_create_from_commandline
  (c-name "g_app_info_create_from_commandline")
  (return-type "GAppInfo*")
  (parameters
    '("const-char*" "commandline")
    '("const-char*" "application_name")
    '("GAppInfoCreateFlags" "flags")
    '("GError**" "error")
  )
)

(define-function g_app_info_get_all
  (c-name "g_app_info_get_all")
  (return-type "GList*")
)

(define-function g_app_info_get_all_for_type
  (c-name "g_app_info_get_all_for_type")
  (return-type "GList*")
  (parameters
    '("const-char*" "content_type")
  )
)

(define-function g_app_info_get_default_for_type
  (c-name "g_app_info_get_default_for_type")
  (return-type "GAppInfo*")
  (parameters
    '("const-char*" "content_type")
    '("gboolean" "must_support_uris")
  )
)

(define-function g_app_info_get_default_for_type_async
  (c-name "g_app_info_get_default_for_type_async")
  (return-type "none")
  (parameters
    '("const-char*" "content_type")
    '("gboolean" "must_support_uris")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-function g_app_info_get_default_for_type_finish
  (c-name "g_app_info_get_default_for_type_finish")
  (return-type "GAppInfo*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-function g_app_info_get_default_for_uri_scheme
  (c-name "g_app_info_get_default_for_uri_scheme")
  (return-type "GAppInfo*")
  (parameters
    '("const-char*" "uri_scheme")
  )
)

(define-function g_app_info_get_default_for_uri_scheme_async
  (c-name "g_app_info_get_default_for_uri_scheme_async")
  (return-type "none")
  (parameters
    '("const-char*" "uri_scheme")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-function g_app_info_get_default_for_uri_scheme_finish
  (c-name "g_app_info_get_default_for_uri_scheme_finish")
  (return-type "GAppInfo*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-function g_app_info_get_fallback_for_type
  (c-name "g_app_info_get_fallback_for_type")
  (return-type "GList*")
  (parameters
    '("const-gchar*" "content_type")
  )
)

(define-function g_app_info_get_recommended_for_type
  (c-name "g_app_info_get_recommended_for_type")
  (return-type "GList*")
  (parameters
    '("const-gchar*" "content_type")
  )
)

(define-function g_app_info_launch_default_for_uri
  (c-name "g_app_info_launch_default_for_uri")
  (return-type "gboolean")
  (parameters
    '("const-char*" "uri")
    '("GAppLaunchContext*" "context")
    '("GError**" "error")
  )
)

(define-function g_app_info_launch_default_for_uri_async
  (c-name "g_app_info_launch_default_for_uri_async")
  (return-type "none")
  (parameters
    '("const-char*" "uri")
    '("GAppLaunchContext*" "context")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-function g_app_info_launch_default_for_uri_finish
  (c-name "g_app_info_launch_default_for_uri_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-function g_app_info_reset_type_associations
  (c-name "g_app_info_reset_type_associations")
  (return-type "none")
  (parameters
    '("const-char*" "content_type")
  )
)

(define-method add_supports_type
  (of-object "GAppInfo")
  (c-name "g_app_info_add_supports_type")
  (return-type "gboolean")
  (parameters
    '("const-char*" "content_type")
    '("GError**" "error")
  )
)

(define-method can_delete
  (of-object "GAppInfo")
  (c-name "g_app_info_can_delete")
  (return-type "gboolean")
)

(define-method can_remove_supports_type
  (of-object "GAppInfo")
  (c-name "g_app_info_can_remove_supports_type")
  (return-type "gboolean")
)

(define-method delete
  (of-object "GAppInfo")
  (c-name "g_app_info_delete")
  (return-type "gboolean")
)

(define-method dup
  (of-object "GAppInfo")
  (c-name "g_app_info_dup")
  (return-type "GAppInfo*")
)

(define-method equal
  (of-object "GAppInfo")
  (c-name "g_app_info_equal")
  (return-type "gboolean")
  (parameters
    '("GAppInfo*" "appinfo2")
  )
)

(define-method get_commandline
  (of-object "GAppInfo")
  (c-name "g_app_info_get_commandline")
  (return-type "const-char*")
)

(define-method get_description
  (of-object "GAppInfo")
  (c-name "g_app_info_get_description")
  (return-type "const-char*")
)

(define-method get_display_name
  (of-object "GAppInfo")
  (c-name "g_app_info_get_display_name")
  (return-type "const-char*")
)

(define-method get_executable
  (of-object "GAppInfo")
  (c-name "g_app_info_get_executable")
  (return-type "const-char*")
)

(define-method get_icon
  (of-object "GAppInfo")
  (c-name "g_app_info_get_icon")
  (return-type "GIcon*")
)

(define-method get_id
  (of-object "GAppInfo")
  (c-name "g_app_info_get_id")
  (return-type "const-char*")
)

(define-method get_name
  (of-object "GAppInfo")
  (c-name "g_app_info_get_name")
  (return-type "const-char*")
)

(define-method get_supported_types
  (of-object "GAppInfo")
  (c-name "g_app_info_get_supported_types")
  (return-type "const-char**")
)

(define-method launch
  (of-object "GAppInfo")
  (c-name "g_app_info_launch")
  (return-type "gboolean")
  (parameters
    '("GList*" "files")
    '("GAppLaunchContext*" "context")
    '("GError**" "error")
  )
)

(define-method launch_uris
  (of-object "GAppInfo")
  (c-name "g_app_info_launch_uris")
  (return-type "gboolean")
  (parameters
    '("GList*" "uris")
    '("GAppLaunchContext*" "context")
    '("GError**" "error")
  )
)

(define-method launch_uris_async
  (of-object "GAppInfo")
  (c-name "g_app_info_launch_uris_async")
  (return-type "none")
  (parameters
    '("GList*" "uris")
    '("GAppLaunchContext*" "context")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method launch_uris_finish
  (of-object "GAppInfo")
  (c-name "g_app_info_launch_uris_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method remove_supports_type
  (of-object "GAppInfo")
  (c-name "g_app_info_remove_supports_type")
  (return-type "gboolean")
  (parameters
    '("const-char*" "content_type")
    '("GError**" "error")
  )
)

(define-method set_as_default_for_extension
  (of-object "GAppInfo")
  (c-name "g_app_info_set_as_default_for_extension")
  (return-type "gboolean")
  (parameters
    '("const-char*" "extension")
    '("GError**" "error")
  )
)

(define-method set_as_default_for_type
  (of-object "GAppInfo")
  (c-name "g_app_info_set_as_default_for_type")
  (return-type "gboolean")
  (parameters
    '("const-char*" "content_type")
    '("GError**" "error")
  )
)

(define-method set_as_last_used_for_type
  (of-object "GAppInfo")
  (c-name "g_app_info_set_as_last_used_for_type")
  (return-type "gboolean")
  (parameters
    '("const-char*" "content_type")
    '("GError**" "error")
  )
)

(define-method should_show
  (of-object "GAppInfo")
  (c-name "g_app_info_should_show")
  (return-type "gboolean")
)

(define-method supports_files
  (of-object "GAppInfo")
  (c-name "g_app_info_supports_files")
  (return-type "gboolean")
)

(define-method supports_uris
  (of-object "GAppInfo")
  (c-name "g_app_info_supports_uris")
  (return-type "gboolean")
)

(define-function g_async_initable_new_async
  (c-name "g_async_initable_new_async")
  (return-type "none")
  (parameters
    '("GType" "object_type")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
    '("const-gchar*" "first_property_name")
  )
  (varargs #t)
)

(define-function g_async_initable_new_valist_async
  (c-name "g_async_initable_new_valist_async")
  (return-type "none")
  (parameters
    '("GType" "object_type")
    '("const-gchar*" "first_property_name")
    '("va_list" "var_args")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-function g_async_initable_newv_async
  (c-name "g_async_initable_newv_async")
  (return-type "none")
  (parameters
    '("GType" "object_type")
    '("guint" "n_parameters")
    '("GParameter*" "parameters")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method init_async
  (of-object "GAsyncInitable")
  (c-name "g_async_initable_init_async")
  (return-type "none")
  (parameters
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method init_finish
  (of-object "GAsyncInitable")
  (c-name "g_async_initable_init_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method new_finish
  (of-object "GAsyncInitable")
  (c-name "g_async_initable_new_finish")
  (return-type "GObject*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method get_source_object
  (of-object "GAsyncResult")
  (c-name "g_async_result_get_source_object")
  (return-type "GObject*")
)

(define-method get_user_data
  (of-object "GAsyncResult")
  (c-name "g_async_result_get_user_data")
  (return-type "gpointer")
)

(define-method is_tagged
  (of-object "GAsyncResult")
  (c-name "g_async_result_is_tagged")
  (return-type "gboolean")
  (parameters
    '("gpointer" "source_tag")
  )
)

(define-method legacy_propagate_error
  (of-object "GAsyncResult")
  (c-name "g_async_result_legacy_propagate_error")
  (return-type "gboolean")
  (parameters
    '("GError**" "error")
  )
)

(define-method convert
  (of-object "GConverter")
  (c-name "g_converter_convert")
  (return-type "GConverterResult")
  (parameters
    '("const-void*" "inbuf")
    '("gsize" "inbuf_size")
    '("void*" "outbuf")
    '("gsize" "outbuf_size")
    '("GConverterFlags" "flags")
    '("gsize*" "bytes_read")
    '("gsize*" "bytes_written")
    '("GError**" "error")
  )
)

(define-method convert_bytes
  (of-object "GConverter")
  (c-name "g_converter_convert_bytes")
  (return-type "GBytes*")
  (parameters
    '("GBytes*" "bytes")
    '("GError**" "error")
  )
)

(define-method reset
  (of-object "GConverter")
  (c-name "g_converter_reset")
  (return-type "none")
)

(define-method dup_object
  (of-object "GDBusInterface")
  (c-name "g_dbus_interface_dup_object")
  (return-type "GDBusObject*")
)

(define-method get_info
  (of-object "GDBusInterface")
  (c-name "g_dbus_interface_get_info")
  (return-type "GDBusInterfaceInfo*")
)

(define-method get_object
  (of-object "GDBusInterface")
  (c-name "g_dbus_interface_get_object")
  (return-type "GDBusObject*")
)

(define-method set_object
  (of-object "GDBusInterface")
  (c-name "g_dbus_interface_set_object")
  (return-type "none")
  (parameters
    '("GDBusObject*" "object")
  )
)

(define-method get_interface
  (of-object "GDBusObject")
  (c-name "g_dbus_object_get_interface")
  (return-type "GDBusInterface*")
  (parameters
    '("const-gchar*" "interface_name")
  )
)

(define-method get_interfaces
  (of-object "GDBusObject")
  (c-name "g_dbus_object_get_interfaces")
  (return-type "GList*")
)

(define-method get_object_path
  (of-object "GDBusObject")
  (c-name "g_dbus_object_get_object_path")
  (return-type "const-gchar*")
)

(define-method get_interface
  (of-object "GDBusObjectManager")
  (c-name "g_dbus_object_manager_get_interface")
  (return-type "GDBusInterface*")
  (parameters
    '("const-gchar*" "object_path")
    '("const-gchar*" "interface_name")
  )
)

(define-method get_object
  (of-object "GDBusObjectManager")
  (c-name "g_dbus_object_manager_get_object")
  (return-type "GDBusObject*")
  (parameters
    '("const-gchar*" "object_path")
  )
)

(define-method get_object_path
  (of-object "GDBusObjectManager")
  (c-name "g_dbus_object_manager_get_object_path")
  (return-type "const-gchar*")
)

(define-method get_objects
  (of-object "GDBusObjectManager")
  (c-name "g_dbus_object_manager_get_objects")
  (return-type "GList*")
)

(define-method condition_check
  (of-object "GDatagramBased")
  (c-name "g_datagram_based_condition_check")
  (return-type "GIOCondition")
  (parameters
    '("GIOCondition" "condition")
  )
)

(define-method condition_wait
  (of-object "GDatagramBased")
  (c-name "g_datagram_based_condition_wait")
  (return-type "gboolean")
  (parameters
    '("GIOCondition" "condition")
    '("gint64" "timeout")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method create_source
  (of-object "GDatagramBased")
  (c-name "g_datagram_based_create_source")
  (return-type "GSource*")
  (parameters
    '("GIOCondition" "condition")
    '("GCancellable*" "cancellable")
  )
)

(define-method receive_messages
  (of-object "GDatagramBased")
  (c-name "g_datagram_based_receive_messages")
  (return-type "gint")
  (parameters
    '("GInputMessage*" "messages")
    '("guint" "num_messages")
    '("gint" "flags")
    '("gint64" "timeout")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method send_messages
  (of-object "GDatagramBased")
  (c-name "g_datagram_based_send_messages")
  (return-type "gint")
  (parameters
    '("GOutputMessage*" "messages")
    '("guint" "num_messages")
    '("gint" "flags")
    '("gint64" "timeout")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method get_debug_enabled
  (of-object "GDebugController")
  (c-name "g_debug_controller_get_debug_enabled")
  (return-type "gboolean")
)

(define-method set_debug_enabled
  (of-object "GDebugController")
  (c-name "g_debug_controller_set_debug_enabled")
  (return-type "none")
  (parameters
    '("gboolean" "debug_enabled")
  )
)

(define-method can_eject
  (of-object "GDrive")
  (c-name "g_drive_can_eject")
  (return-type "gboolean")
)

(define-method can_poll_for_media
  (of-object "GDrive")
  (c-name "g_drive_can_poll_for_media")
  (return-type "gboolean")
)

(define-method can_start
  (of-object "GDrive")
  (c-name "g_drive_can_start")
  (return-type "gboolean")
)

(define-method can_start_degraded
  (of-object "GDrive")
  (c-name "g_drive_can_start_degraded")
  (return-type "gboolean")
)

(define-method can_stop
  (of-object "GDrive")
  (c-name "g_drive_can_stop")
  (return-type "gboolean")
)

(define-method eject
  (of-object "GDrive")
  (c-name "g_drive_eject")
  (return-type "none")
  (parameters
    '("GMountUnmountFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method eject_finish
  (of-object "GDrive")
  (c-name "g_drive_eject_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method eject_with_operation
  (of-object "GDrive")
  (c-name "g_drive_eject_with_operation")
  (return-type "none")
  (parameters
    '("GMountUnmountFlags" "flags")
    '("GMountOperation*" "mount_operation")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method eject_with_operation_finish
  (of-object "GDrive")
  (c-name "g_drive_eject_with_operation_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method enumerate_identifiers
  (of-object "GDrive")
  (c-name "g_drive_enumerate_identifiers")
  (return-type "char**")
)

(define-method get_icon
  (of-object "GDrive")
  (c-name "g_drive_get_icon")
  (return-type "GIcon*")
)

(define-method get_identifier
  (of-object "GDrive")
  (c-name "g_drive_get_identifier")
  (return-type "char*")
  (parameters
    '("const-char*" "kind")
  )
)

(define-method get_name
  (of-object "GDrive")
  (c-name "g_drive_get_name")
  (return-type "char*")
)

(define-method get_sort_key
  (of-object "GDrive")
  (c-name "g_drive_get_sort_key")
  (return-type "const-gchar*")
)

(define-method get_start_stop_type
  (of-object "GDrive")
  (c-name "g_drive_get_start_stop_type")
  (return-type "GDriveStartStopType")
)

(define-method get_symbolic_icon
  (of-object "GDrive")
  (c-name "g_drive_get_symbolic_icon")
  (return-type "GIcon*")
)

(define-method get_volumes
  (of-object "GDrive")
  (c-name "g_drive_get_volumes")
  (return-type "GList*")
)

(define-method has_media
  (of-object "GDrive")
  (c-name "g_drive_has_media")
  (return-type "gboolean")
)

(define-method has_volumes
  (of-object "GDrive")
  (c-name "g_drive_has_volumes")
  (return-type "gboolean")
)

(define-method is_media_check_automatic
  (of-object "GDrive")
  (c-name "g_drive_is_media_check_automatic")
  (return-type "gboolean")
)

(define-method is_media_removable
  (of-object "GDrive")
  (c-name "g_drive_is_media_removable")
  (return-type "gboolean")
)

(define-method is_removable
  (of-object "GDrive")
  (c-name "g_drive_is_removable")
  (return-type "gboolean")
)

(define-method poll_for_media
  (of-object "GDrive")
  (c-name "g_drive_poll_for_media")
  (return-type "none")
  (parameters
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method poll_for_media_finish
  (of-object "GDrive")
  (c-name "g_drive_poll_for_media_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method start
  (of-object "GDrive")
  (c-name "g_drive_start")
  (return-type "none")
  (parameters
    '("GDriveStartFlags" "flags")
    '("GMountOperation*" "mount_operation")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method start_finish
  (of-object "GDrive")
  (c-name "g_drive_start_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method stop
  (of-object "GDrive")
  (c-name "g_drive_stop")
  (return-type "none")
  (parameters
    '("GMountUnmountFlags" "flags")
    '("GMountOperation*" "mount_operation")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method stop_finish
  (of-object "GDrive")
  (c-name "g_drive_stop_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-function g_dtls_client_connection_new
  (c-name "g_dtls_client_connection_new")
  (return-type "GDatagramBased*")
  (parameters
    '("GDatagramBased*" "base_socket")
    '("GSocketConnectable*" "server_identity")
    '("GError**" "error")
  )
)

(define-method get_accepted_cas
  (of-object "GDtlsClientConnection")
  (c-name "g_dtls_client_connection_get_accepted_cas")
  (return-type "GList*")
)

(define-method get_server_identity
  (of-object "GDtlsClientConnection")
  (c-name "g_dtls_client_connection_get_server_identity")
  (return-type "GSocketConnectable*")
)

(define-method get_validation_flags
  (of-object "GDtlsClientConnection")
  (c-name "g_dtls_client_connection_get_validation_flags")
  (return-type "GTlsCertificateFlags")
)

(define-method set_server_identity
  (of-object "GDtlsClientConnection")
  (c-name "g_dtls_client_connection_set_server_identity")
  (return-type "none")
  (parameters
    '("GSocketConnectable*" "identity")
  )
)

(define-method set_validation_flags
  (of-object "GDtlsClientConnection")
  (c-name "g_dtls_client_connection_set_validation_flags")
  (return-type "none")
  (parameters
    '("GTlsCertificateFlags" "flags")
  )
)

(define-method close
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_close")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method close_async
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_close_async")
  (return-type "none")
  (parameters
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method close_finish
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_close_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method emit_accept_certificate
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_emit_accept_certificate")
  (return-type "gboolean")
  (parameters
    '("GTlsCertificate*" "peer_cert")
    '("GTlsCertificateFlags" "errors")
  )
)

(define-method get_certificate
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_get_certificate")
  (return-type "GTlsCertificate*")
)

(define-method get_channel_binding_data
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_get_channel_binding_data")
  (return-type "gboolean")
  (parameters
    '("GTlsChannelBindingType" "type")
    '("GByteArray*" "data")
    '("GError**" "error")
  )
)

(define-method get_ciphersuite_name
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_get_ciphersuite_name")
  (return-type "gchar*")
)

(define-method get_database
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_get_database")
  (return-type "GTlsDatabase*")
)

(define-method get_interaction
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_get_interaction")
  (return-type "GTlsInteraction*")
)

(define-method get_negotiated_protocol
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_get_negotiated_protocol")
  (return-type "const-gchar*")
)

(define-method get_peer_certificate
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_get_peer_certificate")
  (return-type "GTlsCertificate*")
)

(define-method get_peer_certificate_errors
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_get_peer_certificate_errors")
  (return-type "GTlsCertificateFlags")
)

(define-method get_protocol_version
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_get_protocol_version")
  (return-type "GTlsProtocolVersion")
)

(define-method get_rehandshake_mode
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_get_rehandshake_mode")
  (return-type "GTlsRehandshakeMode")
)

(define-method get_require_close_notify
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_get_require_close_notify")
  (return-type "gboolean")
)

(define-method handshake
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_handshake")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method handshake_async
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_handshake_async")
  (return-type "none")
  (parameters
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method handshake_finish
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_handshake_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method set_advertised_protocols
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_set_advertised_protocols")
  (return-type "none")
  (parameters
    '("const-gchar*-const*" "protocols")
  )
)

(define-method set_certificate
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_set_certificate")
  (return-type "none")
  (parameters
    '("GTlsCertificate*" "certificate")
  )
)

(define-method set_database
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_set_database")
  (return-type "none")
  (parameters
    '("GTlsDatabase*" "database")
  )
)

(define-method set_interaction
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_set_interaction")
  (return-type "none")
  (parameters
    '("GTlsInteraction*" "interaction")
  )
)

(define-method set_rehandshake_mode
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_set_rehandshake_mode")
  (return-type "none")
  (parameters
    '("GTlsRehandshakeMode" "mode")
  )
)

(define-method set_require_close_notify
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_set_require_close_notify")
  (return-type "none")
  (parameters
    '("gboolean" "require_close_notify")
  )
)

(define-method shutdown
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_shutdown")
  (return-type "gboolean")
  (parameters
    '("gboolean" "shutdown_read")
    '("gboolean" "shutdown_write")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method shutdown_async
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_shutdown_async")
  (return-type "none")
  (parameters
    '("gboolean" "shutdown_read")
    '("gboolean" "shutdown_write")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method shutdown_finish
  (of-object "GDtlsConnection")
  (c-name "g_dtls_connection_shutdown_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-function g_dtls_server_connection_new
  (c-name "g_dtls_server_connection_new")
  (return-type "GDatagramBased*")
  (parameters
    '("GDatagramBased*" "base_socket")
    '("GTlsCertificate*" "certificate")
    '("GError**" "error")
  )
)

(define-function g_file_new_build_filename
  (c-name "g_file_new_build_filename")
  (return-type "GFile*")
  (parameters
    '("const-gchar*" "first_element")
  )
  (varargs #t)
)

(define-function g_file_new_build_filenamev
  (c-name "g_file_new_build_filenamev")
  (return-type "GFile*")
  (parameters
    '("const-gchar*-const*" "args")
  )
)

(define-function g_file_new_for_commandline_arg
  (c-name "g_file_new_for_commandline_arg")
  (return-type "GFile*")
  (parameters
    '("const-char*" "arg")
  )
)

(define-function g_file_new_for_commandline_arg_and_cwd
  (c-name "g_file_new_for_commandline_arg_and_cwd")
  (return-type "GFile*")
  (parameters
    '("const-gchar*" "arg")
    '("const-gchar*" "cwd")
  )
)

(define-function g_file_new_for_path
  (c-name "g_file_new_for_path")
  (return-type "GFile*")
  (parameters
    '("const-char*" "path")
  )
)

(define-function g_file_new_for_uri
  (c-name "g_file_new_for_uri")
  (return-type "GFile*")
  (parameters
    '("const-char*" "uri")
  )
)

(define-function g_file_new_tmp
  (c-name "g_file_new_tmp")
  (return-type "GFile*")
  (parameters
    '("const-char*" "tmpl")
    '("GFileIOStream**" "iostream")
    '("GError**" "error")
  )
)

(define-function g_file_new_tmp_async
  (c-name "g_file_new_tmp_async")
  (return-type "none")
  (parameters
    '("const-char*" "tmpl")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-function g_file_new_tmp_dir_async
  (c-name "g_file_new_tmp_dir_async")
  (return-type "none")
  (parameters
    '("const-char*" "tmpl")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-function g_file_new_tmp_dir_finish
  (c-name "g_file_new_tmp_dir_finish")
  (return-type "GFile*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-function g_file_new_tmp_finish
  (c-name "g_file_new_tmp_finish")
  (return-type "GFile*")
  (parameters
    '("GAsyncResult*" "result")
    '("GFileIOStream**" "iostream")
    '("GError**" "error")
  )
)

(define-function g_file_parse_name
  (c-name "g_file_parse_name")
  (return-type "GFile*")
  (parameters
    '("const-char*" "parse_name")
  )
)

(define-method append_to
  (of-object "GFile")
  (c-name "g_file_append_to")
  (return-type "GFileOutputStream*")
  (parameters
    '("GFileCreateFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method append_to_async
  (of-object "GFile")
  (c-name "g_file_append_to_async")
  (return-type "none")
  (parameters
    '("GFileCreateFlags" "flags")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method append_to_finish
  (of-object "GFile")
  (c-name "g_file_append_to_finish")
  (return-type "GFileOutputStream*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method build_attribute_list_for_copy
  (of-object "GFile")
  (c-name "g_file_build_attribute_list_for_copy")
  (return-type "char*")
  (parameters
    '("GFileCopyFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method copy
  (of-object "GFile")
  (c-name "g_file_copy")
  (return-type "gboolean")
  (parameters
    '("GFile*" "destination")
    '("GFileCopyFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GFileProgressCallback" "progress_callback")
    '("gpointer" "progress_callback_data")
    '("GError**" "error")
  )
)

(define-method copy_async
  (of-object "GFile")
  (c-name "g_file_copy_async")
  (return-type "none")
  (parameters
    '("GFile*" "destination")
    '("GFileCopyFlags" "flags")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GFileProgressCallback" "progress_callback")
    '("gpointer" "progress_callback_data")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method copy_async_with_closures
  (of-object "GFile")
  (c-name "g_file_copy_async_with_closures")
  (return-type "none")
  (parameters
    '("GFile*" "destination")
    '("GFileCopyFlags" "flags")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GClosure*" "progress_callback_closure")
    '("GClosure*" "ready_callback_closure")
  )
)

(define-method copy_attributes
  (of-object "GFile")
  (c-name "g_file_copy_attributes")
  (return-type "gboolean")
  (parameters
    '("GFile*" "destination")
    '("GFileCopyFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method copy_finish
  (of-object "GFile")
  (c-name "g_file_copy_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method create
  (of-object "GFile")
  (c-name "g_file_create")
  (return-type "GFileOutputStream*")
  (parameters
    '("GFileCreateFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method create_async
  (of-object "GFile")
  (c-name "g_file_create_async")
  (return-type "none")
  (parameters
    '("GFileCreateFlags" "flags")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method create_finish
  (of-object "GFile")
  (c-name "g_file_create_finish")
  (return-type "GFileOutputStream*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method create_readwrite
  (of-object "GFile")
  (c-name "g_file_create_readwrite")
  (return-type "GFileIOStream*")
  (parameters
    '("GFileCreateFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method create_readwrite_async
  (of-object "GFile")
  (c-name "g_file_create_readwrite_async")
  (return-type "none")
  (parameters
    '("GFileCreateFlags" "flags")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method create_readwrite_finish
  (of-object "GFile")
  (c-name "g_file_create_readwrite_finish")
  (return-type "GFileIOStream*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method delete
  (of-object "GFile")
  (c-name "g_file_delete")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method delete_async
  (of-object "GFile")
  (c-name "g_file_delete_async")
  (return-type "none")
  (parameters
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method delete_finish
  (of-object "GFile")
  (c-name "g_file_delete_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method dup
  (of-object "GFile")
  (c-name "g_file_dup")
  (return-type "GFile*")
)

(define-method eject_mountable
  (of-object "GFile")
  (c-name "g_file_eject_mountable")
  (return-type "none")
  (parameters
    '("GMountUnmountFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method eject_mountable_finish
  (of-object "GFile")
  (c-name "g_file_eject_mountable_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method eject_mountable_with_operation
  (of-object "GFile")
  (c-name "g_file_eject_mountable_with_operation")
  (return-type "none")
  (parameters
    '("GMountUnmountFlags" "flags")
    '("GMountOperation*" "mount_operation")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method eject_mountable_with_operation_finish
  (of-object "GFile")
  (c-name "g_file_eject_mountable_with_operation_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method enumerate_children
  (of-object "GFile")
  (c-name "g_file_enumerate_children")
  (return-type "GFileEnumerator*")
  (parameters
    '("const-char*" "attributes")
    '("GFileQueryInfoFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method enumerate_children_async
  (of-object "GFile")
  (c-name "g_file_enumerate_children_async")
  (return-type "none")
  (parameters
    '("const-char*" "attributes")
    '("GFileQueryInfoFlags" "flags")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method enumerate_children_finish
  (of-object "GFile")
  (c-name "g_file_enumerate_children_finish")
  (return-type "GFileEnumerator*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method equal
  (of-object "GFile")
  (c-name "g_file_equal")
  (return-type "gboolean")
  (parameters
    '("GFile*" "file2")
  )
)

(define-method find_enclosing_mount
  (of-object "GFile")
  (c-name "g_file_find_enclosing_mount")
  (return-type "GMount*")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method find_enclosing_mount_async
  (of-object "GFile")
  (c-name "g_file_find_enclosing_mount_async")
  (return-type "none")
  (parameters
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method find_enclosing_mount_finish
  (of-object "GFile")
  (c-name "g_file_find_enclosing_mount_finish")
  (return-type "GMount*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method get_basename
  (of-object "GFile")
  (c-name "g_file_get_basename")
  (return-type "char*")
)

(define-method get_child
  (of-object "GFile")
  (c-name "g_file_get_child")
  (return-type "GFile*")
  (parameters
    '("const-char*" "name")
  )
)

(define-method get_child_for_display_name
  (of-object "GFile")
  (c-name "g_file_get_child_for_display_name")
  (return-type "GFile*")
  (parameters
    '("const-char*" "display_name")
    '("GError**" "error")
  )
)

(define-method get_parent
  (of-object "GFile")
  (c-name "g_file_get_parent")
  (return-type "GFile*")
)

(define-method get_parse_name
  (of-object "GFile")
  (c-name "g_file_get_parse_name")
  (return-type "char*")
)

(define-method get_path
  (of-object "GFile")
  (c-name "g_file_get_path")
  (return-type "char*")
)

(define-method get_relative_path
  (of-object "GFile")
  (c-name "g_file_get_relative_path")
  (return-type "char*")
  (parameters
    '("GFile*" "descendant")
  )
)

(define-method get_uri
  (of-object "GFile")
  (c-name "g_file_get_uri")
  (return-type "char*")
)

(define-method get_uri_scheme
  (of-object "GFile")
  (c-name "g_file_get_uri_scheme")
  (return-type "char*")
)

(define-method has_parent
  (of-object "GFile")
  (c-name "g_file_has_parent")
  (return-type "gboolean")
  (parameters
    '("GFile*" "parent")
  )
)

(define-method has_prefix
  (of-object "GFile")
  (c-name "g_file_has_prefix")
  (return-type "gboolean")
  (parameters
    '("GFile*" "prefix")
  )
)

(define-method has_uri_scheme
  (of-object "GFile")
  (c-name "g_file_has_uri_scheme")
  (return-type "gboolean")
  (parameters
    '("const-char*" "uri_scheme")
  )
)

(define-method hash
  (of-object "GFile")
  (c-name "g_file_hash")
  (return-type "guint")
)

(define-method is_native
  (of-object "GFile")
  (c-name "g_file_is_native")
  (return-type "gboolean")
)

(define-method load_bytes
  (of-object "GFile")
  (c-name "g_file_load_bytes")
  (return-type "GBytes*")
  (parameters
    '("GCancellable*" "cancellable")
    '("gchar**" "etag_out")
    '("GError**" "error")
  )
)

(define-method load_bytes_async
  (of-object "GFile")
  (c-name "g_file_load_bytes_async")
  (return-type "none")
  (parameters
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method load_bytes_finish
  (of-object "GFile")
  (c-name "g_file_load_bytes_finish")
  (return-type "GBytes*")
  (parameters
    '("GAsyncResult*" "result")
    '("gchar**" "etag_out")
    '("GError**" "error")
  )
)

(define-method load_contents
  (of-object "GFile")
  (c-name "g_file_load_contents")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
    '("char**" "contents")
    '("gsize*" "length")
    '("char**" "etag_out")
    '("GError**" "error")
  )
)

(define-method load_contents_async
  (of-object "GFile")
  (c-name "g_file_load_contents_async")
  (return-type "none")
  (parameters
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method load_contents_finish
  (of-object "GFile")
  (c-name "g_file_load_contents_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "res")
    '("char**" "contents")
    '("gsize*" "length")
    '("char**" "etag_out")
    '("GError**" "error")
  )
)

(define-method load_partial_contents_async
  (of-object "GFile")
  (c-name "g_file_load_partial_contents_async")
  (return-type "none")
  (parameters
    '("GCancellable*" "cancellable")
    '("GFileReadMoreCallback" "read_more_callback")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method load_partial_contents_finish
  (of-object "GFile")
  (c-name "g_file_load_partial_contents_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "res")
    '("char**" "contents")
    '("gsize*" "length")
    '("char**" "etag_out")
    '("GError**" "error")
  )
)

(define-method make_directory
  (of-object "GFile")
  (c-name "g_file_make_directory")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method make_directory_async
  (of-object "GFile")
  (c-name "g_file_make_directory_async")
  (return-type "none")
  (parameters
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method make_directory_finish
  (of-object "GFile")
  (c-name "g_file_make_directory_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method make_directory_with_parents
  (of-object "GFile")
  (c-name "g_file_make_directory_with_parents")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method make_symbolic_link
  (of-object "GFile")
  (c-name "g_file_make_symbolic_link")
  (return-type "gboolean")
  (parameters
    '("const-char*" "symlink_value")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method make_symbolic_link_async
  (of-object "GFile")
  (c-name "g_file_make_symbolic_link_async")
  (return-type "none")
  (parameters
    '("const-char*" "symlink_value")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method make_symbolic_link_finish
  (of-object "GFile")
  (c-name "g_file_make_symbolic_link_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method measure_disk_usage
  (of-object "GFile")
  (c-name "g_file_measure_disk_usage")
  (return-type "gboolean")
  (parameters
    '("GFileMeasureFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GFileMeasureProgressCallback" "progress_callback")
    '("gpointer" "progress_data")
    '("guint64*" "disk_usage")
    '("guint64*" "num_dirs")
    '("guint64*" "num_files")
    '("GError**" "error")
  )
)

(define-method measure_disk_usage_async
  (of-object "GFile")
  (c-name "g_file_measure_disk_usage_async")
  (return-type "none")
  (parameters
    '("GFileMeasureFlags" "flags")
    '("gint" "io_priority")
    '("GCancellable*" "cancellable")
    '("GFileMeasureProgressCallback" "progress_callback")
    '("gpointer" "progress_data")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method measure_disk_usage_finish
  (of-object "GFile")
  (c-name "g_file_measure_disk_usage_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("guint64*" "disk_usage")
    '("guint64*" "num_dirs")
    '("guint64*" "num_files")
    '("GError**" "error")
  )
)

(define-method monitor
  (of-object "GFile")
  (c-name "g_file_monitor")
  (return-type "GFileMonitor*")
  (parameters
    '("GFileMonitorFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method monitor_directory
  (of-object "GFile")
  (c-name "g_file_monitor_directory")
  (return-type "GFileMonitor*")
  (parameters
    '("GFileMonitorFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method monitor_file
  (of-object "GFile")
  (c-name "g_file_monitor_file")
  (return-type "GFileMonitor*")
  (parameters
    '("GFileMonitorFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method mount_enclosing_volume
  (of-object "GFile")
  (c-name "g_file_mount_enclosing_volume")
  (return-type "none")
  (parameters
    '("GMountMountFlags" "flags")
    '("GMountOperation*" "mount_operation")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method mount_enclosing_volume_finish
  (of-object "GFile")
  (c-name "g_file_mount_enclosing_volume_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method mount_mountable
  (of-object "GFile")
  (c-name "g_file_mount_mountable")
  (return-type "none")
  (parameters
    '("GMountMountFlags" "flags")
    '("GMountOperation*" "mount_operation")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method mount_mountable_finish
  (of-object "GFile")
  (c-name "g_file_mount_mountable_finish")
  (return-type "GFile*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method move
  (of-object "GFile")
  (c-name "g_file_move")
  (return-type "gboolean")
  (parameters
    '("GFile*" "destination")
    '("GFileCopyFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GFileProgressCallback" "progress_callback")
    '("gpointer" "progress_callback_data")
    '("GError**" "error")
  )
)

(define-method move_async
  (of-object "GFile")
  (c-name "g_file_move_async")
  (return-type "none")
  (parameters
    '("GFile*" "destination")
    '("GFileCopyFlags" "flags")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GFileProgressCallback" "progress_callback")
    '("gpointer" "progress_callback_data")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method move_async_with_closures
  (of-object "GFile")
  (c-name "g_file_move_async_with_closures")
  (return-type "none")
  (parameters
    '("GFile*" "destination")
    '("GFileCopyFlags" "flags")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GClosure*" "progress_callback_closure")
    '("GClosure*" "ready_callback_closure")
  )
)

(define-method move_finish
  (of-object "GFile")
  (c-name "g_file_move_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method open_readwrite
  (of-object "GFile")
  (c-name "g_file_open_readwrite")
  (return-type "GFileIOStream*")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method open_readwrite_async
  (of-object "GFile")
  (c-name "g_file_open_readwrite_async")
  (return-type "none")
  (parameters
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method open_readwrite_finish
  (of-object "GFile")
  (c-name "g_file_open_readwrite_finish")
  (return-type "GFileIOStream*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method peek_path
  (of-object "GFile")
  (c-name "g_file_peek_path")
  (return-type "const-char*")
)

(define-method poll_mountable
  (of-object "GFile")
  (c-name "g_file_poll_mountable")
  (return-type "none")
  (parameters
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method poll_mountable_finish
  (of-object "GFile")
  (c-name "g_file_poll_mountable_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method query_default_handler
  (of-object "GFile")
  (c-name "g_file_query_default_handler")
  (return-type "GAppInfo*")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method query_default_handler_async
  (of-object "GFile")
  (c-name "g_file_query_default_handler_async")
  (return-type "none")
  (parameters
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method query_default_handler_finish
  (of-object "GFile")
  (c-name "g_file_query_default_handler_finish")
  (return-type "GAppInfo*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method query_exists
  (of-object "GFile")
  (c-name "g_file_query_exists")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
  )
)

(define-method query_file_type
  (of-object "GFile")
  (c-name "g_file_query_file_type")
  (return-type "GFileType")
  (parameters
    '("GFileQueryInfoFlags" "flags")
    '("GCancellable*" "cancellable")
  )
)

(define-method query_filesystem_info
  (of-object "GFile")
  (c-name "g_file_query_filesystem_info")
  (return-type "GFileInfo*")
  (parameters
    '("const-char*" "attributes")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method query_filesystem_info_async
  (of-object "GFile")
  (c-name "g_file_query_filesystem_info_async")
  (return-type "none")
  (parameters
    '("const-char*" "attributes")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method query_filesystem_info_finish
  (of-object "GFile")
  (c-name "g_file_query_filesystem_info_finish")
  (return-type "GFileInfo*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method query_info
  (of-object "GFile")
  (c-name "g_file_query_info")
  (return-type "GFileInfo*")
  (parameters
    '("const-char*" "attributes")
    '("GFileQueryInfoFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method query_info_async
  (of-object "GFile")
  (c-name "g_file_query_info_async")
  (return-type "none")
  (parameters
    '("const-char*" "attributes")
    '("GFileQueryInfoFlags" "flags")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method query_info_finish
  (of-object "GFile")
  (c-name "g_file_query_info_finish")
  (return-type "GFileInfo*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method query_settable_attributes
  (of-object "GFile")
  (c-name "g_file_query_settable_attributes")
  (return-type "GFileAttributeInfoList*")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method query_writable_namespaces
  (of-object "GFile")
  (c-name "g_file_query_writable_namespaces")
  (return-type "GFileAttributeInfoList*")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method read
  (of-object "GFile")
  (c-name "g_file_read")
  (return-type "GFileInputStream*")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method read_async
  (of-object "GFile")
  (c-name "g_file_read_async")
  (return-type "none")
  (parameters
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method read_finish
  (of-object "GFile")
  (c-name "g_file_read_finish")
  (return-type "GFileInputStream*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method replace
  (of-object "GFile")
  (c-name "g_file_replace")
  (return-type "GFileOutputStream*")
  (parameters
    '("const-char*" "etag")
    '("gboolean" "make_backup")
    '("GFileCreateFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method replace_async
  (of-object "GFile")
  (c-name "g_file_replace_async")
  (return-type "none")
  (parameters
    '("const-char*" "etag")
    '("gboolean" "make_backup")
    '("GFileCreateFlags" "flags")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method replace_contents
  (of-object "GFile")
  (c-name "g_file_replace_contents")
  (return-type "gboolean")
  (parameters
    '("const-char*" "contents")
    '("gsize" "length")
    '("const-char*" "etag")
    '("gboolean" "make_backup")
    '("GFileCreateFlags" "flags")
    '("char**" "new_etag")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method replace_contents_async
  (of-object "GFile")
  (c-name "g_file_replace_contents_async")
  (return-type "none")
  (parameters
    '("const-char*" "contents")
    '("gsize" "length")
    '("const-char*" "etag")
    '("gboolean" "make_backup")
    '("GFileCreateFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method replace_contents_bytes_async
  (of-object "GFile")
  (c-name "g_file_replace_contents_bytes_async")
  (return-type "none")
  (parameters
    '("GBytes*" "contents")
    '("const-char*" "etag")
    '("gboolean" "make_backup")
    '("GFileCreateFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method replace_contents_finish
  (of-object "GFile")
  (c-name "g_file_replace_contents_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "res")
    '("char**" "new_etag")
    '("GError**" "error")
  )
)

(define-method replace_finish
  (of-object "GFile")
  (c-name "g_file_replace_finish")
  (return-type "GFileOutputStream*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method replace_readwrite
  (of-object "GFile")
  (c-name "g_file_replace_readwrite")
  (return-type "GFileIOStream*")
  (parameters
    '("const-char*" "etag")
    '("gboolean" "make_backup")
    '("GFileCreateFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method replace_readwrite_async
  (of-object "GFile")
  (c-name "g_file_replace_readwrite_async")
  (return-type "none")
  (parameters
    '("const-char*" "etag")
    '("gboolean" "make_backup")
    '("GFileCreateFlags" "flags")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method replace_readwrite_finish
  (of-object "GFile")
  (c-name "g_file_replace_readwrite_finish")
  (return-type "GFileIOStream*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method resolve_relative_path
  (of-object "GFile")
  (c-name "g_file_resolve_relative_path")
  (return-type "GFile*")
  (parameters
    '("const-char*" "relative_path")
  )
)

(define-method set_attribute
  (of-object "GFile")
  (c-name "g_file_set_attribute")
  (return-type "gboolean")
  (parameters
    '("const-char*" "attribute")
    '("GFileAttributeType" "type")
    '("gpointer" "value_p")
    '("GFileQueryInfoFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method set_attribute_byte_string
  (of-object "GFile")
  (c-name "g_file_set_attribute_byte_string")
  (return-type "gboolean")
  (parameters
    '("const-char*" "attribute")
    '("const-char*" "value")
    '("GFileQueryInfoFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method set_attribute_int32
  (of-object "GFile")
  (c-name "g_file_set_attribute_int32")
  (return-type "gboolean")
  (parameters
    '("const-char*" "attribute")
    '("gint32" "value")
    '("GFileQueryInfoFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method set_attribute_int64
  (of-object "GFile")
  (c-name "g_file_set_attribute_int64")
  (return-type "gboolean")
  (parameters
    '("const-char*" "attribute")
    '("gint64" "value")
    '("GFileQueryInfoFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method set_attribute_string
  (of-object "GFile")
  (c-name "g_file_set_attribute_string")
  (return-type "gboolean")
  (parameters
    '("const-char*" "attribute")
    '("const-char*" "value")
    '("GFileQueryInfoFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method set_attribute_uint32
  (of-object "GFile")
  (c-name "g_file_set_attribute_uint32")
  (return-type "gboolean")
  (parameters
    '("const-char*" "attribute")
    '("guint32" "value")
    '("GFileQueryInfoFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method set_attribute_uint64
  (of-object "GFile")
  (c-name "g_file_set_attribute_uint64")
  (return-type "gboolean")
  (parameters
    '("const-char*" "attribute")
    '("guint64" "value")
    '("GFileQueryInfoFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method set_attributes_async
  (of-object "GFile")
  (c-name "g_file_set_attributes_async")
  (return-type "none")
  (parameters
    '("GFileInfo*" "info")
    '("GFileQueryInfoFlags" "flags")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method set_attributes_finish
  (of-object "GFile")
  (c-name "g_file_set_attributes_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GFileInfo**" "info")
    '("GError**" "error")
  )
)

(define-method set_attributes_from_info
  (of-object "GFile")
  (c-name "g_file_set_attributes_from_info")
  (return-type "gboolean")
  (parameters
    '("GFileInfo*" "info")
    '("GFileQueryInfoFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method set_display_name
  (of-object "GFile")
  (c-name "g_file_set_display_name")
  (return-type "GFile*")
  (parameters
    '("const-char*" "display_name")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method set_display_name_async
  (of-object "GFile")
  (c-name "g_file_set_display_name_async")
  (return-type "none")
  (parameters
    '("const-char*" "display_name")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method set_display_name_finish
  (of-object "GFile")
  (c-name "g_file_set_display_name_finish")
  (return-type "GFile*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method start_mountable
  (of-object "GFile")
  (c-name "g_file_start_mountable")
  (return-type "none")
  (parameters
    '("GDriveStartFlags" "flags")
    '("GMountOperation*" "start_operation")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method start_mountable_finish
  (of-object "GFile")
  (c-name "g_file_start_mountable_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method stop_mountable
  (of-object "GFile")
  (c-name "g_file_stop_mountable")
  (return-type "none")
  (parameters
    '("GMountUnmountFlags" "flags")
    '("GMountOperation*" "mount_operation")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method stop_mountable_finish
  (of-object "GFile")
  (c-name "g_file_stop_mountable_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method supports_thread_contexts
  (of-object "GFile")
  (c-name "g_file_supports_thread_contexts")
  (return-type "gboolean")
)

(define-method trash
  (of-object "GFile")
  (c-name "g_file_trash")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method trash_async
  (of-object "GFile")
  (c-name "g_file_trash_async")
  (return-type "none")
  (parameters
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method trash_finish
  (of-object "GFile")
  (c-name "g_file_trash_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method unmount_mountable
  (of-object "GFile")
  (c-name "g_file_unmount_mountable")
  (return-type "none")
  (parameters
    '("GMountUnmountFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method unmount_mountable_finish
  (of-object "GFile")
  (c-name "g_file_unmount_mountable_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method unmount_mountable_with_operation
  (of-object "GFile")
  (c-name "g_file_unmount_mountable_with_operation")
  (return-type "none")
  (parameters
    '("GMountUnmountFlags" "flags")
    '("GMountOperation*" "mount_operation")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method unmount_mountable_with_operation_finish
  (of-object "GFile")
  (c-name "g_file_unmount_mountable_with_operation_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-function g_icon_deserialize
  (c-name "g_icon_deserialize")
  (return-type "GIcon*")
  (parameters
    '("GVariant*" "value")
  )
)

(define-function g_icon_new_for_string
  (c-name "g_icon_new_for_string")
  (return-type "GIcon*")
  (parameters
    '("const-gchar*" "str")
    '("GError**" "error")
  )
)

(define-method equal
  (of-object "GIcon")
  (c-name "g_icon_equal")
  (return-type "gboolean")
  (parameters
    '("GIcon*" "icon2")
  )
)

(define-method hash
  (of-object "GIcon")
  (c-name "g_icon_hash")
  (return-type "guint")
)

(define-method serialize
  (of-object "GIcon")
  (c-name "g_icon_serialize")
  (return-type "GVariant*")
)

(define-method to_string
  (of-object "GIcon")
  (c-name "g_icon_to_string")
  (return-type "gchar*")
)

(define-function g_initable_new
  (c-name "g_initable_new")
  (return-type "gpointer")
  (parameters
    '("GType" "object_type")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
    '("const-gchar*" "first_property_name")
  )
  (varargs #t)
)

(define-function g_initable_new_valist
  (c-name "g_initable_new_valist")
  (return-type "GObject*")
  (parameters
    '("GType" "object_type")
    '("const-gchar*" "first_property_name")
    '("va_list" "var_args")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-function g_initable_newv
  (c-name "g_initable_newv")
  (return-type "gpointer")
  (parameters
    '("GType" "object_type")
    '("guint" "n_parameters")
    '("GParameter*" "parameters")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method init
  (of-object "GInitable")
  (c-name "g_initable_init")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method get_item
  (of-object "GListModel")
  (c-name "g_list_model_get_item")
  (return-type "gpointer")
  (parameters
    '("guint" "position")
  )
)

(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_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")
  )
)

(define-method load
  (of-object "GLoadableIcon")
  (c-name "g_loadable_icon_load")
  (return-type "GInputStream*")
  (parameters
    '("int" "size")
    '("char**" "type")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method load_async
  (of-object "GLoadableIcon")
  (c-name "g_loadable_icon_load_async")
  (return-type "none")
  (parameters
    '("int" "size")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method load_finish
  (of-object "GLoadableIcon")
  (c-name "g_loadable_icon_load_finish")
  (return-type "GInputStream*")
  (parameters
    '("GAsyncResult*" "res")
    '("char**" "type")
    '("GError**" "error")
  )
)

(define-function g_memory_monitor_dup_default
  (c-name "g_memory_monitor_dup_default")
  (return-type "GMemoryMonitor*")
)

(define-method can_eject
  (of-object "GMount")
  (c-name "g_mount_can_eject")
  (return-type "gboolean")
)

(define-method can_unmount
  (of-object "GMount")
  (c-name "g_mount_can_unmount")
  (return-type "gboolean")
)

(define-method eject
  (of-object "GMount")
  (c-name "g_mount_eject")
  (return-type "none")
  (parameters
    '("GMountUnmountFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method eject_finish
  (of-object "GMount")
  (c-name "g_mount_eject_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method eject_with_operation
  (of-object "GMount")
  (c-name "g_mount_eject_with_operation")
  (return-type "none")
  (parameters
    '("GMountUnmountFlags" "flags")
    '("GMountOperation*" "mount_operation")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method eject_with_operation_finish
  (of-object "GMount")
  (c-name "g_mount_eject_with_operation_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method get_default_location
  (of-object "GMount")
  (c-name "g_mount_get_default_location")
  (return-type "GFile*")
)

(define-method get_drive
  (of-object "GMount")
  (c-name "g_mount_get_drive")
  (return-type "GDrive*")
)

(define-method get_icon
  (of-object "GMount")
  (c-name "g_mount_get_icon")
  (return-type "GIcon*")
)

(define-method get_name
  (of-object "GMount")
  (c-name "g_mount_get_name")
  (return-type "char*")
)

(define-method get_root
  (of-object "GMount")
  (c-name "g_mount_get_root")
  (return-type "GFile*")
)

(define-method get_sort_key
  (of-object "GMount")
  (c-name "g_mount_get_sort_key")
  (return-type "const-gchar*")
)

(define-method get_symbolic_icon
  (of-object "GMount")
  (c-name "g_mount_get_symbolic_icon")
  (return-type "GIcon*")
)

(define-method get_uuid
  (of-object "GMount")
  (c-name "g_mount_get_uuid")
  (return-type "char*")
)

(define-method get_volume
  (of-object "GMount")
  (c-name "g_mount_get_volume")
  (return-type "GVolume*")
)

(define-method guess_content_type
  (of-object "GMount")
  (c-name "g_mount_guess_content_type")
  (return-type "none")
  (parameters
    '("gboolean" "force_rescan")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method guess_content_type_finish
  (of-object "GMount")
  (c-name "g_mount_guess_content_type_finish")
  (return-type "gchar**")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method guess_content_type_sync
  (of-object "GMount")
  (c-name "g_mount_guess_content_type_sync")
  (return-type "gchar**")
  (parameters
    '("gboolean" "force_rescan")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method is_shadowed
  (of-object "GMount")
  (c-name "g_mount_is_shadowed")
  (return-type "gboolean")
)

(define-method remount
  (of-object "GMount")
  (c-name "g_mount_remount")
  (return-type "none")
  (parameters
    '("GMountMountFlags" "flags")
    '("GMountOperation*" "mount_operation")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method remount_finish
  (of-object "GMount")
  (c-name "g_mount_remount_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method shadow
  (of-object "GMount")
  (c-name "g_mount_shadow")
  (return-type "none")
)

(define-method unmount
  (of-object "GMount")
  (c-name "g_mount_unmount")
  (return-type "none")
  (parameters
    '("GMountUnmountFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method unmount_finish
  (of-object "GMount")
  (c-name "g_mount_unmount_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method unmount_with_operation
  (of-object "GMount")
  (c-name "g_mount_unmount_with_operation")
  (return-type "none")
  (parameters
    '("GMountUnmountFlags" "flags")
    '("GMountOperation*" "mount_operation")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method unmount_with_operation_finish
  (of-object "GMount")
  (c-name "g_mount_unmount_with_operation_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method unshadow
  (of-object "GMount")
  (c-name "g_mount_unshadow")
  (return-type "none")
)

(define-function g_network_monitor_get_default
  (c-name "g_network_monitor_get_default")
  (return-type "GNetworkMonitor*")
)

(define-method can_reach
  (of-object "GNetworkMonitor")
  (c-name "g_network_monitor_can_reach")
  (return-type "gboolean")
  (parameters
    '("GSocketConnectable*" "connectable")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method can_reach_async
  (of-object "GNetworkMonitor")
  (c-name "g_network_monitor_can_reach_async")
  (return-type "none")
  (parameters
    '("GSocketConnectable*" "connectable")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method can_reach_finish
  (of-object "GNetworkMonitor")
  (c-name "g_network_monitor_can_reach_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method get_connectivity
  (of-object "GNetworkMonitor")
  (c-name "g_network_monitor_get_connectivity")
  (return-type "GNetworkConnectivity")
)

(define-method get_network_available
  (of-object "GNetworkMonitor")
  (c-name "g_network_monitor_get_network_available")
  (return-type "gboolean")
)

(define-method get_network_metered
  (of-object "GNetworkMonitor")
  (c-name "g_network_monitor_get_network_metered")
  (return-type "gboolean")
)

(define-method can_poll
  (of-object "GPollableInputStream")
  (c-name "g_pollable_input_stream_can_poll")
  (return-type "gboolean")
)

(define-method create_source
  (of-object "GPollableInputStream")
  (c-name "g_pollable_input_stream_create_source")
  (return-type "GSource*")
  (parameters
    '("GCancellable*" "cancellable")
  )
)

(define-method is_readable
  (of-object "GPollableInputStream")
  (c-name "g_pollable_input_stream_is_readable")
  (return-type "gboolean")
)

(define-method read_nonblocking
  (of-object "GPollableInputStream")
  (c-name "g_pollable_input_stream_read_nonblocking")
  (return-type "gssize")
  (parameters
    '("void*" "buffer")
    '("gsize" "count")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method can_poll
  (of-object "GPollableOutputStream")
  (c-name "g_pollable_output_stream_can_poll")
  (return-type "gboolean")
)

(define-method create_source
  (of-object "GPollableOutputStream")
  (c-name "g_pollable_output_stream_create_source")
  (return-type "GSource*")
  (parameters
    '("GCancellable*" "cancellable")
  )
)

(define-method is_writable
  (of-object "GPollableOutputStream")
  (c-name "g_pollable_output_stream_is_writable")
  (return-type "gboolean")
)

(define-method write_nonblocking
  (of-object "GPollableOutputStream")
  (c-name "g_pollable_output_stream_write_nonblocking")
  (return-type "gssize")
  (parameters
    '("const-void*" "buffer")
    '("gsize" "count")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method writev_nonblocking
  (of-object "GPollableOutputStream")
  (c-name "g_pollable_output_stream_writev_nonblocking")
  (return-type "GPollableReturn")
  (parameters
    '("const-GOutputVector*" "vectors")
    '("gsize" "n_vectors")
    '("gsize*" "bytes_written")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-function g_power_profile_monitor_dup_default
  (c-name "g_power_profile_monitor_dup_default")
  (return-type "GPowerProfileMonitor*")
)

(define-method get_power_saver_enabled
  (of-object "GPowerProfileMonitor")
  (c-name "g_power_profile_monitor_get_power_saver_enabled")
  (return-type "gboolean")
)

(define-function g_proxy_get_default_for_protocol
  (c-name "g_proxy_get_default_for_protocol")
  (return-type "GProxy*")
  (parameters
    '("const-gchar*" "protocol")
  )
)

(define-method connect
  (of-object "GProxy")
  (c-name "g_proxy_connect")
  (return-type "GIOStream*")
  (parameters
    '("GIOStream*" "connection")
    '("GProxyAddress*" "proxy_address")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method connect_async
  (of-object "GProxy")
  (c-name "g_proxy_connect_async")
  (return-type "none")
  (parameters
    '("GIOStream*" "connection")
    '("GProxyAddress*" "proxy_address")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method connect_finish
  (of-object "GProxy")
  (c-name "g_proxy_connect_finish")
  (return-type "GIOStream*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method supports_hostname
  (of-object "GProxy")
  (c-name "g_proxy_supports_hostname")
  (return-type "gboolean")
)

(define-function g_proxy_resolver_get_default
  (c-name "g_proxy_resolver_get_default")
  (return-type "GProxyResolver*")
)

(define-method is_supported
  (of-object "GProxyResolver")
  (c-name "g_proxy_resolver_is_supported")
  (return-type "gboolean")
)

(define-method lookup
  (of-object "GProxyResolver")
  (c-name "g_proxy_resolver_lookup")
  (return-type "gchar**")
  (parameters
    '("const-gchar*" "uri")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method lookup_async
  (of-object "GProxyResolver")
  (c-name "g_proxy_resolver_lookup_async")
  (return-type "none")
  (parameters
    '("const-gchar*" "uri")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method lookup_finish
  (of-object "GProxyResolver")
  (c-name "g_proxy_resolver_lookup_finish")
  (return-type "gchar**")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method activate_action_full
  (of-object "GRemoteActionGroup")
  (c-name "g_remote_action_group_activate_action_full")
  (return-type "none")
  (parameters
    '("const-gchar*" "action_name")
    '("GVariant*" "parameter")
    '("GVariant*" "platform_data")
  )
)

(define-method change_action_state_full
  (of-object "GRemoteActionGroup")
  (c-name "g_remote_action_group_change_action_state_full")
  (return-type "none")
  (parameters
    '("const-gchar*" "action_name")
    '("GVariant*" "value")
    '("GVariant*" "platform_data")
  )
)

(define-method can_seek
  (of-object "GSeekable")
  (c-name "g_seekable_can_seek")
  (return-type "gboolean")
)

(define-method can_truncate
  (of-object "GSeekable")
  (c-name "g_seekable_can_truncate")
  (return-type "gboolean")
)

(define-method seek
  (of-object "GSeekable")
  (c-name "g_seekable_seek")
  (return-type "gboolean")
  (parameters
    '("goffset" "offset")
    '("GSeekType" "type")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method tell
  (of-object "GSeekable")
  (c-name "g_seekable_tell")
  (return-type "goffset")
)

(define-method truncate
  (of-object "GSeekable")
  (c-name "g_seekable_truncate")
  (return-type "gboolean")
  (parameters
    '("goffset" "offset")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method enumerate
  (of-object "GSocketConnectable")
  (c-name "g_socket_connectable_enumerate")
  (return-type "GSocketAddressEnumerator*")
)

(define-method proxy_enumerate
  (of-object "GSocketConnectable")
  (c-name "g_socket_connectable_proxy_enumerate")
  (return-type "GSocketAddressEnumerator*")
)

(define-method to_string
  (of-object "GSocketConnectable")
  (c-name "g_socket_connectable_to_string")
  (return-type "gchar*")
)

(define-function g_tls_backend_get_default
  (c-name "g_tls_backend_get_default")
  (return-type "GTlsBackend*")
)

(define-method get_certificate_type
  (of-object "GTlsBackend")
  (c-name "g_tls_backend_get_certificate_type")
  (return-type "GType")
)

(define-method get_client_connection_type
  (of-object "GTlsBackend")
  (c-name "g_tls_backend_get_client_connection_type")
  (return-type "GType")
)

(define-method get_default_database
  (of-object "GTlsBackend")
  (c-name "g_tls_backend_get_default_database")
  (return-type "GTlsDatabase*")
)

(define-method get_dtls_client_connection_type
  (of-object "GTlsBackend")
  (c-name "g_tls_backend_get_dtls_client_connection_type")
  (return-type "GType")
)

(define-method get_dtls_server_connection_type
  (of-object "GTlsBackend")
  (c-name "g_tls_backend_get_dtls_server_connection_type")
  (return-type "GType")
)

(define-method get_file_database_type
  (of-object "GTlsBackend")
  (c-name "g_tls_backend_get_file_database_type")
  (return-type "GType")
)

(define-method get_server_connection_type
  (of-object "GTlsBackend")
  (c-name "g_tls_backend_get_server_connection_type")
  (return-type "GType")
)

(define-method set_default_database
  (of-object "GTlsBackend")
  (c-name "g_tls_backend_set_default_database")
  (return-type "none")
  (parameters
    '("GTlsDatabase*" "database")
  )
)

(define-method supports_dtls
  (of-object "GTlsBackend")
  (c-name "g_tls_backend_supports_dtls")
  (return-type "gboolean")
)

(define-method supports_tls
  (of-object "GTlsBackend")
  (c-name "g_tls_backend_supports_tls")
  (return-type "gboolean")
)

(define-function g_tls_client_connection_new
  (c-name "g_tls_client_connection_new")
  (return-type "GIOStream*")
  (parameters
    '("GIOStream*" "base_io_stream")
    '("GSocketConnectable*" "server_identity")
    '("GError**" "error")
  )
)

(define-method copy_session_state
  (of-object "GTlsClientConnection")
  (c-name "g_tls_client_connection_copy_session_state")
  (return-type "none")
  (parameters
    '("GTlsClientConnection*" "source")
  )
)

(define-method get_accepted_cas
  (of-object "GTlsClientConnection")
  (c-name "g_tls_client_connection_get_accepted_cas")
  (return-type "GList*")
)

(define-method get_server_identity
  (of-object "GTlsClientConnection")
  (c-name "g_tls_client_connection_get_server_identity")
  (return-type "GSocketConnectable*")
)

(define-method get_use_ssl3
  (of-object "GTlsClientConnection")
  (c-name "g_tls_client_connection_get_use_ssl3")
  (return-type "gboolean")
)

(define-method get_validation_flags
  (of-object "GTlsClientConnection")
  (c-name "g_tls_client_connection_get_validation_flags")
  (return-type "GTlsCertificateFlags")
)

(define-method set_server_identity
  (of-object "GTlsClientConnection")
  (c-name "g_tls_client_connection_set_server_identity")
  (return-type "none")
  (parameters
    '("GSocketConnectable*" "identity")
  )
)

(define-method set_use_ssl3
  (of-object "GTlsClientConnection")
  (c-name "g_tls_client_connection_set_use_ssl3")
  (return-type "none")
  (parameters
    '("gboolean" "use_ssl3")
  )
)

(define-method set_validation_flags
  (of-object "GTlsClientConnection")
  (c-name "g_tls_client_connection_set_validation_flags")
  (return-type "none")
  (parameters
    '("GTlsCertificateFlags" "flags")
  )
)

(define-function g_tls_file_database_new
  (c-name "g_tls_file_database_new")
  (return-type "GTlsDatabase*")
  (parameters
    '("const-gchar*" "anchors")
    '("GError**" "error")
  )
)

(define-function g_tls_server_connection_new
  (c-name "g_tls_server_connection_new")
  (return-type "GIOStream*")
  (parameters
    '("GIOStream*" "base_io_stream")
    '("GTlsCertificate*" "certificate")
    '("GError**" "error")
  )
)

(define-method can_eject
  (of-object "GVolume")
  (c-name "g_volume_can_eject")
  (return-type "gboolean")
)

(define-method can_mount
  (of-object "GVolume")
  (c-name "g_volume_can_mount")
  (return-type "gboolean")
)

(define-method eject
  (of-object "GVolume")
  (c-name "g_volume_eject")
  (return-type "none")
  (parameters
    '("GMountUnmountFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method eject_finish
  (of-object "GVolume")
  (c-name "g_volume_eject_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method eject_with_operation
  (of-object "GVolume")
  (c-name "g_volume_eject_with_operation")
  (return-type "none")
  (parameters
    '("GMountUnmountFlags" "flags")
    '("GMountOperation*" "mount_operation")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method eject_with_operation_finish
  (of-object "GVolume")
  (c-name "g_volume_eject_with_operation_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method enumerate_identifiers
  (of-object "GVolume")
  (c-name "g_volume_enumerate_identifiers")
  (return-type "char**")
)

(define-method get_activation_root
  (of-object "GVolume")
  (c-name "g_volume_get_activation_root")
  (return-type "GFile*")
)

(define-method get_drive
  (of-object "GVolume")
  (c-name "g_volume_get_drive")
  (return-type "GDrive*")
)

(define-method get_icon
  (of-object "GVolume")
  (c-name "g_volume_get_icon")
  (return-type "GIcon*")
)

(define-method get_identifier
  (of-object "GVolume")
  (c-name "g_volume_get_identifier")
  (return-type "char*")
  (parameters
    '("const-char*" "kind")
  )
)

(define-method get_mount
  (of-object "GVolume")
  (c-name "g_volume_get_mount")
  (return-type "GMount*")
)

(define-method get_name
  (of-object "GVolume")
  (c-name "g_volume_get_name")
  (return-type "char*")
)

(define-method get_sort_key
  (of-object "GVolume")
  (c-name "g_volume_get_sort_key")
  (return-type "const-gchar*")
)

(define-method get_symbolic_icon
  (of-object "GVolume")
  (c-name "g_volume_get_symbolic_icon")
  (return-type "GIcon*")
)

(define-method get_uuid
  (of-object "GVolume")
  (c-name "g_volume_get_uuid")
  (return-type "char*")
)

(define-method mount
  (of-object "GVolume")
  (c-name "g_volume_mount")
  (return-type "none")
  (parameters
    '("GMountMountFlags" "flags")
    '("GMountOperation*" "mount_operation")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method mount_finish
  (of-object "GVolume")
  (c-name "g_volume_mount_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method should_automount
  (of-object "GVolume")
  (c-name "g_volume_should_automount")
  (return-type "gboolean")
)

(define-function g_app_info_monitor_get
  (c-name "g_app_info_monitor_get")
  (return-type "GAppInfoMonitor*")
)

(define-method get_display
  (of-object "GAppLaunchContext")
  (c-name "g_app_launch_context_get_display")
  (return-type "char*")
  (parameters
    '("GAppInfo*" "info")
    '("GList*" "files")
  )
)

(define-method get_environment
  (of-object "GAppLaunchContext")
  (c-name "g_app_launch_context_get_environment")
  (return-type "char**")
)

(define-method get_startup_notify_id
  (of-object "GAppLaunchContext")
  (c-name "g_app_launch_context_get_startup_notify_id")
  (return-type "char*")
  (parameters
    '("GAppInfo*" "info")
    '("GList*" "files")
  )
)

(define-method launch_failed
  (of-object "GAppLaunchContext")
  (c-name "g_app_launch_context_launch_failed")
  (return-type "none")
  (parameters
    '("const-char*" "startup_notify_id")
  )
)

(define-method setenv
  (of-object "GAppLaunchContext")
  (c-name "g_app_launch_context_setenv")
  (return-type "none")
  (parameters
    '("const-char*" "variable")
    '("const-char*" "value")
  )
)

(define-method unsetenv
  (of-object "GAppLaunchContext")
  (c-name "g_app_launch_context_unsetenv")
  (return-type "none")
  (parameters
    '("const-char*" "variable")
  )
)

(define-function g_app_launch_context_new
  (c-name "g_app_launch_context_new")
  (is-constructor-of "GAppLaunchContext")
  (return-type "GAppLaunchContext*")
)

(define-function g_application_get_default
  (c-name "g_application_get_default")
  (return-type "GApplication*")
)

(define-function g_application_id_is_valid
  (c-name "g_application_id_is_valid")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "application_id")
  )
)

(define-method activate
  (of-object "GApplication")
  (c-name "g_application_activate")
  (return-type "none")
)

(define-method add_main_option
  (of-object "GApplication")
  (c-name "g_application_add_main_option")
  (return-type "none")
  (parameters
    '("const-char*" "long_name")
    '("char" "short_name")
    '("GOptionFlags" "flags")
    '("GOptionArg" "arg")
    '("const-char*" "description")
    '("const-char*" "arg_description")
  )
)

(define-method add_main_option_entries
  (of-object "GApplication")
  (c-name "g_application_add_main_option_entries")
  (return-type "none")
  (parameters
    '("const-GOptionEntry*" "entries")
  )
)

(define-method add_option_group
  (of-object "GApplication")
  (c-name "g_application_add_option_group")
  (return-type "none")
  (parameters
    '("GOptionGroup*" "group")
  )
)

(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 get_application_id
  (of-object "GApplication")
  (c-name "g_application_get_application_id")
  (return-type "const-gchar*")
)

(define-method get_dbus_connection
  (of-object "GApplication")
  (c-name "g_application_get_dbus_connection")
  (return-type "GDBusConnection*")
)

(define-method get_dbus_object_path
  (of-object "GApplication")
  (c-name "g_application_get_dbus_object_path")
  (return-type "const-gchar*")
)

(define-method get_flags
  (of-object "GApplication")
  (c-name "g_application_get_flags")
  (return-type "GApplicationFlags")
)

(define-method get_inactivity_timeout
  (of-object "GApplication")
  (c-name "g_application_get_inactivity_timeout")
  (return-type "guint")
)

(define-method get_is_busy
  (of-object "GApplication")
  (c-name "g_application_get_is_busy")
  (return-type "gboolean")
)

(define-method get_is_registered
  (of-object "GApplication")
  (c-name "g_application_get_is_registered")
  (return-type "gboolean")
)

(define-method get_is_remote
  (of-object "GApplication")
  (c-name "g_application_get_is_remote")
  (return-type "gboolean")
)

(define-method get_resource_base_path
  (of-object "GApplication")
  (c-name "g_application_get_resource_base_path")
  (return-type "const-gchar*")
)

(define-method get_version
  (of-object "GApplication")
  (c-name "g_application_get_version")
  (return-type "const-gchar*")
)

(define-method hold
  (of-object "GApplication")
  (c-name "g_application_hold")
  (return-type "none")
)

(define-method mark_busy
  (of-object "GApplication")
  (c-name "g_application_mark_busy")
  (return-type "none")
)

(define-method open
  (of-object "GApplication")
  (c-name "g_application_open")
  (return-type "none")
  (parameters
    '("GFile**" "files")
    '("gint" "n_files")
    '("const-gchar*" "hint")
  )
)

(define-method quit
  (of-object "GApplication")
  (c-name "g_application_quit")
  (return-type "none")
)

(define-method register
  (of-object "GApplication")
  (c-name "g_application_register")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method release
  (of-object "GApplication")
  (c-name "g_application_release")
  (return-type "none")
)

(define-method run
  (of-object "GApplication")
  (c-name "g_application_run")
  (return-type "int")
  (parameters
    '("int" "argc")
    '("char**" "argv")
  )
)

(define-method send_notification
  (of-object "GApplication")
  (c-name "g_application_send_notification")
  (return-type "none")
  (parameters
    '("const-gchar*" "id")
    '("GNotification*" "notification")
  )
)

(define-method set_action_group
  (of-object "GApplication")
  (c-name "g_application_set_action_group")
  (return-type "none")
  (parameters
    '("GActionGroup*" "action_group")
  )
)

(define-method set_application_id
  (of-object "GApplication")
  (c-name "g_application_set_application_id")
  (return-type "none")
  (parameters
    '("const-gchar*" "application_id")
  )
)

(define-method set_default
  (of-object "GApplication")
  (c-name "g_application_set_default")
  (return-type "none")
)

(define-method set_flags
  (of-object "GApplication")
  (c-name "g_application_set_flags")
  (return-type "none")
  (parameters
    '("GApplicationFlags" "flags")
  )
)

(define-method set_inactivity_timeout
  (of-object "GApplication")
  (c-name "g_application_set_inactivity_timeout")
  (return-type "none")
  (parameters
    '("guint" "inactivity_timeout")
  )
)

(define-method set_option_context_description
  (of-object "GApplication")
  (c-name "g_application_set_option_context_description")
  (return-type "none")
  (parameters
    '("const-gchar*" "description")
  )
)

(define-method set_option_context_parameter_string
  (of-object "GApplication")
  (c-name "g_application_set_option_context_parameter_string")
  (return-type "none")
  (parameters
    '("const-gchar*" "parameter_string")
  )
)

(define-method set_option_context_summary
  (of-object "GApplication")
  (c-name "g_application_set_option_context_summary")
  (return-type "none")
  (parameters
    '("const-gchar*" "summary")
  )
)

(define-method set_resource_base_path
  (of-object "GApplication")
  (c-name "g_application_set_resource_base_path")
  (return-type "none")
  (parameters
    '("const-gchar*" "resource_path")
  )
)

(define-method set_version
  (of-object "GApplication")
  (c-name "g_application_set_version")
  (return-type "none")
  (parameters
    '("const-gchar*" "version")
  )
)

(define-method unbind_busy_property
  (of-object "GApplication")
  (c-name "g_application_unbind_busy_property")
  (return-type "none")
  (parameters
    '("gpointer" "object")
    '("const-gchar*" "property")
  )
)

(define-method unmark_busy
  (of-object "GApplication")
  (c-name "g_application_unmark_busy")
  (return-type "none")
)

(define-method withdraw_notification
  (of-object "GApplication")
  (c-name "g_application_withdraw_notification")
  (return-type "none")
  (parameters
    '("const-gchar*" "id")
  )
)

(define-function g_application_new
  (c-name "g_application_new")
  (is-constructor-of "GApplication")
  (return-type "GApplication*")
  (parameters
    '("const-gchar*" "application_id")
    '("GApplicationFlags" "flags")
  )
)

(define-method create_file_for_arg
  (of-object "GApplicationCommandLine")
  (c-name "g_application_command_line_create_file_for_arg")
  (return-type "GFile*")
  (parameters
    '("const-gchar*" "arg")
  )
)

(define-method done
  (of-object "GApplicationCommandLine")
  (c-name "g_application_command_line_done")
  (return-type "none")
)

(define-method get_arguments
  (of-object "GApplicationCommandLine")
  (c-name "g_application_command_line_get_arguments")
  (return-type "gchar**")
  (parameters
    '("int*" "argc")
  )
)

(define-method get_cwd
  (of-object "GApplicationCommandLine")
  (c-name "g_application_command_line_get_cwd")
  (return-type "const-gchar*")
)

(define-method get_environ
  (of-object "GApplicationCommandLine")
  (c-name "g_application_command_line_get_environ")
  (return-type "const-gchar*-const*")
)

(define-method get_exit_status
  (of-object "GApplicationCommandLine")
  (c-name "g_application_command_line_get_exit_status")
  (return-type "int")
)

(define-method get_is_remote
  (of-object "GApplicationCommandLine")
  (c-name "g_application_command_line_get_is_remote")
  (return-type "gboolean")
)

(define-method get_options_dict
  (of-object "GApplicationCommandLine")
  (c-name "g_application_command_line_get_options_dict")
  (return-type "GVariantDict*")
)

(define-method get_platform_data
  (of-object "GApplicationCommandLine")
  (c-name "g_application_command_line_get_platform_data")
  (return-type "GVariant*")
)

(define-method get_stdin
  (of-object "GApplicationCommandLine")
  (c-name "g_application_command_line_get_stdin")
  (return-type "GInputStream*")
)

(define-method getenv
  (of-object "GApplicationCommandLine")
  (c-name "g_application_command_line_getenv")
  (return-type "const-gchar*")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method print
  (of-object "GApplicationCommandLine")
  (c-name "g_application_command_line_print")
  (return-type "none")
  (parameters
    '("const-gchar*" "format")
  )
  (varargs #t)
)

(define-method print_literal
  (of-object "GApplicationCommandLine")
  (c-name "g_application_command_line_print_literal")
  (return-type "none")
  (parameters
    '("const-gchar*" "message")
  )
)

(define-method printerr
  (of-object "GApplicationCommandLine")
  (c-name "g_application_command_line_printerr")
  (return-type "none")
  (parameters
    '("const-gchar*" "format")
  )
  (varargs #t)
)

(define-method printerr_literal
  (of-object "GApplicationCommandLine")
  (c-name "g_application_command_line_printerr_literal")
  (return-type "none")
  (parameters
    '("const-gchar*" "message")
  )
)

(define-method set_exit_status
  (of-object "GApplicationCommandLine")
  (c-name "g_application_command_line_set_exit_status")
  (return-type "none")
  (parameters
    '("int" "exit_status")
  )
)

(define-method fill
  (of-object "GBufferedInputStream")
  (c-name "g_buffered_input_stream_fill")
  (return-type "gssize")
  (parameters
    '("gssize" "count")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method fill_async
  (of-object "GBufferedInputStream")
  (c-name "g_buffered_input_stream_fill_async")
  (return-type "none")
  (parameters
    '("gssize" "count")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method fill_finish
  (of-object "GBufferedInputStream")
  (c-name "g_buffered_input_stream_fill_finish")
  (return-type "gssize")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method get_available
  (of-object "GBufferedInputStream")
  (c-name "g_buffered_input_stream_get_available")
  (return-type "gsize")
)

(define-method get_buffer_size
  (of-object "GBufferedInputStream")
  (c-name "g_buffered_input_stream_get_buffer_size")
  (return-type "gsize")
)

(define-method peek
  (of-object "GBufferedInputStream")
  (c-name "g_buffered_input_stream_peek")
  (return-type "gsize")
  (parameters
    '("void*" "buffer")
    '("gsize" "offset")
    '("gsize" "count")
  )
)

(define-method peek_buffer
  (of-object "GBufferedInputStream")
  (c-name "g_buffered_input_stream_peek_buffer")
  (return-type "const-void*")
  (parameters
    '("gsize*" "count")
  )
)

(define-method read_byte
  (of-object "GBufferedInputStream")
  (c-name "g_buffered_input_stream_read_byte")
  (return-type "int")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method set_buffer_size
  (of-object "GBufferedInputStream")
  (c-name "g_buffered_input_stream_set_buffer_size")
  (return-type "none")
  (parameters
    '("gsize" "size")
  )
)

(define-function g_buffered_input_stream_new
  (c-name "g_buffered_input_stream_new")
  (is-constructor-of "GBufferedInputStream")
  (return-type "GInputStream*")
  (parameters
    '("GInputStream*" "base_stream")
  )
)

(define-function g_buffered_input_stream_new_sized
  (c-name "g_buffered_input_stream_new_sized")
  (is-constructor-of "GBufferedInputStream")
  (return-type "GInputStream*")
  (parameters
    '("GInputStream*" "base_stream")
    '("gsize" "size")
  )
)

(define-method get_auto_grow
  (of-object "GBufferedOutputStream")
  (c-name "g_buffered_output_stream_get_auto_grow")
  (return-type "gboolean")
)

(define-method get_buffer_size
  (of-object "GBufferedOutputStream")
  (c-name "g_buffered_output_stream_get_buffer_size")
  (return-type "gsize")
)

(define-method set_auto_grow
  (of-object "GBufferedOutputStream")
  (c-name "g_buffered_output_stream_set_auto_grow")
  (return-type "none")
  (parameters
    '("gboolean" "auto_grow")
  )
)

(define-method set_buffer_size
  (of-object "GBufferedOutputStream")
  (c-name "g_buffered_output_stream_set_buffer_size")
  (return-type "none")
  (parameters
    '("gsize" "size")
  )
)

(define-function g_buffered_output_stream_new
  (c-name "g_buffered_output_stream_new")
  (is-constructor-of "GBufferedOutputStream")
  (return-type "GOutputStream*")
  (parameters
    '("GOutputStream*" "base_stream")
  )
)

(define-function g_buffered_output_stream_new_sized
  (c-name "g_buffered_output_stream_new_sized")
  (is-constructor-of "GBufferedOutputStream")
  (return-type "GOutputStream*")
  (parameters
    '("GOutputStream*" "base_stream")
    '("gsize" "size")
  )
)

(define-method get_bytes
  (of-object "GBytesIcon")
  (c-name "g_bytes_icon_get_bytes")
  (return-type "GBytes*")
)

(define-function g_bytes_icon_new
  (c-name "g_bytes_icon_new")
  (is-constructor-of "GBytesIcon")
  (return-type "GIcon*")
  (parameters
    '("GBytes*" "bytes")
  )
)

(define-function g_cancellable_get_current
  (c-name "g_cancellable_get_current")
  (return-type "GCancellable*")
)

(define-method cancel
  (of-object "GCancellable")
  (c-name "g_cancellable_cancel")
  (return-type "none")
)

(define-method connect
  (of-object "GCancellable")
  (c-name "g_cancellable_connect")
  (return-type "gulong")
  (parameters
    '("GCallback" "callback")
    '("gpointer" "data")
    '("GDestroyNotify" "data_destroy_func")
  )
)

(define-method disconnect
  (of-object "GCancellable")
  (c-name "g_cancellable_disconnect")
  (return-type "none")
  (parameters
    '("gulong" "handler_id")
  )
)

(define-method get_fd
  (of-object "GCancellable")
  (c-name "g_cancellable_get_fd")
  (return-type "int")
)

(define-method is_cancelled
  (of-object "GCancellable")
  (c-name "g_cancellable_is_cancelled")
  (return-type "gboolean")
)

(define-method make_pollfd
  (of-object "GCancellable")
  (c-name "g_cancellable_make_pollfd")
  (return-type "gboolean")
  (parameters
    '("GPollFD*" "pollfd")
  )
)

(define-method pop_current
  (of-object "GCancellable")
  (c-name "g_cancellable_pop_current")
  (return-type "none")
)

(define-method push_current
  (of-object "GCancellable")
  (c-name "g_cancellable_push_current")
  (return-type "none")
)

(define-method release_fd
  (of-object "GCancellable")
  (c-name "g_cancellable_release_fd")
  (return-type "none")
)

(define-method reset
  (of-object "GCancellable")
  (c-name "g_cancellable_reset")
  (return-type "none")
)

(define-method set_error_if_cancelled
  (of-object "GCancellable")
  (c-name "g_cancellable_set_error_if_cancelled")
  (return-type "gboolean")
  (parameters
    '("GError**" "error")
  )
)

(define-method source_new
  (of-object "GCancellable")
  (c-name "g_cancellable_source_new")
  (return-type "GSource*")
)

(define-function g_cancellable_new
  (c-name "g_cancellable_new")
  (is-constructor-of "GCancellable")
  (return-type "GCancellable*")
)

(define-method get_num_fallbacks
  (of-object "GCharsetConverter")
  (c-name "g_charset_converter_get_num_fallbacks")
  (return-type "guint")
)

(define-method get_use_fallback
  (of-object "GCharsetConverter")
  (c-name "g_charset_converter_get_use_fallback")
  (return-type "gboolean")
)

(define-method set_use_fallback
  (of-object "GCharsetConverter")
  (c-name "g_charset_converter_set_use_fallback")
  (return-type "none")
  (parameters
    '("gboolean" "use_fallback")
  )
)

(define-function g_charset_converter_new
  (c-name "g_charset_converter_new")
  (is-constructor-of "GCharsetConverter")
  (return-type "GCharsetConverter*")
  (parameters
    '("const-gchar*" "to_charset")
    '("const-gchar*" "from_charset")
    '("GError**" "error")
  )
)

(define-method get_converter
  (of-object "GConverterInputStream")
  (c-name "g_converter_input_stream_get_converter")
  (return-type "GConverter*")
)

(define-function g_converter_input_stream_new
  (c-name "g_converter_input_stream_new")
  (is-constructor-of "GConverterInputStream")
  (return-type "GInputStream*")
  (parameters
    '("GInputStream*" "base_stream")
    '("GConverter*" "converter")
  )
)

(define-method get_converter
  (of-object "GConverterOutputStream")
  (c-name "g_converter_output_stream_get_converter")
  (return-type "GConverter*")
)

(define-function g_converter_output_stream_new
  (c-name "g_converter_output_stream_new")
  (is-constructor-of "GConverterOutputStream")
  (return-type "GOutputStream*")
  (parameters
    '("GOutputStream*" "base_stream")
    '("GConverter*" "converter")
  )
)

(define-method get_native
  (of-object "GCredentials")
  (c-name "g_credentials_get_native")
  (return-type "gpointer")
  (parameters
    '("GCredentialsType" "native_type")
  )
)

(define-method get_unix_pid
  (of-object "GCredentials")
  (c-name "g_credentials_get_unix_pid")
  (return-type "pid_t")
  (parameters
    '("GError**" "error")
  )
)

(define-method get_unix_user
  (of-object "GCredentials")
  (c-name "g_credentials_get_unix_user")
  (return-type "uid_t")
  (parameters
    '("GError**" "error")
  )
)

(define-method is_same_user
  (of-object "GCredentials")
  (c-name "g_credentials_is_same_user")
  (return-type "gboolean")
  (parameters
    '("GCredentials*" "other_credentials")
    '("GError**" "error")
  )
)

(define-method set_native
  (of-object "GCredentials")
  (c-name "g_credentials_set_native")
  (return-type "none")
  (parameters
    '("GCredentialsType" "native_type")
    '("gpointer" "native")
  )
)

(define-method set_unix_user
  (of-object "GCredentials")
  (c-name "g_credentials_set_unix_user")
  (return-type "gboolean")
  (parameters
    '("uid_t" "uid")
    '("GError**" "error")
  )
)

(define-method to_string
  (of-object "GCredentials")
  (c-name "g_credentials_to_string")
  (return-type "gchar*")
)

(define-function g_credentials_new
  (c-name "g_credentials_new")
  (is-constructor-of "GCredentials")
  (return-type "GCredentials*")
)

(define-function g_dbus_action_group_get
  (c-name "g_dbus_action_group_get")
  (return-type "GDBusActionGroup*")
  (parameters
    '("GDBusConnection*" "connection")
    '("const-gchar*" "bus_name")
    '("const-gchar*" "object_path")
  )
)

(define-method allow_mechanism
  (of-object "GDBusAuthObserver")
  (c-name "g_dbus_auth_observer_allow_mechanism")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "mechanism")
  )
)

(define-method authorize_authenticated_peer
  (of-object "GDBusAuthObserver")
  (c-name "g_dbus_auth_observer_authorize_authenticated_peer")
  (return-type "gboolean")
  (parameters
    '("GIOStream*" "stream")
    '("GCredentials*" "credentials")
  )
)

(define-function g_dbus_auth_observer_new
  (c-name "g_dbus_auth_observer_new")
  (is-constructor-of "GDBusAuthObserver")
  (return-type "GDBusAuthObserver*")
)

(define-function g_dbus_connection_new
  (c-name "g_dbus_connection_new")
  (return-type "none")
  (parameters
    '("GIOStream*" "stream")
    '("const-gchar*" "guid")
    '("GDBusConnectionFlags" "flags")
    '("GDBusAuthObserver*" "observer")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-function g_dbus_connection_new_for_address
  (c-name "g_dbus_connection_new_for_address")
  (return-type "none")
  (parameters
    '("const-gchar*" "address")
    '("GDBusConnectionFlags" "flags")
    '("GDBusAuthObserver*" "observer")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method add_filter
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_add_filter")
  (return-type "guint")
  (parameters
    '("GDBusMessageFilterFunction" "filter_function")
    '("gpointer" "user_data")
    '("GDestroyNotify" "user_data_free_func")
  )
)

(define-method call
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_call")
  (return-type "none")
  (parameters
    '("const-gchar*" "bus_name")
    '("const-gchar*" "object_path")
    '("const-gchar*" "interface_name")
    '("const-gchar*" "method_name")
    '("GVariant*" "parameters")
    '("const-GVariantType*" "reply_type")
    '("GDBusCallFlags" "flags")
    '("gint" "timeout_msec")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method call_finish
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_call_finish")
  (return-type "GVariant*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method call_sync
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_call_sync")
  (return-type "GVariant*")
  (parameters
    '("const-gchar*" "bus_name")
    '("const-gchar*" "object_path")
    '("const-gchar*" "interface_name")
    '("const-gchar*" "method_name")
    '("GVariant*" "parameters")
    '("const-GVariantType*" "reply_type")
    '("GDBusCallFlags" "flags")
    '("gint" "timeout_msec")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method call_with_unix_fd_list
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_call_with_unix_fd_list")
  (return-type "none")
  (parameters
    '("const-gchar*" "bus_name")
    '("const-gchar*" "object_path")
    '("const-gchar*" "interface_name")
    '("const-gchar*" "method_name")
    '("GVariant*" "parameters")
    '("const-GVariantType*" "reply_type")
    '("GDBusCallFlags" "flags")
    '("gint" "timeout_msec")
    '("GUnixFDList*" "fd_list")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method call_with_unix_fd_list_finish
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_call_with_unix_fd_list_finish")
  (return-type "GVariant*")
  (parameters
    '("GUnixFDList**" "out_fd_list")
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method call_with_unix_fd_list_sync
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_call_with_unix_fd_list_sync")
  (return-type "GVariant*")
  (parameters
    '("const-gchar*" "bus_name")
    '("const-gchar*" "object_path")
    '("const-gchar*" "interface_name")
    '("const-gchar*" "method_name")
    '("GVariant*" "parameters")
    '("const-GVariantType*" "reply_type")
    '("GDBusCallFlags" "flags")
    '("gint" "timeout_msec")
    '("GUnixFDList*" "fd_list")
    '("GUnixFDList**" "out_fd_list")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method close
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_close")
  (return-type "none")
  (parameters
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method close_finish
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_close_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method close_sync
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_close_sync")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method emit_signal
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_emit_signal")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "destination_bus_name")
    '("const-gchar*" "object_path")
    '("const-gchar*" "interface_name")
    '("const-gchar*" "signal_name")
    '("GVariant*" "parameters")
    '("GError**" "error")
  )
)

(define-method export_action_group
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_export_action_group")
  (return-type "guint")
  (parameters
    '("const-gchar*" "object_path")
    '("GActionGroup*" "action_group")
    '("GError**" "error")
  )
)

(define-method export_menu_model
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_export_menu_model")
  (return-type "guint")
  (parameters
    '("const-gchar*" "object_path")
    '("GMenuModel*" "menu")
    '("GError**" "error")
  )
)

(define-method flush
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_flush")
  (return-type "none")
  (parameters
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method flush_finish
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_flush_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method flush_sync
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_flush_sync")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method get_capabilities
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_get_capabilities")
  (return-type "GDBusCapabilityFlags")
)

(define-method get_exit_on_close
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_get_exit_on_close")
  (return-type "gboolean")
)

(define-method get_flags
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_get_flags")
  (return-type "GDBusConnectionFlags")
)

(define-method get_guid
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_get_guid")
  (return-type "const-gchar*")
)

(define-method get_last_serial
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_get_last_serial")
  (return-type "guint32")
)

(define-method get_peer_credentials
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_get_peer_credentials")
  (return-type "GCredentials*")
)

(define-method get_stream
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_get_stream")
  (return-type "GIOStream*")
)

(define-method get_unique_name
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_get_unique_name")
  (return-type "const-gchar*")
)

(define-method is_closed
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_is_closed")
  (return-type "gboolean")
)

(define-method register_object
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_register_object")
  (return-type "guint")
  (parameters
    '("const-gchar*" "object_path")
    '("GDBusInterfaceInfo*" "interface_info")
    '("const-GDBusInterfaceVTable*" "vtable")
    '("gpointer" "user_data")
    '("GDestroyNotify" "user_data_free_func")
    '("GError**" "error")
  )
)

(define-method register_object_with_closures
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_register_object_with_closures")
  (return-type "guint")
  (parameters
    '("const-gchar*" "object_path")
    '("GDBusInterfaceInfo*" "interface_info")
    '("GClosure*" "method_call_closure")
    '("GClosure*" "get_property_closure")
    '("GClosure*" "set_property_closure")
    '("GError**" "error")
  )
)

(define-method register_object_with_closures2
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_register_object_with_closures2")
  (return-type "guint")
  (parameters
    '("const-gchar*" "object_path")
    '("GDBusInterfaceInfo*" "interface_info")
    '("GClosure*" "method_call_closure")
    '("GClosure*" "get_property_closure")
    '("GClosure*" "set_property_closure")
    '("GError**" "error")
  )
)

(define-method register_subtree
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_register_subtree")
  (return-type "guint")
  (parameters
    '("const-gchar*" "object_path")
    '("const-GDBusSubtreeVTable*" "vtable")
    '("GDBusSubtreeFlags" "flags")
    '("gpointer" "user_data")
    '("GDestroyNotify" "user_data_free_func")
    '("GError**" "error")
  )
)

(define-method remove_filter
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_remove_filter")
  (return-type "none")
  (parameters
    '("guint" "filter_id")
  )
)

(define-method send_message
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_send_message")
  (return-type "gboolean")
  (parameters
    '("GDBusMessage*" "message")
    '("GDBusSendMessageFlags" "flags")
    '("volatile-guint32*" "out_serial")
    '("GError**" "error")
  )
)

(define-method send_message_with_reply
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_send_message_with_reply")
  (return-type "none")
  (parameters
    '("GDBusMessage*" "message")
    '("GDBusSendMessageFlags" "flags")
    '("gint" "timeout_msec")
    '("volatile-guint32*" "out_serial")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method send_message_with_reply_finish
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_send_message_with_reply_finish")
  (return-type "GDBusMessage*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method send_message_with_reply_sync
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_send_message_with_reply_sync")
  (return-type "GDBusMessage*")
  (parameters
    '("GDBusMessage*" "message")
    '("GDBusSendMessageFlags" "flags")
    '("gint" "timeout_msec")
    '("volatile-guint32*" "out_serial")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method set_exit_on_close
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_set_exit_on_close")
  (return-type "none")
  (parameters
    '("gboolean" "exit_on_close")
  )
)

(define-method signal_subscribe
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_signal_subscribe")
  (return-type "guint")
  (parameters
    '("const-gchar*" "sender")
    '("const-gchar*" "interface_name")
    '("const-gchar*" "member")
    '("const-gchar*" "object_path")
    '("const-gchar*" "arg0")
    '("GDBusSignalFlags" "flags")
    '("GDBusSignalCallback" "callback")
    '("gpointer" "user_data")
    '("GDestroyNotify" "user_data_free_func")
  )
)

(define-method signal_unsubscribe
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_signal_unsubscribe")
  (return-type "none")
  (parameters
    '("guint" "subscription_id")
  )
)

(define-method start_message_processing
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_start_message_processing")
  (return-type "none")
)

(define-method unexport_action_group
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_unexport_action_group")
  (return-type "none")
  (parameters
    '("guint" "export_id")
  )
)

(define-method unexport_menu_model
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_unexport_menu_model")
  (return-type "none")
  (parameters
    '("guint" "export_id")
  )
)

(define-method unregister_object
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_unregister_object")
  (return-type "gboolean")
  (parameters
    '("guint" "registration_id")
  )
)

(define-method unregister_subtree
  (of-object "GDBusConnection")
  (c-name "g_dbus_connection_unregister_subtree")
  (return-type "gboolean")
  (parameters
    '("guint" "registration_id")
  )
)

(define-function g_dbus_connection_new_finish
  (c-name "g_dbus_connection_new_finish")
  (is-constructor-of "GDBusConnection")
  (return-type "GDBusConnection*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-function g_dbus_connection_new_for_address_finish
  (c-name "g_dbus_connection_new_for_address_finish")
  (is-constructor-of "GDBusConnection")
  (return-type "GDBusConnection*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-function g_dbus_connection_new_for_address_sync
  (c-name "g_dbus_connection_new_for_address_sync")
  (is-constructor-of "GDBusConnection")
  (return-type "GDBusConnection*")
  (parameters
    '("const-gchar*" "address")
    '("GDBusConnectionFlags" "flags")
    '("GDBusAuthObserver*" "observer")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-function g_dbus_connection_new_sync
  (c-name "g_dbus_connection_new_sync")
  (is-constructor-of "GDBusConnection")
  (return-type "GDBusConnection*")
  (parameters
    '("GIOStream*" "stream")
    '("const-gchar*" "guid")
    '("GDBusConnectionFlags" "flags")
    '("GDBusAuthObserver*" "observer")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method export
  (of-object "GDBusInterfaceSkeleton")
  (c-name "g_dbus_interface_skeleton_export")
  (return-type "gboolean")
  (parameters
    '("GDBusConnection*" "connection")
    '("const-gchar*" "object_path")
    '("GError**" "error")
  )
)

(define-method flush
  (of-object "GDBusInterfaceSkeleton")
  (c-name "g_dbus_interface_skeleton_flush")
  (return-type "none")
)

(define-method get_connection
  (of-object "GDBusInterfaceSkeleton")
  (c-name "g_dbus_interface_skeleton_get_connection")
  (return-type "GDBusConnection*")
)

(define-method get_connections
  (of-object "GDBusInterfaceSkeleton")
  (c-name "g_dbus_interface_skeleton_get_connections")
  (return-type "GList*")
)

(define-method get_flags
  (of-object "GDBusInterfaceSkeleton")
  (c-name "g_dbus_interface_skeleton_get_flags")
  (return-type "GDBusInterfaceSkeletonFlags")
)

(define-method get_info
  (of-object "GDBusInterfaceSkeleton")
  (c-name "g_dbus_interface_skeleton_get_info")
  (return-type "GDBusInterfaceInfo*")
)

(define-method get_object_path
  (of-object "GDBusInterfaceSkeleton")
  (c-name "g_dbus_interface_skeleton_get_object_path")
  (return-type "const-gchar*")
)

(define-method get_properties
  (of-object "GDBusInterfaceSkeleton")
  (c-name "g_dbus_interface_skeleton_get_properties")
  (return-type "GVariant*")
)

(define-method get_vtable
  (of-object "GDBusInterfaceSkeleton")
  (c-name "g_dbus_interface_skeleton_get_vtable")
  (return-type "GDBusInterfaceVTable*")
)

(define-method has_connection
  (of-object "GDBusInterfaceSkeleton")
  (c-name "g_dbus_interface_skeleton_has_connection")
  (return-type "gboolean")
  (parameters
    '("GDBusConnection*" "connection")
  )
)

(define-method set_flags
  (of-object "GDBusInterfaceSkeleton")
  (c-name "g_dbus_interface_skeleton_set_flags")
  (return-type "none")
  (parameters
    '("GDBusInterfaceSkeletonFlags" "flags")
  )
)

(define-method unexport
  (of-object "GDBusInterfaceSkeleton")
  (c-name "g_dbus_interface_skeleton_unexport")
  (return-type "none")
)

(define-method unexport_from_connection
  (of-object "GDBusInterfaceSkeleton")
  (c-name "g_dbus_interface_skeleton_unexport_from_connection")
  (return-type "none")
  (parameters
    '("GDBusConnection*" "connection")
  )
)

(define-function g_dbus_menu_model_get
  (c-name "g_dbus_menu_model_get")
  (return-type "GDBusMenuModel*")
  (parameters
    '("GDBusConnection*" "connection")
    '("const-gchar*" "bus_name")
    '("const-gchar*" "object_path")
  )
)

(define-function g_dbus_message_bytes_needed
  (c-name "g_dbus_message_bytes_needed")
  (return-type "gssize")
  (parameters
    '("guchar*" "blob")
    '("gsize" "blob_len")
    '("GError**" "error")
  )
)

(define-method copy
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_copy")
  (return-type "GDBusMessage*")
  (parameters
    '("GError**" "error")
  )
)

(define-method get_arg0
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_get_arg0")
  (return-type "const-gchar*")
)

(define-method get_arg0_path
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_get_arg0_path")
  (return-type "const-gchar*")
)

(define-method get_body
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_get_body")
  (return-type "GVariant*")
)

(define-method get_byte_order
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_get_byte_order")
  (return-type "GDBusMessageByteOrder")
)

(define-method get_destination
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_get_destination")
  (return-type "const-gchar*")
)

(define-method get_error_name
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_get_error_name")
  (return-type "const-gchar*")
)

(define-method get_flags
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_get_flags")
  (return-type "GDBusMessageFlags")
)

(define-method get_header
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_get_header")
  (return-type "GVariant*")
  (parameters
    '("GDBusMessageHeaderField" "header_field")
  )
)

(define-method get_header_fields
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_get_header_fields")
  (return-type "guchar*")
)

(define-method get_interface
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_get_interface")
  (return-type "const-gchar*")
)

(define-method get_locked
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_get_locked")
  (return-type "gboolean")
)

(define-method get_member
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_get_member")
  (return-type "const-gchar*")
)

(define-method get_message_type
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_get_message_type")
  (return-type "GDBusMessageType")
)

(define-method get_num_unix_fds
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_get_num_unix_fds")
  (return-type "guint32")
)

(define-method get_path
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_get_path")
  (return-type "const-gchar*")
)

(define-method get_reply_serial
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_get_reply_serial")
  (return-type "guint32")
)

(define-method get_sender
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_get_sender")
  (return-type "const-gchar*")
)

(define-method get_serial
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_get_serial")
  (return-type "guint32")
)

(define-method get_signature
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_get_signature")
  (return-type "const-gchar*")
)

(define-method get_unix_fd_list
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_get_unix_fd_list")
  (return-type "GUnixFDList*")
)

(define-method lock
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_lock")
  (return-type "none")
)

(define-method new_method_error_literal
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_new_method_error_literal")
  (return-type "GDBusMessage*")
  (parameters
    '("const-gchar*" "error_name")
    '("const-gchar*" "error_message")
  )
)

(define-method new_method_error_valist
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_new_method_error_valist")
  (return-type "GDBusMessage*")
  (parameters
    '("const-gchar*" "error_name")
    '("const-gchar*" "error_message_format")
    '("va_list" "var_args")
  )
)

(define-method new_method_reply
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_new_method_reply")
  (return-type "GDBusMessage*")
)

(define-method print
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_print")
  (return-type "gchar*")
  (parameters
    '("guint" "indent")
  )
)

(define-method set_body
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_set_body")
  (return-type "none")
  (parameters
    '("GVariant*" "body")
  )
)

(define-method set_byte_order
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_set_byte_order")
  (return-type "none")
  (parameters
    '("GDBusMessageByteOrder" "byte_order")
  )
)

(define-method set_destination
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_set_destination")
  (return-type "none")
  (parameters
    '("const-gchar*" "value")
  )
)

(define-method set_error_name
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_set_error_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "value")
  )
)

(define-method set_flags
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_set_flags")
  (return-type "none")
  (parameters
    '("GDBusMessageFlags" "flags")
  )
)

(define-method set_header
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_set_header")
  (return-type "none")
  (parameters
    '("GDBusMessageHeaderField" "header_field")
    '("GVariant*" "value")
  )
)

(define-method set_interface
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_set_interface")
  (return-type "none")
  (parameters
    '("const-gchar*" "value")
  )
)

(define-method set_member
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_set_member")
  (return-type "none")
  (parameters
    '("const-gchar*" "value")
  )
)

(define-method set_message_type
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_set_message_type")
  (return-type "none")
  (parameters
    '("GDBusMessageType" "type")
  )
)

(define-method set_num_unix_fds
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_set_num_unix_fds")
  (return-type "none")
  (parameters
    '("guint32" "value")
  )
)

(define-method set_path
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_set_path")
  (return-type "none")
  (parameters
    '("const-gchar*" "value")
  )
)

(define-method set_reply_serial
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_set_reply_serial")
  (return-type "none")
  (parameters
    '("guint32" "value")
  )
)

(define-method set_sender
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_set_sender")
  (return-type "none")
  (parameters
    '("const-gchar*" "value")
  )
)

(define-method set_serial
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_set_serial")
  (return-type "none")
  (parameters
    '("guint32" "serial")
  )
)

(define-method set_signature
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_set_signature")
  (return-type "none")
  (parameters
    '("const-gchar*" "value")
  )
)

(define-method set_unix_fd_list
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_set_unix_fd_list")
  (return-type "none")
  (parameters
    '("GUnixFDList*" "fd_list")
  )
)

(define-method to_blob
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_to_blob")
  (return-type "guchar*")
  (parameters
    '("gsize*" "out_size")
    '("GDBusCapabilityFlags" "capabilities")
    '("GError**" "error")
  )
)

(define-method to_gerror
  (of-object "GDBusMessage")
  (c-name "g_dbus_message_to_gerror")
  (return-type "gboolean")
  (parameters
    '("GError**" "error")
  )
)

(define-function g_dbus_message_new
  (c-name "g_dbus_message_new")
  (is-constructor-of "GDBusMessage")
  (return-type "GDBusMessage*")
)

(define-function g_dbus_message_new_from_blob
  (c-name "g_dbus_message_new_from_blob")
  (is-constructor-of "GDBusMessage")
  (return-type "GDBusMessage*")
  (parameters
    '("guchar*" "blob")
    '("gsize" "blob_len")
    '("GDBusCapabilityFlags" "capabilities")
    '("GError**" "error")
  )
)

(define-function g_dbus_message_new_method_call
  (c-name "g_dbus_message_new_method_call")
  (is-constructor-of "GDBusMessage")
  (return-type "GDBusMessage*")
  (parameters
    '("const-gchar*" "name")
    '("const-gchar*" "path")
    '("const-gchar*" "interface_")
    '("const-gchar*" "method")
  )
)

(define-function g_dbus_message_new_method_error
  (c-name "g_dbus_message_new_method_error")
  (is-constructor-of "GDBusMessage")
  (return-type "GDBusMessage*")
  (parameters
    '("GDBusMessage*" "method_call_message")
    '("const-gchar*" "error_name")
    '("const-gchar*" "error_message_format")
  )
  (varargs #t)
)

(define-function g_dbus_message_new_signal
  (c-name "g_dbus_message_new_signal")
  (is-constructor-of "GDBusMessage")
  (return-type "GDBusMessage*")
  (parameters
    '("const-gchar*" "path")
    '("const-gchar*" "interface_")
    '("const-gchar*" "signal")
  )
)

(define-method get_connection
  (of-object "GDBusMethodInvocation")
  (c-name "g_dbus_method_invocation_get_connection")
  (return-type "GDBusConnection*")
)

(define-method get_interface_name
  (of-object "GDBusMethodInvocation")
  (c-name "g_dbus_method_invocation_get_interface_name")
  (return-type "const-gchar*")
)

(define-method get_message
  (of-object "GDBusMethodInvocation")
  (c-name "g_dbus_method_invocation_get_message")
  (return-type "GDBusMessage*")
)

(define-method get_method_info
  (of-object "GDBusMethodInvocation")
  (c-name "g_dbus_method_invocation_get_method_info")
  (return-type "const-GDBusMethodInfo*")
)

(define-method get_method_name
  (of-object "GDBusMethodInvocation")
  (c-name "g_dbus_method_invocation_get_method_name")
  (return-type "const-gchar*")
)

(define-method get_object_path
  (of-object "GDBusMethodInvocation")
  (c-name "g_dbus_method_invocation_get_object_path")
  (return-type "const-gchar*")
)

(define-method get_parameters
  (of-object "GDBusMethodInvocation")
  (c-name "g_dbus_method_invocation_get_parameters")
  (return-type "GVariant*")
)

(define-method get_property_info
  (of-object "GDBusMethodInvocation")
  (c-name "g_dbus_method_invocation_get_property_info")
  (return-type "const-GDBusPropertyInfo*")
)

(define-method get_sender
  (of-object "GDBusMethodInvocation")
  (c-name "g_dbus_method_invocation_get_sender")
  (return-type "const-gchar*")
)

(define-method get_user_data
  (of-object "GDBusMethodInvocation")
  (c-name "g_dbus_method_invocation_get_user_data")
  (return-type "gpointer")
)

(define-method return_dbus_error
  (of-object "GDBusMethodInvocation")
  (c-name "g_dbus_method_invocation_return_dbus_error")
  (return-type "none")
  (parameters
    '("const-gchar*" "error_name")
    '("const-gchar*" "error_message")
  )
)

(define-method return_error
  (of-object "GDBusMethodInvocation")
  (c-name "g_dbus_method_invocation_return_error")
  (return-type "none")
  (parameters
    '("GQuark" "domain")
    '("gint" "code")
    '("const-gchar*" "format")
  )
  (varargs #t)
)

(define-method return_error_literal
  (of-object "GDBusMethodInvocation")
  (c-name "g_dbus_method_invocation_return_error_literal")
  (return-type "none")
  (parameters
    '("GQuark" "domain")
    '("gint" "code")
    '("const-gchar*" "message")
  )
)

(define-method return_error_valist
  (of-object "GDBusMethodInvocation")
  (c-name "g_dbus_method_invocation_return_error_valist")
  (return-type "none")
  (parameters
    '("GQuark" "domain")
    '("gint" "code")
    '("const-gchar*" "format")
    '("va_list" "var_args")
  )
)

(define-method return_gerror
  (of-object "GDBusMethodInvocation")
  (c-name "g_dbus_method_invocation_return_gerror")
  (return-type "none")
  (parameters
    '("const-GError*" "error")
  )
)

(define-method return_value
  (of-object "GDBusMethodInvocation")
  (c-name "g_dbus_method_invocation_return_value")
  (return-type "none")
  (parameters
    '("GVariant*" "parameters")
  )
)

(define-method return_value_with_unix_fd_list
  (of-object "GDBusMethodInvocation")
  (c-name "g_dbus_method_invocation_return_value_with_unix_fd_list")
  (return-type "none")
  (parameters
    '("GVariant*" "parameters")
    '("GUnixFDList*" "fd_list")
  )
)

(define-method take_error
  (of-object "GDBusMethodInvocation")
  (c-name "g_dbus_method_invocation_take_error")
  (return-type "none")
  (parameters
    '("GError*" "error")
  )
)

(define-function g_dbus_object_manager_client_new
  (c-name "g_dbus_object_manager_client_new")
  (return-type "none")
  (parameters
    '("GDBusConnection*" "connection")
    '("GDBusObjectManagerClientFlags" "flags")
    '("const-gchar*" "name")
    '("const-gchar*" "object_path")
    '("GDBusProxyTypeFunc" "get_proxy_type_func")
    '("gpointer" "get_proxy_type_user_data")
    '("GDestroyNotify" "get_proxy_type_destroy_notify")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-function g_dbus_object_manager_client_new_for_bus
  (c-name "g_dbus_object_manager_client_new_for_bus")
  (return-type "none")
  (parameters
    '("GBusType" "bus_type")
    '("GDBusObjectManagerClientFlags" "flags")
    '("const-gchar*" "name")
    '("const-gchar*" "object_path")
    '("GDBusProxyTypeFunc" "get_proxy_type_func")
    '("gpointer" "get_proxy_type_user_data")
    '("GDestroyNotify" "get_proxy_type_destroy_notify")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method get_connection
  (of-object "GDBusObjectManagerClient")
  (c-name "g_dbus_object_manager_client_get_connection")
  (return-type "GDBusConnection*")
)

(define-method get_flags
  (of-object "GDBusObjectManagerClient")
  (c-name "g_dbus_object_manager_client_get_flags")
  (return-type "GDBusObjectManagerClientFlags")
)

(define-method get_name
  (of-object "GDBusObjectManagerClient")
  (c-name "g_dbus_object_manager_client_get_name")
  (return-type "const-gchar*")
)

(define-method get_name_owner
  (of-object "GDBusObjectManagerClient")
  (c-name "g_dbus_object_manager_client_get_name_owner")
  (return-type "gchar*")
)

(define-function g_dbus_object_manager_client_new_finish
  (c-name "g_dbus_object_manager_client_new_finish")
  (is-constructor-of "GDBusObjectManagerClient")
  (return-type "GDBusObjectManager*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-function g_dbus_object_manager_client_new_for_bus_finish
  (c-name "g_dbus_object_manager_client_new_for_bus_finish")
  (is-constructor-of "GDBusObjectManagerClient")
  (return-type "GDBusObjectManager*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-function g_dbus_object_manager_client_new_for_bus_sync
  (c-name "g_dbus_object_manager_client_new_for_bus_sync")
  (is-constructor-of "GDBusObjectManagerClient")
  (return-type "GDBusObjectManager*")
  (parameters
    '("GBusType" "bus_type")
    '("GDBusObjectManagerClientFlags" "flags")
    '("const-gchar*" "name")
    '("const-gchar*" "object_path")
    '("GDBusProxyTypeFunc" "get_proxy_type_func")
    '("gpointer" "get_proxy_type_user_data")
    '("GDestroyNotify" "get_proxy_type_destroy_notify")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-function g_dbus_object_manager_client_new_sync
  (c-name "g_dbus_object_manager_client_new_sync")
  (is-constructor-of "GDBusObjectManagerClient")
  (return-type "GDBusObjectManager*")
  (parameters
    '("GDBusConnection*" "connection")
    '("GDBusObjectManagerClientFlags" "flags")
    '("const-gchar*" "name")
    '("const-gchar*" "object_path")
    '("GDBusProxyTypeFunc" "get_proxy_type_func")
    '("gpointer" "get_proxy_type_user_data")
    '("GDestroyNotify" "get_proxy_type_destroy_notify")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method export
  (of-object "GDBusObjectManagerServer")
  (c-name "g_dbus_object_manager_server_export")
  (return-type "none")
  (parameters
    '("GDBusObjectSkeleton*" "object")
  )
)

(define-method export_uniquely
  (of-object "GDBusObjectManagerServer")
  (c-name "g_dbus_object_manager_server_export_uniquely")
  (return-type "none")
  (parameters
    '("GDBusObjectSkeleton*" "object")
  )
)

(define-method get_connection
  (of-object "GDBusObjectManagerServer")
  (c-name "g_dbus_object_manager_server_get_connection")
  (return-type "GDBusConnection*")
)

(define-method is_exported
  (of-object "GDBusObjectManagerServer")
  (c-name "g_dbus_object_manager_server_is_exported")
  (return-type "gboolean")
  (parameters
    '("GDBusObjectSkeleton*" "object")
  )
)

(define-method set_connection
  (of-object "GDBusObjectManagerServer")
  (c-name "g_dbus_object_manager_server_set_connection")
  (return-type "none")
  (parameters
    '("GDBusConnection*" "connection")
  )
)

(define-method unexport
  (of-object "GDBusObjectManagerServer")
  (c-name "g_dbus_object_manager_server_unexport")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "object_path")
  )
)

(define-function g_dbus_object_manager_server_new
  (c-name "g_dbus_object_manager_server_new")
  (is-constructor-of "GDBusObjectManagerServer")
  (return-type "GDBusObjectManagerServer*")
  (parameters
    '("const-gchar*" "object_path")
  )
)

(define-method get_connection
  (of-object "GDBusObjectProxy")
  (c-name "g_dbus_object_proxy_get_connection")
  (return-type "GDBusConnection*")
)

(define-function g_dbus_object_proxy_new
  (c-name "g_dbus_object_proxy_new")
  (is-constructor-of "GDBusObjectProxy")
  (return-type "GDBusObjectProxy*")
  (parameters
    '("GDBusConnection*" "connection")
    '("const-gchar*" "object_path")
  )
)

(define-method add_interface
  (of-object "GDBusObjectSkeleton")
  (c-name "g_dbus_object_skeleton_add_interface")
  (return-type "none")
  (parameters
    '("GDBusInterfaceSkeleton*" "interface_")
  )
)

(define-method flush
  (of-object "GDBusObjectSkeleton")
  (c-name "g_dbus_object_skeleton_flush")
  (return-type "none")
)

(define-method remove_interface
  (of-object "GDBusObjectSkeleton")
  (c-name "g_dbus_object_skeleton_remove_interface")
  (return-type "none")
  (parameters
    '("GDBusInterfaceSkeleton*" "interface_")
  )
)

(define-method remove_interface_by_name
  (of-object "GDBusObjectSkeleton")
  (c-name "g_dbus_object_skeleton_remove_interface_by_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "interface_name")
  )
)

(define-method set_object_path
  (of-object "GDBusObjectSkeleton")
  (c-name "g_dbus_object_skeleton_set_object_path")
  (return-type "none")
  (parameters
    '("const-gchar*" "object_path")
  )
)

(define-function g_dbus_object_skeleton_new
  (c-name "g_dbus_object_skeleton_new")
  (is-constructor-of "GDBusObjectSkeleton")
  (return-type "GDBusObjectSkeleton*")
  (parameters
    '("const-gchar*" "object_path")
  )
)

(define-function g_dbus_proxy_new
  (c-name "g_dbus_proxy_new")
  (return-type "none")
  (parameters
    '("GDBusConnection*" "connection")
    '("GDBusProxyFlags" "flags")
    '("GDBusInterfaceInfo*" "info")
    '("const-gchar*" "name")
    '("const-gchar*" "object_path")
    '("const-gchar*" "interface_name")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-function g_dbus_proxy_new_for_bus
  (c-name "g_dbus_proxy_new_for_bus")
  (return-type "none")
  (parameters
    '("GBusType" "bus_type")
    '("GDBusProxyFlags" "flags")
    '("GDBusInterfaceInfo*" "info")
    '("const-gchar*" "name")
    '("const-gchar*" "object_path")
    '("const-gchar*" "interface_name")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method call
  (of-object "GDBusProxy")
  (c-name "g_dbus_proxy_call")
  (return-type "none")
  (parameters
    '("const-gchar*" "method_name")
    '("GVariant*" "parameters")
    '("GDBusCallFlags" "flags")
    '("gint" "timeout_msec")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method call_finish
  (of-object "GDBusProxy")
  (c-name "g_dbus_proxy_call_finish")
  (return-type "GVariant*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method call_sync
  (of-object "GDBusProxy")
  (c-name "g_dbus_proxy_call_sync")
  (return-type "GVariant*")
  (parameters
    '("const-gchar*" "method_name")
    '("GVariant*" "parameters")
    '("GDBusCallFlags" "flags")
    '("gint" "timeout_msec")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method call_with_unix_fd_list
  (of-object "GDBusProxy")
  (c-name "g_dbus_proxy_call_with_unix_fd_list")
  (return-type "none")
  (parameters
    '("const-gchar*" "method_name")
    '("GVariant*" "parameters")
    '("GDBusCallFlags" "flags")
    '("gint" "timeout_msec")
    '("GUnixFDList*" "fd_list")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method call_with_unix_fd_list_finish
  (of-object "GDBusProxy")
  (c-name "g_dbus_proxy_call_with_unix_fd_list_finish")
  (return-type "GVariant*")
  (parameters
    '("GUnixFDList**" "out_fd_list")
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-method call_with_unix_fd_list_sync
  (of-object "GDBusProxy")
  (c-name "g_dbus_proxy_call_with_unix_fd_list_sync")
  (return-type "GVariant*")
  (parameters
    '("const-gchar*" "method_name")
    '("GVariant*" "parameters")
    '("GDBusCallFlags" "flags")
    '("gint" "timeout_msec")
    '("GUnixFDList*" "fd_list")
    '("GUnixFDList**" "out_fd_list")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method get_cached_property
  (of-object "GDBusProxy")
  (c-name "g_dbus_proxy_get_cached_property")
  (return-type "GVariant*")
  (parameters
    '("const-gchar*" "property_name")
  )
)

(define-method get_cached_property_names
  (of-object "GDBusProxy")
  (c-name "g_dbus_proxy_get_cached_property_names")
  (return-type "gchar**")
)

(define-method get_connection
  (of-object "GDBusProxy")
  (c-name "g_dbus_proxy_get_connection")
  (return-type "GDBusConnection*")
)

(define-method get_default_timeout
  (of-object "GDBusProxy")
  (c-name "g_dbus_proxy_get_default_timeout")
  (return-type "gint")
)

(define-method get_flags
  (of-object "GDBusProxy")
  (c-name "g_dbus_proxy_get_flags")
  (return-type "GDBusProxyFlags")
)

(define-method get_interface_info
  (of-object "GDBusProxy")
  (c-name "g_dbus_proxy_get_interface_info")
  (return-type "GDBusInterfaceInfo*")
)

(define-method get_interface_name
  (of-object "GDBusProxy")
  (c-name "g_dbus_proxy_get_interface_name")
  (return-type "const-gchar*")
)

(define-method get_name
  (of-object "GDBusProxy")
  (c-name "g_dbus_proxy_get_name")
  (return-type "const-gchar*")
)

(define-method get_name_owner
  (of-object "GDBusProxy")
  (c-name "g_dbus_proxy_get_name_owner")
  (return-type "gchar*")
)

(define-method get_object_path
  (of-object "GDBusProxy")
  (c-name "g_dbus_proxy_get_object_path")
  (return-type "const-gchar*")
)

(define-method set_cached_property
  (of-object "GDBusProxy")
  (c-name "g_dbus_proxy_set_cached_property")
  (return-type "none")
  (parameters
    '("const-gchar*" "property_name")
    '("GVariant*" "value")
  )
)

(define-method set_default_timeout
  (of-object "GDBusProxy")
  (c-name "g_dbus_proxy_set_default_timeout")
  (return-type "none")
  (parameters
    '("gint" "timeout_msec")
  )
)

(define-method set_interface_info
  (of-object "GDBusProxy")
  (c-name "g_dbus_proxy_set_interface_info")
  (return-type "none")
  (parameters
    '("GDBusInterfaceInfo*" "info")
  )
)

(define-function g_dbus_proxy_new_finish
  (c-name "g_dbus_proxy_new_finish")
  (is-constructor-of "GDBusProxy")
  (return-type "GDBusProxy*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-function g_dbus_proxy_new_for_bus_finish
  (c-name "g_dbus_proxy_new_for_bus_finish")
  (is-constructor-of "GDBusProxy")
  (return-type "GDBusProxy*")
  (parameters
    '("GAsyncResult*" "res")
    '("GError**" "error")
  )
)

(define-function g_dbus_proxy_new_for_bus_sync
  (c-name "g_dbus_proxy_new_for_bus_sync")
  (is-constructor-of "GDBusProxy")
  (return-type "GDBusProxy*")
  (parameters
    '("GBusType" "bus_type")
    '("GDBusProxyFlags" "flags")
    '("GDBusInterfaceInfo*" "info")
    '("const-gchar*" "name")
    '("const-gchar*" "object_path")
    '("const-gchar*" "interface_name")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-function g_dbus_proxy_new_sync
  (c-name "g_dbus_proxy_new_sync")
  (is-constructor-of "GDBusProxy")
  (return-type "GDBusProxy*")
  (parameters
    '("GDBusConnection*" "connection")
    '("GDBusProxyFlags" "flags")
    '("GDBusInterfaceInfo*" "info")
    '("const-gchar*" "name")
    '("const-gchar*" "object_path")
    '("const-gchar*" "interface_name")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method get_client_address
  (of-object "GDBusServer")
  (c-name "g_dbus_server_get_client_address")
  (return-type "const-gchar*")
)

(define-method get_flags
  (of-object "GDBusServer")
  (c-name "g_dbus_server_get_flags")
  (return-type "GDBusServerFlags")
)

(define-method get_guid
  (of-object "GDBusServer")
  (c-name "g_dbus_server_get_guid")
  (return-type "const-gchar*")
)

(define-method is_active
  (of-object "GDBusServer")
  (c-name "g_dbus_server_is_active")
  (return-type "gboolean")
)

(define-method start
  (of-object "GDBusServer")
  (c-name "g_dbus_server_start")
  (return-type "none")
)

(define-method stop
  (of-object "GDBusServer")
  (c-name "g_dbus_server_stop")
  (return-type "none")
)

(define-function g_dbus_server_new_sync
  (c-name "g_dbus_server_new_sync")
  (is-constructor-of "GDBusServer")
  (return-type "GDBusServer*")
  (parameters
    '("const-gchar*" "address")
    '("GDBusServerFlags" "flags")
    '("const-gchar*" "guid")
    '("GDBusAuthObserver*" "observer")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method get_byte_order
  (of-object "GDataInputStream")
  (c-name "g_data_input_stream_get_byte_order")
  (return-type "GDataStreamByteOrder")
)

(define-method get_newline_type
  (of-object "GDataInputStream")
  (c-name "g_data_input_stream_get_newline_type")
  (return-type "GDataStreamNewlineType")
)

(define-method read_byte
  (of-object "GDataInputStream")
  (c-name "g_data_input_stream_read_byte")
  (return-type "guchar")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method read_int16
  (of-object "GDataInputStream")
  (c-name "g_data_input_stream_read_int16")
  (return-type "gint16")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method read_int32
  (of-object "GDataInputStream")
  (c-name "g_data_input_stream_read_int32")
  (return-type "gint32")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method read_int64
  (of-object "GDataInputStream")
  (c-name "g_data_input_stream_read_int64")
  (return-type "gint64")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method read_line
  (of-object "GDataInputStream")
  (c-name "g_data_input_stream_read_line")
  (return-type "char*")
  (parameters
    '("gsize*" "length")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method read_line_async
  (of-object "GDataInputStream")
  (c-name "g_data_input_stream_read_line_async")
  (return-type "none")
  (parameters
    '("gint" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method read_line_finish
  (of-object "GDataInputStream")
  (c-name "g_data_input_stream_read_line_finish")
  (return-type "char*")
  (parameters
    '("GAsyncResult*" "result")
    '("gsize*" "length")
    '("GError**" "error")
  )
)

(define-method read_line_finish_utf8
  (of-object "GDataInputStream")
  (c-name "g_data_input_stream_read_line_finish_utf8")
  (return-type "char*")
  (parameters
    '("GAsyncResult*" "result")
    '("gsize*" "length")
    '("GError**" "error")
  )
)

(define-method read_line_utf8
  (of-object "GDataInputStream")
  (c-name "g_data_input_stream_read_line_utf8")
  (return-type "char*")
  (parameters
    '("gsize*" "length")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method read_uint16
  (of-object "GDataInputStream")
  (c-name "g_data_input_stream_read_uint16")
  (return-type "guint16")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method read_uint32
  (of-object "GDataInputStream")
  (c-name "g_data_input_stream_read_uint32")
  (return-type "guint32")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method read_uint64
  (of-object "GDataInputStream")
  (c-name "g_data_input_stream_read_uint64")
  (return-type "guint64")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method read_until
  (of-object "GDataInputStream")
  (c-name "g_data_input_stream_read_until")
  (return-type "char*")
  (parameters
    '("const-gchar*" "stop_chars")
    '("gsize*" "length")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method read_until_async
  (of-object "GDataInputStream")
  (c-name "g_data_input_stream_read_until_async")
  (return-type "none")
  (parameters
    '("const-gchar*" "stop_chars")
    '("gint" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method read_until_finish
  (of-object "GDataInputStream")
  (c-name "g_data_input_stream_read_until_finish")
  (return-type "char*")
  (parameters
    '("GAsyncResult*" "result")
    '("gsize*" "length")
    '("GError**" "error")
  )
)

(define-method read_upto
  (of-object "GDataInputStream")
  (c-name "g_data_input_stream_read_upto")
  (return-type "char*")
  (parameters
    '("const-gchar*" "stop_chars")
    '("gssize" "stop_chars_len")
    '("gsize*" "length")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method read_upto_async
  (of-object "GDataInputStream")
  (c-name "g_data_input_stream_read_upto_async")
  (return-type "none")
  (parameters
    '("const-gchar*" "stop_chars")
    '("gssize" "stop_chars_len")
    '("gint" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method read_upto_finish
  (of-object "GDataInputStream")
  (c-name "g_data_input_stream_read_upto_finish")
  (return-type "char*")
  (parameters
    '("GAsyncResult*" "result")
    '("gsize*" "length")
    '("GError**" "error")
  )
)

(define-method set_byte_order
  (of-object "GDataInputStream")
  (c-name "g_data_input_stream_set_byte_order")
  (return-type "none")
  (parameters
    '("GDataStreamByteOrder" "order")
  )
)

(define-method set_newline_type
  (of-object "GDataInputStream")
  (c-name "g_data_input_stream_set_newline_type")
  (return-type "none")
  (parameters
    '("GDataStreamNewlineType" "type")
  )
)

(define-function g_data_input_stream_new
  (c-name "g_data_input_stream_new")
  (is-constructor-of "GDataInputStream")
  (return-type "GDataInputStream*")
  (parameters
    '("GInputStream*" "base_stream")
  )
)

(define-method get_byte_order
  (of-object "GDataOutputStream")
  (c-name "g_data_output_stream_get_byte_order")
  (return-type "GDataStreamByteOrder")
)

(define-method put_byte
  (of-object "GDataOutputStream")
  (c-name "g_data_output_stream_put_byte")
  (return-type "gboolean")
  (parameters
    '("guchar" "data")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method put_int16
  (of-object "GDataOutputStream")
  (c-name "g_data_output_stream_put_int16")
  (return-type "gboolean")
  (parameters
    '("gint16" "data")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method put_int32
  (of-object "GDataOutputStream")
  (c-name "g_data_output_stream_put_int32")
  (return-type "gboolean")
  (parameters
    '("gint32" "data")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method put_int64
  (of-object "GDataOutputStream")
  (c-name "g_data_output_stream_put_int64")
  (return-type "gboolean")
  (parameters
    '("gint64" "data")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method put_string
  (of-object "GDataOutputStream")
  (c-name "g_data_output_stream_put_string")
  (return-type "gboolean")
  (parameters
    '("const-char*" "str")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method put_uint16
  (of-object "GDataOutputStream")
  (c-name "g_data_output_stream_put_uint16")
  (return-type "gboolean")
  (parameters
    '("guint16" "data")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method put_uint32
  (of-object "GDataOutputStream")
  (c-name "g_data_output_stream_put_uint32")
  (return-type "gboolean")
  (parameters
    '("guint32" "data")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method put_uint64
  (of-object "GDataOutputStream")
  (c-name "g_data_output_stream_put_uint64")
  (return-type "gboolean")
  (parameters
    '("guint64" "data")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method set_byte_order
  (of-object "GDataOutputStream")
  (c-name "g_data_output_stream_set_byte_order")
  (return-type "none")
  (parameters
    '("GDataStreamByteOrder" "order")
  )
)

(define-function g_data_output_stream_new
  (c-name "g_data_output_stream_new")
  (is-constructor-of "GDataOutputStream")
  (return-type "GDataOutputStream*")
  (parameters
    '("GOutputStream*" "base_stream")
  )
)

(define-method stop
  (of-object "GDebugControllerDBus")
  (c-name "g_debug_controller_dbus_stop")
  (return-type "none")
)

(define-function g_debug_controller_dbus_new
  (c-name "g_debug_controller_dbus_new")
  (is-constructor-of "GDebugControllerDBus")
  (return-type "GDebugControllerDBus*")
  (parameters
    '("GDBusConnection*" "connection")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method get_icon
  (of-object "GEmblem")
  (c-name "g_emblem_get_icon")
  (return-type "GIcon*")
)

(define-method get_origin
  (of-object "GEmblem")
  (c-name "g_emblem_get_origin")
  (return-type "GEmblemOrigin")
)

(define-function g_emblem_new
  (c-name "g_emblem_new")
  (is-constructor-of "GEmblem")
  (return-type "GEmblem*")
  (parameters
    '("GIcon*" "icon")
  )
)

(define-function g_emblem_new_with_origin
  (c-name "g_emblem_new_with_origin")
  (is-constructor-of "GEmblem")
  (return-type "GEmblem*")
  (parameters
    '("GIcon*" "icon")
    '("GEmblemOrigin" "origin")
  )
)

(define-method add_emblem
  (of-object "GEmblemedIcon")
  (c-name "g_emblemed_icon_add_emblem")
  (return-type "none")
  (parameters
    '("GEmblem*" "emblem")
  )
)

(define-method clear_emblems
  (of-object "GEmblemedIcon")
  (c-name "g_emblemed_icon_clear_emblems")
  (return-type "none")
)

(define-method get_emblems
  (of-object "GEmblemedIcon")
  (c-name "g_emblemed_icon_get_emblems")
  (return-type "GList*")
)

(define-method get_icon
  (of-object "GEmblemedIcon")
  (c-name "g_emblemed_icon_get_icon")
  (return-type "GIcon*")
)

(define-function g_emblemed_icon_new
  (c-name "g_emblemed_icon_new")
  (is-constructor-of "GEmblemedIcon")
  (return-type "GIcon*")
  (parameters
    '("GIcon*" "icon")
    '("GEmblem*" "emblem")
  )
)

(define-method close
  (of-object "GFileEnumerator")
  (c-name "g_file_enumerator_close")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method close_async
  (of-object "GFileEnumerator")
  (c-name "g_file_enumerator_close_async")
  (return-type "none")
  (parameters
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method close_finish
  (of-object "GFileEnumerator")
  (c-name "g_file_enumerator_close_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method get_child
  (of-object "GFileEnumerator")
  (c-name "g_file_enumerator_get_child")
  (return-type "GFile*")
  (parameters
    '("GFileInfo*" "info")
  )
)

(define-method get_container
  (of-object "GFileEnumerator")
  (c-name "g_file_enumerator_get_container")
  (return-type "GFile*")
)

(define-method has_pending
  (of-object "GFileEnumerator")
  (c-name "g_file_enumerator_has_pending")
  (return-type "gboolean")
)

(define-method is_closed
  (of-object "GFileEnumerator")
  (c-name "g_file_enumerator_is_closed")
  (return-type "gboolean")
)

(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")
  )
)

(define-method next_file
  (of-object "GFileEnumerator")
  (c-name "g_file_enumerator_next_file")
  (return-type "GFileInfo*")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method next_files_async
  (of-object "GFileEnumerator")
  (c-name "g_file_enumerator_next_files_async")
  (return-type "none")
  (parameters
    '("int" "num_files")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method next_files_finish
  (of-object "GFileEnumerator")
  (c-name "g_file_enumerator_next_files_finish")
  (return-type "GList*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method set_pending
  (of-object "GFileEnumerator")
  (c-name "g_file_enumerator_set_pending")
  (return-type "none")
  (parameters
    '("gboolean" "pending")
  )
)

(define-method get_etag
  (of-object "GFileIOStream")
  (c-name "g_file_io_stream_get_etag")
  (return-type "char*")
)

(define-method query_info
  (of-object "GFileIOStream")
  (c-name "g_file_io_stream_query_info")
  (return-type "GFileInfo*")
  (parameters
    '("const-char*" "attributes")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method query_info_async
  (of-object "GFileIOStream")
  (c-name "g_file_io_stream_query_info_async")
  (return-type "none")
  (parameters
    '("const-char*" "attributes")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method query_info_finish
  (of-object "GFileIOStream")
  (c-name "g_file_io_stream_query_info_finish")
  (return-type "GFileInfo*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method get_file
  (of-object "GFileIcon")
  (c-name "g_file_icon_get_file")
  (return-type "GFile*")
)

(define-function g_file_icon_new
  (c-name "g_file_icon_new")
  (is-constructor-of "GFileIcon")
  (return-type "GIcon*")
  (parameters
    '("GFile*" "file")
  )
)

(define-method clear_status
  (of-object "GFileInfo")
  (c-name "g_file_info_clear_status")
  (return-type "none")
)

(define-method copy_into
  (of-object "GFileInfo")
  (c-name "g_file_info_copy_into")
  (return-type "none")
  (parameters
    '("GFileInfo*" "dest_info")
  )
)

(define-method dup
  (of-object "GFileInfo")
  (c-name "g_file_info_dup")
  (return-type "GFileInfo*")
)

(define-method get_access_date_time
  (of-object "GFileInfo")
  (c-name "g_file_info_get_access_date_time")
  (return-type "GDateTime*")
)

(define-method get_attribute_as_string
  (of-object "GFileInfo")
  (c-name "g_file_info_get_attribute_as_string")
  (return-type "char*")
  (parameters
    '("const-char*" "attribute")
  )
)

(define-method get_attribute_boolean
  (of-object "GFileInfo")
  (c-name "g_file_info_get_attribute_boolean")
  (return-type "gboolean")
  (parameters
    '("const-char*" "attribute")
  )
)

(define-method get_attribute_byte_string
  (of-object "GFileInfo")
  (c-name "g_file_info_get_attribute_byte_string")
  (return-type "const-char*")
  (parameters
    '("const-char*" "attribute")
  )
)

(define-method get_attribute_data
  (of-object "GFileInfo")
  (c-name "g_file_info_get_attribute_data")
  (return-type "gboolean")
  (parameters
    '("const-char*" "attribute")
    '("GFileAttributeType*" "type")
    '("gpointer*" "value_pp")
    '("GFileAttributeStatus*" "status")
  )
)

(define-method get_attribute_file_path
  (of-object "GFileInfo")
  (c-name "g_file_info_get_attribute_file_path")
  (return-type "const-char*")
  (parameters
    '("const-char*" "attribute")
  )
)

(define-method get_attribute_int32
  (of-object "GFileInfo")
  (c-name "g_file_info_get_attribute_int32")
  (return-type "gint32")
  (parameters
    '("const-char*" "attribute")
  )
)

(define-method get_attribute_int64
  (of-object "GFileInfo")
  (c-name "g_file_info_get_attribute_int64")
  (return-type "gint64")
  (parameters
    '("const-char*" "attribute")
  )
)

(define-method get_attribute_object
  (of-object "GFileInfo")
  (c-name "g_file_info_get_attribute_object")
  (return-type "GObject*")
  (parameters
    '("const-char*" "attribute")
  )
)

(define-method get_attribute_status
  (of-object "GFileInfo")
  (c-name "g_file_info_get_attribute_status")
  (return-type "GFileAttributeStatus")
  (parameters
    '("const-char*" "attribute")
  )
)

(define-method get_attribute_string
  (of-object "GFileInfo")
  (c-name "g_file_info_get_attribute_string")
  (return-type "const-char*")
  (parameters
    '("const-char*" "attribute")
  )
)

(define-method get_attribute_stringv
  (of-object "GFileInfo")
  (c-name "g_file_info_get_attribute_stringv")
  (return-type "char**")
  (parameters
    '("const-char*" "attribute")
  )
)

(define-method get_attribute_type
  (of-object "GFileInfo")
  (c-name "g_file_info_get_attribute_type")
  (return-type "GFileAttributeType")
  (parameters
    '("const-char*" "attribute")
  )
)

(define-method get_attribute_uint32
  (of-object "GFileInfo")
  (c-name "g_file_info_get_attribute_uint32")
  (return-type "guint32")
  (parameters
    '("const-char*" "attribute")
  )
)

(define-method get_attribute_uint64
  (of-object "GFileInfo")
  (c-name "g_file_info_get_attribute_uint64")
  (return-type "guint64")
  (parameters
    '("const-char*" "attribute")
  )
)

(define-method get_content_type
  (of-object "GFileInfo")
  (c-name "g_file_info_get_content_type")
  (return-type "const-char*")
)

(define-method get_creation_date_time
  (of-object "GFileInfo")
  (c-name "g_file_info_get_creation_date_time")
  (return-type "GDateTime*")
)

(define-method get_deletion_date
  (of-object "GFileInfo")
  (c-name "g_file_info_get_deletion_date")
  (return-type "GDateTime*")
)

(define-method get_display_name
  (of-object "GFileInfo")
  (c-name "g_file_info_get_display_name")
  (return-type "const-char*")
)

(define-method get_edit_name
  (of-object "GFileInfo")
  (c-name "g_file_info_get_edit_name")
  (return-type "const-char*")
)

(define-method get_etag
  (of-object "GFileInfo")
  (c-name "g_file_info_get_etag")
  (return-type "const-char*")
)

(define-method get_file_type
  (of-object "GFileInfo")
  (c-name "g_file_info_get_file_type")
  (return-type "GFileType")
)

(define-method get_icon
  (of-object "GFileInfo")
  (c-name "g_file_info_get_icon")
  (return-type "GIcon*")
)

(define-method get_is_backup
  (of-object "GFileInfo")
  (c-name "g_file_info_get_is_backup")
  (return-type "gboolean")
)

(define-method get_is_hidden
  (of-object "GFileInfo")
  (c-name "g_file_info_get_is_hidden")
  (return-type "gboolean")
)

(define-method get_is_symlink
  (of-object "GFileInfo")
  (c-name "g_file_info_get_is_symlink")
  (return-type "gboolean")
)

(define-method get_modification_date_time
  (of-object "GFileInfo")
  (c-name "g_file_info_get_modification_date_time")
  (return-type "GDateTime*")
)

(define-method get_modification_time
  (of-object "GFileInfo")
  (c-name "g_file_info_get_modification_time")
  (return-type "none")
  (parameters
    '("GTimeVal*" "result")
  )
)

(define-method get_name
  (of-object "GFileInfo")
  (c-name "g_file_info_get_name")
  (return-type "const-char*")
)

(define-method get_size
  (of-object "GFileInfo")
  (c-name "g_file_info_get_size")
  (return-type "goffset")
)

(define-method get_sort_order
  (of-object "GFileInfo")
  (c-name "g_file_info_get_sort_order")
  (return-type "gint32")
)

(define-method get_symbolic_icon
  (of-object "GFileInfo")
  (c-name "g_file_info_get_symbolic_icon")
  (return-type "GIcon*")
)

(define-method get_symlink_target
  (of-object "GFileInfo")
  (c-name "g_file_info_get_symlink_target")
  (return-type "const-char*")
)

(define-method has_attribute
  (of-object "GFileInfo")
  (c-name "g_file_info_has_attribute")
  (return-type "gboolean")
  (parameters
    '("const-char*" "attribute")
  )
)

(define-method has_namespace
  (of-object "GFileInfo")
  (c-name "g_file_info_has_namespace")
  (return-type "gboolean")
  (parameters
    '("const-char*" "name_space")
  )
)

(define-method list_attributes
  (of-object "GFileInfo")
  (c-name "g_file_info_list_attributes")
  (return-type "char**")
  (parameters
    '("const-char*" "name_space")
  )
)

(define-method remove_attribute
  (of-object "GFileInfo")
  (c-name "g_file_info_remove_attribute")
  (return-type "none")
  (parameters
    '("const-char*" "attribute")
  )
)

(define-method set_access_date_time
  (of-object "GFileInfo")
  (c-name "g_file_info_set_access_date_time")
  (return-type "none")
  (parameters
    '("GDateTime*" "atime")
  )
)

(define-method set_attribute
  (of-object "GFileInfo")
  (c-name "g_file_info_set_attribute")
  (return-type "none")
  (parameters
    '("const-char*" "attribute")
    '("GFileAttributeType" "type")
    '("gpointer" "value_p")
  )
)

(define-method set_attribute_boolean
  (of-object "GFileInfo")
  (c-name "g_file_info_set_attribute_boolean")
  (return-type "none")
  (parameters
    '("const-char*" "attribute")
    '("gboolean" "attr_value")
  )
)

(define-method set_attribute_byte_string
  (of-object "GFileInfo")
  (c-name "g_file_info_set_attribute_byte_string")
  (return-type "none")
  (parameters
    '("const-char*" "attribute")
    '("const-char*" "attr_value")
  )
)

(define-method set_attribute_file_path
  (of-object "GFileInfo")
  (c-name "g_file_info_set_attribute_file_path")
  (return-type "none")
  (parameters
    '("const-char*" "attribute")
    '("const-char*" "attr_value")
  )
)

(define-method set_attribute_int32
  (of-object "GFileInfo")
  (c-name "g_file_info_set_attribute_int32")
  (return-type "none")
  (parameters
    '("const-char*" "attribute")
    '("gint32" "attr_value")
  )
)

(define-method set_attribute_int64
  (of-object "GFileInfo")
  (c-name "g_file_info_set_attribute_int64")
  (return-type "none")
  (parameters
    '("const-char*" "attribute")
    '("gint64" "attr_value")
  )
)

(define-method set_attribute_mask
  (of-object "GFileInfo")
  (c-name "g_file_info_set_attribute_mask")
  (return-type "none")
  (parameters
    '("GFileAttributeMatcher*" "mask")
  )
)

(define-method set_attribute_object
  (of-object "GFileInfo")
  (c-name "g_file_info_set_attribute_object")
  (return-type "none")
  (parameters
    '("const-char*" "attribute")
    '("GObject*" "attr_value")
  )
)

(define-method set_attribute_status
  (of-object "GFileInfo")
  (c-name "g_file_info_set_attribute_status")
  (return-type "gboolean")
  (parameters
    '("const-char*" "attribute")
    '("GFileAttributeStatus" "status")
  )
)

(define-method set_attribute_string
  (of-object "GFileInfo")
  (c-name "g_file_info_set_attribute_string")
  (return-type "none")
  (parameters
    '("const-char*" "attribute")
    '("const-char*" "attr_value")
  )
)

(define-method set_attribute_stringv
  (of-object "GFileInfo")
  (c-name "g_file_info_set_attribute_stringv")
  (return-type "none")
  (parameters
    '("const-char*" "attribute")
    '("char**" "attr_value")
  )
)

(define-method set_attribute_uint32
  (of-object "GFileInfo")
  (c-name "g_file_info_set_attribute_uint32")
  (return-type "none")
  (parameters
    '("const-char*" "attribute")
    '("guint32" "attr_value")
  )
)

(define-method set_attribute_uint64
  (of-object "GFileInfo")
  (c-name "g_file_info_set_attribute_uint64")
  (return-type "none")
  (parameters
    '("const-char*" "attribute")
    '("guint64" "attr_value")
  )
)

(define-method set_content_type
  (of-object "GFileInfo")
  (c-name "g_file_info_set_content_type")
  (return-type "none")
  (parameters
    '("const-char*" "content_type")
  )
)

(define-method set_creation_date_time
  (of-object "GFileInfo")
  (c-name "g_file_info_set_creation_date_time")
  (return-type "none")
  (parameters
    '("GDateTime*" "creation_time")
  )
)

(define-method set_display_name
  (of-object "GFileInfo")
  (c-name "g_file_info_set_display_name")
  (return-type "none")
  (parameters
    '("const-char*" "display_name")
  )
)

(define-method set_edit_name
  (of-object "GFileInfo")
  (c-name "g_file_info_set_edit_name")
  (return-type "none")
  (parameters
    '("const-char*" "edit_name")
  )
)

(define-method set_file_type
  (of-object "GFileInfo")
  (c-name "g_file_info_set_file_type")
  (return-type "none")
  (parameters
    '("GFileType" "type")
  )
)

(define-method set_icon
  (of-object "GFileInfo")
  (c-name "g_file_info_set_icon")
  (return-type "none")
  (parameters
    '("GIcon*" "icon")
  )
)

(define-method set_is_hidden
  (of-object "GFileInfo")
  (c-name "g_file_info_set_is_hidden")
  (return-type "none")
  (parameters
    '("gboolean" "is_hidden")
  )
)

(define-method set_is_symlink
  (of-object "GFileInfo")
  (c-name "g_file_info_set_is_symlink")
  (return-type "none")
  (parameters
    '("gboolean" "is_symlink")
  )
)

(define-method set_modification_date_time
  (of-object "GFileInfo")
  (c-name "g_file_info_set_modification_date_time")
  (return-type "none")
  (parameters
    '("GDateTime*" "mtime")
  )
)

(define-method set_modification_time
  (of-object "GFileInfo")
  (c-name "g_file_info_set_modification_time")
  (return-type "none")
  (parameters
    '("GTimeVal*" "mtime")
  )
)

(define-method set_name
  (of-object "GFileInfo")
  (c-name "g_file_info_set_name")
  (return-type "none")
  (parameters
    '("const-char*" "name")
  )
)

(define-method set_size
  (of-object "GFileInfo")
  (c-name "g_file_info_set_size")
  (return-type "none")
  (parameters
    '("goffset" "size")
  )
)

(define-method set_sort_order
  (of-object "GFileInfo")
  (c-name "g_file_info_set_sort_order")
  (return-type "none")
  (parameters
    '("gint32" "sort_order")
  )
)

(define-method set_symbolic_icon
  (of-object "GFileInfo")
  (c-name "g_file_info_set_symbolic_icon")
  (return-type "none")
  (parameters
    '("GIcon*" "icon")
  )
)

(define-method set_symlink_target
  (of-object "GFileInfo")
  (c-name "g_file_info_set_symlink_target")
  (return-type "none")
  (parameters
    '("const-char*" "symlink_target")
  )
)

(define-method unset_attribute_mask
  (of-object "GFileInfo")
  (c-name "g_file_info_unset_attribute_mask")
  (return-type "none")
)

(define-function g_file_info_new
  (c-name "g_file_info_new")
  (is-constructor-of "GFileInfo")
  (return-type "GFileInfo*")
)

(define-method query_info
  (of-object "GFileInputStream")
  (c-name "g_file_input_stream_query_info")
  (return-type "GFileInfo*")
  (parameters
    '("const-char*" "attributes")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method query_info_async
  (of-object "GFileInputStream")
  (c-name "g_file_input_stream_query_info_async")
  (return-type "none")
  (parameters
    '("const-char*" "attributes")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method query_info_finish
  (of-object "GFileInputStream")
  (c-name "g_file_input_stream_query_info_finish")
  (return-type "GFileInfo*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method cancel
  (of-object "GFileMonitor")
  (c-name "g_file_monitor_cancel")
  (return-type "gboolean")
)

(define-method emit_event
  (of-object "GFileMonitor")
  (c-name "g_file_monitor_emit_event")
  (return-type "none")
  (parameters
    '("GFile*" "child")
    '("GFile*" "other_file")
    '("GFileMonitorEvent" "event_type")
  )
)

(define-method is_cancelled
  (of-object "GFileMonitor")
  (c-name "g_file_monitor_is_cancelled")
  (return-type "gboolean")
)

(define-method set_rate_limit
  (of-object "GFileMonitor")
  (c-name "g_file_monitor_set_rate_limit")
  (return-type "none")
  (parameters
    '("gint" "limit_msecs")
  )
)

(define-method get_etag
  (of-object "GFileOutputStream")
  (c-name "g_file_output_stream_get_etag")
  (return-type "char*")
)

(define-method query_info
  (of-object "GFileOutputStream")
  (c-name "g_file_output_stream_query_info")
  (return-type "GFileInfo*")
  (parameters
    '("const-char*" "attributes")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method query_info_async
  (of-object "GFileOutputStream")
  (c-name "g_file_output_stream_query_info_async")
  (return-type "none")
  (parameters
    '("const-char*" "attributes")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method query_info_finish
  (of-object "GFileOutputStream")
  (c-name "g_file_output_stream_query_info_finish")
  (return-type "GFileInfo*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method get_completion_suffix
  (of-object "GFilenameCompleter")
  (c-name "g_filename_completer_get_completion_suffix")
  (return-type "char*")
  (parameters
    '("const-char*" "initial_text")
  )
)

(define-method get_completions
  (of-object "GFilenameCompleter")
  (c-name "g_filename_completer_get_completions")
  (return-type "char**")
  (parameters
    '("const-char*" "initial_text")
  )
)

(define-method set_dirs_only
  (of-object "GFilenameCompleter")
  (c-name "g_filename_completer_set_dirs_only")
  (return-type "none")
  (parameters
    '("gboolean" "dirs_only")
  )
)

(define-function g_filename_completer_new
  (c-name "g_filename_completer_new")
  (is-constructor-of "GFilenameCompleter")
  (return-type "GFilenameCompleter*")
)

(define-method get_base_stream
  (of-object "GFilterInputStream")
  (c-name "g_filter_input_stream_get_base_stream")
  (return-type "GInputStream*")
)

(define-method get_close_base_stream
  (of-object "GFilterInputStream")
  (c-name "g_filter_input_stream_get_close_base_stream")
  (return-type "gboolean")
)

(define-method set_close_base_stream
  (of-object "GFilterInputStream")
  (c-name "g_filter_input_stream_set_close_base_stream")
  (return-type "none")
  (parameters
    '("gboolean" "close_base")
  )
)

(define-method get_base_stream
  (of-object "GFilterOutputStream")
  (c-name "g_filter_output_stream_get_base_stream")
  (return-type "GOutputStream*")
)

(define-method get_close_base_stream
  (of-object "GFilterOutputStream")
  (c-name "g_filter_output_stream_get_close_base_stream")
  (return-type "gboolean")
)

(define-method set_close_base_stream
  (of-object "GFilterOutputStream")
  (c-name "g_filter_output_stream_set_close_base_stream")
  (return-type "none")
  (parameters
    '("gboolean" "close_base")
  )
)

(define-function g_io_module_query
  (c-name "g_io_module_query")
  (return-type "char**")
)

(define-method load
  (of-object "GIOModule")
  (c-name "g_io_module_load")
  (return-type "none")
)

(define-method unload
  (of-object "GIOModule")
  (c-name "g_io_module_unload")
  (return-type "none")
)

(define-function g_io_module_new
  (c-name "g_io_module_new")
  (is-constructor-of "GIOModule")
  (return-type "GIOModule*")
  (parameters
    '("const-gchar*" "filename")
  )
)

(define-function g_io_stream_splice_finish
  (c-name "g_io_stream_splice_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method clear_pending
  (of-object "GIOStream")
  (c-name "g_io_stream_clear_pending")
  (return-type "none")
)

(define-method close
  (of-object "GIOStream")
  (c-name "g_io_stream_close")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method close_async
  (of-object "GIOStream")
  (c-name "g_io_stream_close_async")
  (return-type "none")
  (parameters
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method close_finish
  (of-object "GIOStream")
  (c-name "g_io_stream_close_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method get_input_stream
  (of-object "GIOStream")
  (c-name "g_io_stream_get_input_stream")
  (return-type "GInputStream*")
)

(define-method get_output_stream
  (of-object "GIOStream")
  (c-name "g_io_stream_get_output_stream")
  (return-type "GOutputStream*")
)

(define-method has_pending
  (of-object "GIOStream")
  (c-name "g_io_stream_has_pending")
  (return-type "gboolean")
)

(define-method is_closed
  (of-object "GIOStream")
  (c-name "g_io_stream_is_closed")
  (return-type "gboolean")
)

(define-method set_pending
  (of-object "GIOStream")
  (c-name "g_io_stream_set_pending")
  (return-type "gboolean")
  (parameters
    '("GError**" "error")
  )
)

(define-method splice_async
  (of-object "GIOStream")
  (c-name "g_io_stream_splice_async")
  (return-type "none")
  (parameters
    '("GIOStream*" "stream2")
    '("GIOStreamSpliceFlags" "flags")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method get_dscp
  (of-object "GIPTosMessage")
  (c-name "g_ip_tos_message_get_dscp")
  (return-type "guint8")
)

(define-method get_ecn
  (of-object "GIPTosMessage")
  (c-name "g_ip_tos_message_get_ecn")
  (return-type "GEcnCodePoint")
)

(define-function g_ip_tos_message_new
  (c-name "g_ip_tos_message_new")
  (is-constructor-of "GIPTosMessage")
  (return-type "GSocketControlMessage*")
  (parameters
    '("guint8" "dscp")
    '("GEcnCodePoint" "ecn")
  )
)

(define-method get_dscp
  (of-object "GIPv6TclassMessage")
  (c-name "g_ipv6_tclass_message_get_dscp")
  (return-type "guint8")
)

(define-method get_ecn
  (of-object "GIPv6TclassMessage")
  (c-name "g_ipv6_tclass_message_get_ecn")
  (return-type "GEcnCodePoint")
)

(define-function g_ipv6_tclass_message_new
  (c-name "g_ipv6_tclass_message_new")
  (is-constructor-of "GIPv6TclassMessage")
  (return-type "GSocketControlMessage*")
  (parameters
    '("guint8" "dscp")
    '("GEcnCodePoint" "ecn")
  )
)

(define-method equal
  (of-object "GInetAddress")
  (c-name "g_inet_address_equal")
  (return-type "gboolean")
  (parameters
    '("GInetAddress*" "other_address")
  )
)

(define-method get_family
  (of-object "GInetAddress")
  (c-name "g_inet_address_get_family")
  (return-type "GSocketFamily")
)

(define-method get_flowinfo
  (of-object "GInetAddress")
  (c-name "g_inet_address_get_flowinfo")
  (return-type "guint32")
)

(define-method get_is_any
  (of-object "GInetAddress")
  (c-name "g_inet_address_get_is_any")
  (return-type "gboolean")
)

(define-method get_is_link_local
  (of-object "GInetAddress")
  (c-name "g_inet_address_get_is_link_local")
  (return-type "gboolean")
)

(define-method get_is_loopback
  (of-object "GInetAddress")
  (c-name "g_inet_address_get_is_loopback")
  (return-type "gboolean")
)

(define-method get_is_mc_global
  (of-object "GInetAddress")
  (c-name "g_inet_address_get_is_mc_global")
  (return-type "gboolean")
)

(define-method get_is_mc_link_local
  (of-object "GInetAddress")
  (c-name "g_inet_address_get_is_mc_link_local")
  (return-type "gboolean")
)

(define-method get_is_mc_node_local
  (of-object "GInetAddress")
  (c-name "g_inet_address_get_is_mc_node_local")
  (return-type "gboolean")
)

(define-method get_is_mc_org_local
  (of-object "GInetAddress")
  (c-name "g_inet_address_get_is_mc_org_local")
  (return-type "gboolean")
)

(define-method get_is_mc_site_local
  (of-object "GInetAddress")
  (c-name "g_inet_address_get_is_mc_site_local")
  (return-type "gboolean")
)

(define-method get_is_multicast
  (of-object "GInetAddress")
  (c-name "g_inet_address_get_is_multicast")
  (return-type "gboolean")
)

(define-method get_is_site_local
  (of-object "GInetAddress")
  (c-name "g_inet_address_get_is_site_local")
  (return-type "gboolean")
)

(define-method get_native_size
  (of-object "GInetAddress")
  (c-name "g_inet_address_get_native_size")
  (return-type "gsize")
)

(define-method get_scope_id
  (of-object "GInetAddress")
  (c-name "g_inet_address_get_scope_id")
  (return-type "guint32")
)

(define-method to_bytes
  (of-object "GInetAddress")
  (c-name "g_inet_address_to_bytes")
  (return-type "const-guint8*")
)

(define-method to_string
  (of-object "GInetAddress")
  (c-name "g_inet_address_to_string")
  (return-type "gchar*")
)

(define-function g_inet_address_new_any
  (c-name "g_inet_address_new_any")
  (is-constructor-of "GInetAddress")
  (return-type "GInetAddress*")
  (parameters
    '("GSocketFamily" "family")
  )
)

(define-function g_inet_address_new_from_bytes
  (c-name "g_inet_address_new_from_bytes")
  (is-constructor-of "GInetAddress")
  (return-type "GInetAddress*")
  (parameters
    '("const-guint8*" "bytes")
    '("GSocketFamily" "family")
  )
)

(define-function g_inet_address_new_from_bytes_with_ipv6_info
  (c-name "g_inet_address_new_from_bytes_with_ipv6_info")
  (is-constructor-of "GInetAddress")
  (return-type "GInetAddress*")
  (parameters
    '("const-guint8*" "bytes")
    '("GSocketFamily" "family")
    '("guint32" "flowinfo")
    '("guint32" "scope_id")
  )
)

(define-function g_inet_address_new_from_string
  (c-name "g_inet_address_new_from_string")
  (is-constructor-of "GInetAddress")
  (return-type "GInetAddress*")
  (parameters
    '("const-gchar*" "string")
  )
)

(define-function g_inet_address_new_loopback
  (c-name "g_inet_address_new_loopback")
  (is-constructor-of "GInetAddress")
  (return-type "GInetAddress*")
  (parameters
    '("GSocketFamily" "family")
  )
)

(define-method equal
  (of-object "GInetAddressMask")
  (c-name "g_inet_address_mask_equal")
  (return-type "gboolean")
  (parameters
    '("GInetAddressMask*" "mask2")
  )
)

(define-method get_address
  (of-object "GInetAddressMask")
  (c-name "g_inet_address_mask_get_address")
  (return-type "GInetAddress*")
)

(define-method get_family
  (of-object "GInetAddressMask")
  (c-name "g_inet_address_mask_get_family")
  (return-type "GSocketFamily")
)

(define-method get_length
  (of-object "GInetAddressMask")
  (c-name "g_inet_address_mask_get_length")
  (return-type "guint")
)

(define-method matches
  (of-object "GInetAddressMask")
  (c-name "g_inet_address_mask_matches")
  (return-type "gboolean")
  (parameters
    '("GInetAddress*" "address")
  )
)

(define-method to_string
  (of-object "GInetAddressMask")
  (c-name "g_inet_address_mask_to_string")
  (return-type "gchar*")
)

(define-function g_inet_address_mask_new
  (c-name "g_inet_address_mask_new")
  (is-constructor-of "GInetAddressMask")
  (return-type "GInetAddressMask*")
  (parameters
    '("GInetAddress*" "addr")
    '("guint" "length")
    '("GError**" "error")
  )
)

(define-function g_inet_address_mask_new_from_string
  (c-name "g_inet_address_mask_new_from_string")
  (is-constructor-of "GInetAddressMask")
  (return-type "GInetAddressMask*")
  (parameters
    '("const-gchar*" "mask_string")
    '("GError**" "error")
  )
)

(define-method get_address
  (of-object "GInetSocketAddress")
  (c-name "g_inet_socket_address_get_address")
  (return-type "GInetAddress*")
)

(define-method get_flowinfo
  (of-object "GInetSocketAddress")
  (c-name "g_inet_socket_address_get_flowinfo")
  (return-type "guint32")
)

(define-method get_port
  (of-object "GInetSocketAddress")
  (c-name "g_inet_socket_address_get_port")
  (return-type "guint16")
)

(define-method get_scope_id
  (of-object "GInetSocketAddress")
  (c-name "g_inet_socket_address_get_scope_id")
  (return-type "guint32")
)

(define-function g_inet_socket_address_new
  (c-name "g_inet_socket_address_new")
  (is-constructor-of "GInetSocketAddress")
  (return-type "GSocketAddress*")
  (parameters
    '("GInetAddress*" "address")
    '("guint16" "port")
  )
)

(define-function g_inet_socket_address_new_from_string
  (c-name "g_inet_socket_address_new_from_string")
  (is-constructor-of "GInetSocketAddress")
  (return-type "GSocketAddress*")
  (parameters
    '("const-char*" "address")
    '("guint" "port")
  )
)

(define-method clear_pending
  (of-object "GInputStream")
  (c-name "g_input_stream_clear_pending")
  (return-type "none")
)

(define-method close
  (of-object "GInputStream")
  (c-name "g_input_stream_close")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method close_async
  (of-object "GInputStream")
  (c-name "g_input_stream_close_async")
  (return-type "none")
  (parameters
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method close_finish
  (of-object "GInputStream")
  (c-name "g_input_stream_close_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method has_pending
  (of-object "GInputStream")
  (c-name "g_input_stream_has_pending")
  (return-type "gboolean")
)

(define-method is_closed
  (of-object "GInputStream")
  (c-name "g_input_stream_is_closed")
  (return-type "gboolean")
)

(define-method read
  (of-object "GInputStream")
  (c-name "g_input_stream_read")
  (return-type "gssize")
  (parameters
    '("void*" "buffer")
    '("gsize" "count")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method read_all
  (of-object "GInputStream")
  (c-name "g_input_stream_read_all")
  (return-type "gboolean")
  (parameters
    '("void*" "buffer")
    '("gsize" "count")
    '("gsize*" "bytes_read")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(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_async
  (of-object "GInputStream")
  (c-name "g_input_stream_read_async")
  (return-type "none")
  (parameters
    '("void*" "buffer")
    '("gsize" "count")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method read_bytes
  (of-object "GInputStream")
  (c-name "g_input_stream_read_bytes")
  (return-type "GBytes*")
  (parameters
    '("gsize" "count")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method read_bytes_async
  (of-object "GInputStream")
  (c-name "g_input_stream_read_bytes_async")
  (return-type "none")
  (parameters
    '("gsize" "count")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method read_bytes_finish
  (of-object "GInputStream")
  (c-name "g_input_stream_read_bytes_finish")
  (return-type "GBytes*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method read_finish
  (of-object "GInputStream")
  (c-name "g_input_stream_read_finish")
  (return-type "gssize")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method set_pending
  (of-object "GInputStream")
  (c-name "g_input_stream_set_pending")
  (return-type "gboolean")
  (parameters
    '("GError**" "error")
  )
)

(define-method skip
  (of-object "GInputStream")
  (c-name "g_input_stream_skip")
  (return-type "gssize")
  (parameters
    '("gsize" "count")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method skip_async
  (of-object "GInputStream")
  (c-name "g_input_stream_skip_async")
  (return-type "none")
  (parameters
    '("gsize" "count")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method skip_finish
  (of-object "GInputStream")
  (c-name "g_input_stream_skip_finish")
  (return-type "gssize")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method append
  (of-object "GListStore")
  (c-name "g_list_store_append")
  (return-type "none")
  (parameters
    '("gpointer" "item")
  )
)

(define-method find
  (of-object "GListStore")
  (c-name "g_list_store_find")
  (return-type "gboolean")
  (parameters
    '("gpointer" "item")
    '("guint*" "position")
  )
)

(define-method find_with_equal_func
  (of-object "GListStore")
  (c-name "g_list_store_find_with_equal_func")
  (return-type "gboolean")
  (parameters
    '("gpointer" "item")
    '("GEqualFunc" "equal_func")
    '("guint*" "position")
  )
)

(define-method find_with_equal_func_full
  (of-object "GListStore")
  (c-name "g_list_store_find_with_equal_func_full")
  (return-type "gboolean")
  (parameters
    '("gpointer" "item")
    '("GEqualFuncFull" "equal_func")
    '("gpointer" "user_data")
    '("guint*" "position")
  )
)

(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 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 sort
  (of-object "GListStore")
  (c-name "g_list_store_sort")
  (return-type "none")
  (parameters
    '("GCompareDataFunc" "compare_func")
    '("gpointer" "user_data")
  )
)

(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")
  )
)

(define-function g_list_store_new
  (c-name "g_list_store_new")
  (is-constructor-of "GListStore")
  (return-type "GListStore*")
  (parameters
    '("GType" "item_type")
  )
)

(define-method add_bytes
  (of-object "GMemoryInputStream")
  (c-name "g_memory_input_stream_add_bytes")
  (return-type "none")
  (parameters
    '("GBytes*" "bytes")
  )
)

(define-method add_data
  (of-object "GMemoryInputStream")
  (c-name "g_memory_input_stream_add_data")
  (return-type "none")
  (parameters
    '("const-void*" "data")
    '("gssize" "len")
    '("GDestroyNotify" "destroy")
  )
)

(define-function g_memory_input_stream_new
  (c-name "g_memory_input_stream_new")
  (is-constructor-of "GMemoryInputStream")
  (return-type "GInputStream*")
)

(define-function g_memory_input_stream_new_from_bytes
  (c-name "g_memory_input_stream_new_from_bytes")
  (is-constructor-of "GMemoryInputStream")
  (return-type "GInputStream*")
  (parameters
    '("GBytes*" "bytes")
  )
)

(define-function g_memory_input_stream_new_from_data
  (c-name "g_memory_input_stream_new_from_data")
  (is-constructor-of "GMemoryInputStream")
  (return-type "GInputStream*")
  (parameters
    '("void*" "data")
    '("gssize" "len")
    '("GDestroyNotify" "destroy")
  )
)

(define-method get_data
  (of-object "GMemoryOutputStream")
  (c-name "g_memory_output_stream_get_data")
  (return-type "gpointer")
)

(define-method get_data_size
  (of-object "GMemoryOutputStream")
  (c-name "g_memory_output_stream_get_data_size")
  (return-type "gsize")
)

(define-method get_size
  (of-object "GMemoryOutputStream")
  (c-name "g_memory_output_stream_get_size")
  (return-type "gsize")
)

(define-method steal_as_bytes
  (of-object "GMemoryOutputStream")
  (c-name "g_memory_output_stream_steal_as_bytes")
  (return-type "GBytes*")
)

(define-method steal_data
  (of-object "GMemoryOutputStream")
  (c-name "g_memory_output_stream_steal_data")
  (return-type "gpointer")
)

(define-function g_memory_output_stream_new
  (c-name "g_memory_output_stream_new")
  (is-constructor-of "GMemoryOutputStream")
  (return-type "GOutputStream*")
  (parameters
    '("gpointer" "data")
    '("gsize" "size")
    '("GReallocFunc" "realloc_function")
    '("GDestroyNotify" "destroy_function")
  )
)

(define-function g_memory_output_stream_new_resizable
  (c-name "g_memory_output_stream_new_resizable")
  (is-constructor-of "GMemoryOutputStream")
  (return-type "GOutputStream*")
)

(define-method append
  (of-object "GMenu")
  (c-name "g_menu_append")
  (return-type "none")
  (parameters
    '("const-gchar*" "label")
    '("const-gchar*" "detailed_action")
  )
)

(define-method append_item
  (of-object "GMenu")
  (c-name "g_menu_append_item")
  (return-type "none")
  (parameters
    '("GMenuItem*" "item")
  )
)

(define-method append_section
  (of-object "GMenu")
  (c-name "g_menu_append_section")
  (return-type "none")
  (parameters
    '("const-gchar*" "label")
    '("GMenuModel*" "section")
  )
)

(define-method append_submenu
  (of-object "GMenu")
  (c-name "g_menu_append_submenu")
  (return-type "none")
  (parameters
    '("const-gchar*" "label")
    '("GMenuModel*" "submenu")
  )
)

(define-method freeze
  (of-object "GMenu")
  (c-name "g_menu_freeze")
  (return-type "none")
)

(define-method insert
  (of-object "GMenu")
  (c-name "g_menu_insert")
  (return-type "none")
  (parameters
    '("gint" "position")
    '("const-gchar*" "label")
    '("const-gchar*" "detailed_action")
  )
)

(define-method insert_item
  (of-object "GMenu")
  (c-name "g_menu_insert_item")
  (return-type "none")
  (parameters
    '("gint" "position")
    '("GMenuItem*" "item")
  )
)

(define-method insert_section
  (of-object "GMenu")
  (c-name "g_menu_insert_section")
  (return-type "none")
  (parameters
    '("gint" "position")
    '("const-gchar*" "label")
    '("GMenuModel*" "section")
  )
)

(define-method insert_submenu
  (of-object "GMenu")
  (c-name "g_menu_insert_submenu")
  (return-type "none")
  (parameters
    '("gint" "position")
    '("const-gchar*" "label")
    '("GMenuModel*" "submenu")
  )
)

(define-method prepend
  (of-object "GMenu")
  (c-name "g_menu_prepend")
  (return-type "none")
  (parameters
    '("const-gchar*" "label")
    '("const-gchar*" "detailed_action")
  )
)

(define-method prepend_item
  (of-object "GMenu")
  (c-name "g_menu_prepend_item")
  (return-type "none")
  (parameters
    '("GMenuItem*" "item")
  )
)

(define-method prepend_section
  (of-object "GMenu")
  (c-name "g_menu_prepend_section")
  (return-type "none")
  (parameters
    '("const-gchar*" "label")
    '("GMenuModel*" "section")
  )
)

(define-method prepend_submenu
  (of-object "GMenu")
  (c-name "g_menu_prepend_submenu")
  (return-type "none")
  (parameters
    '("const-gchar*" "label")
    '("GMenuModel*" "submenu")
  )
)

(define-method remove
  (of-object "GMenu")
  (c-name "g_menu_remove")
  (return-type "none")
  (parameters
    '("gint" "position")
  )
)

(define-method remove_all
  (of-object "GMenu")
  (c-name "g_menu_remove_all")
  (return-type "none")
)

(define-function g_menu_new
  (c-name "g_menu_new")
  (is-constructor-of "GMenu")
  (return-type "GMenu*")
)

(define-method get_name
  (of-object "GMenuAttributeIter")
  (c-name "g_menu_attribute_iter_get_name")
  (return-type "const-gchar*")
)

(define-method get_next
  (of-object "GMenuAttributeIter")
  (c-name "g_menu_attribute_iter_get_next")
  (return-type "gboolean")
  (parameters
    '("const-gchar**" "out_name")
    '("GVariant**" "value")
  )
)

(define-method get_value
  (of-object "GMenuAttributeIter")
  (c-name "g_menu_attribute_iter_get_value")
  (return-type "GVariant*")
)

(define-method next
  (of-object "GMenuAttributeIter")
  (c-name "g_menu_attribute_iter_next")
  (return-type "gboolean")
)

(define-method get_attribute
  (of-object "GMenuItem")
  (c-name "g_menu_item_get_attribute")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "attribute")
    '("const-gchar*" "format_string")
  )
  (varargs #t)
)

(define-method get_attribute_value
  (of-object "GMenuItem")
  (c-name "g_menu_item_get_attribute_value")
  (return-type "GVariant*")
  (parameters
    '("const-gchar*" "attribute")
    '("const-GVariantType*" "expected_type")
  )
)

(define-method get_link
  (of-object "GMenuItem")
  (c-name "g_menu_item_get_link")
  (return-type "GMenuModel*")
  (parameters
    '("const-gchar*" "link")
  )
)

(define-method set_action_and_target
  (of-object "GMenuItem")
  (c-name "g_menu_item_set_action_and_target")
  (return-type "none")
  (parameters
    '("const-gchar*" "action")
    '("const-gchar*" "format_string")
  )
  (varargs #t)
)

(define-method set_action_and_target_value
  (of-object "GMenuItem")
  (c-name "g_menu_item_set_action_and_target_value")
  (return-type "none")
  (parameters
    '("const-gchar*" "action")
    '("GVariant*" "target_value")
  )
)

(define-method set_attribute
  (of-object "GMenuItem")
  (c-name "g_menu_item_set_attribute")
  (return-type "none")
  (parameters
    '("const-gchar*" "attribute")
    '("const-gchar*" "format_string")
  )
  (varargs #t)
)

(define-method set_attribute_value
  (of-object "GMenuItem")
  (c-name "g_menu_item_set_attribute_value")
  (return-type "none")
  (parameters
    '("const-gchar*" "attribute")
    '("GVariant*" "value")
  )
)

(define-method set_detailed_action
  (of-object "GMenuItem")
  (c-name "g_menu_item_set_detailed_action")
  (return-type "none")
  (parameters
    '("const-gchar*" "detailed_action")
  )
)

(define-method set_icon
  (of-object "GMenuItem")
  (c-name "g_menu_item_set_icon")
  (return-type "none")
  (parameters
    '("GIcon*" "icon")
  )
)

(define-method set_label
  (of-object "GMenuItem")
  (c-name "g_menu_item_set_label")
  (return-type "none")
  (parameters
    '("const-gchar*" "label")
  )
)

(define-method set_link
  (of-object "GMenuItem")
  (c-name "g_menu_item_set_link")
  (return-type "none")
  (parameters
    '("const-gchar*" "link")
    '("GMenuModel*" "model")
  )
)

(define-method set_section
  (of-object "GMenuItem")
  (c-name "g_menu_item_set_section")
  (return-type "none")
  (parameters
    '("GMenuModel*" "section")
  )
)

(define-method set_submenu
  (of-object "GMenuItem")
  (c-name "g_menu_item_set_submenu")
  (return-type "none")
  (parameters
    '("GMenuModel*" "submenu")
  )
)

(define-function g_menu_item_new
  (c-name "g_menu_item_new")
  (is-constructor-of "GMenuItem")
  (return-type "GMenuItem*")
  (parameters
    '("const-gchar*" "label")
    '("const-gchar*" "detailed_action")
  )
)

(define-function g_menu_item_new_from_model
  (c-name "g_menu_item_new_from_model")
  (is-constructor-of "GMenuItem")
  (return-type "GMenuItem*")
  (parameters
    '("GMenuModel*" "model")
    '("gint" "item_index")
  )
)

(define-function g_menu_item_new_section
  (c-name "g_menu_item_new_section")
  (is-constructor-of "GMenuItem")
  (return-type "GMenuItem*")
  (parameters
    '("const-gchar*" "label")
    '("GMenuModel*" "section")
  )
)

(define-function g_menu_item_new_submenu
  (c-name "g_menu_item_new_submenu")
  (is-constructor-of "GMenuItem")
  (return-type "GMenuItem*")
  (parameters
    '("const-gchar*" "label")
    '("GMenuModel*" "submenu")
  )
)

(define-method get_name
  (of-object "GMenuLinkIter")
  (c-name "g_menu_link_iter_get_name")
  (return-type "const-gchar*")
)

(define-method get_next
  (of-object "GMenuLinkIter")
  (c-name "g_menu_link_iter_get_next")
  (return-type "gboolean")
  (parameters
    '("const-gchar**" "out_link")
    '("GMenuModel**" "value")
  )
)

(define-method get_value
  (of-object "GMenuLinkIter")
  (c-name "g_menu_link_iter_get_value")
  (return-type "GMenuModel*")
)

(define-method next
  (of-object "GMenuLinkIter")
  (c-name "g_menu_link_iter_next")
  (return-type "gboolean")
)

(define-method get_item_attribute
  (of-object "GMenuModel")
  (c-name "g_menu_model_get_item_attribute")
  (return-type "gboolean")
  (parameters
    '("gint" "item_index")
    '("const-gchar*" "attribute")
    '("const-gchar*" "format_string")
  )
  (varargs #t)
)

(define-method get_item_attribute_value
  (of-object "GMenuModel")
  (c-name "g_menu_model_get_item_attribute_value")
  (return-type "GVariant*")
  (parameters
    '("gint" "item_index")
    '("const-gchar*" "attribute")
    '("const-GVariantType*" "expected_type")
  )
)

(define-method get_item_link
  (of-object "GMenuModel")
  (c-name "g_menu_model_get_item_link")
  (return-type "GMenuModel*")
  (parameters
    '("gint" "item_index")
    '("const-gchar*" "link")
  )
)

(define-method get_n_items
  (of-object "GMenuModel")
  (c-name "g_menu_model_get_n_items")
  (return-type "gint")
)

(define-method is_mutable
  (of-object "GMenuModel")
  (c-name "g_menu_model_is_mutable")
  (return-type "gboolean")
)

(define-method items_changed
  (of-object "GMenuModel")
  (c-name "g_menu_model_items_changed")
  (return-type "none")
  (parameters
    '("gint" "position")
    '("gint" "removed")
    '("gint" "added")
  )
)

(define-method iterate_item_attributes
  (of-object "GMenuModel")
  (c-name "g_menu_model_iterate_item_attributes")
  (return-type "GMenuAttributeIter*")
  (parameters
    '("gint" "item_index")
  )
)

(define-method iterate_item_links
  (of-object "GMenuModel")
  (c-name "g_menu_model_iterate_item_links")
  (return-type "GMenuLinkIter*")
  (parameters
    '("gint" "item_index")
  )
)

(define-method get_anonymous
  (of-object "GMountOperation")
  (c-name "g_mount_operation_get_anonymous")
  (return-type "gboolean")
)

(define-method get_choice
  (of-object "GMountOperation")
  (c-name "g_mount_operation_get_choice")
  (return-type "int")
)

(define-method get_domain
  (of-object "GMountOperation")
  (c-name "g_mount_operation_get_domain")
  (return-type "const-char*")
)

(define-method get_is_tcrypt_hidden_volume
  (of-object "GMountOperation")
  (c-name "g_mount_operation_get_is_tcrypt_hidden_volume")
  (return-type "gboolean")
)

(define-method get_is_tcrypt_system_volume
  (of-object "GMountOperation")
  (c-name "g_mount_operation_get_is_tcrypt_system_volume")
  (return-type "gboolean")
)

(define-method get_password
  (of-object "GMountOperation")
  (c-name "g_mount_operation_get_password")
  (return-type "const-char*")
)

(define-method get_password_save
  (of-object "GMountOperation")
  (c-name "g_mount_operation_get_password_save")
  (return-type "GPasswordSave")
)

(define-method get_pim
  (of-object "GMountOperation")
  (c-name "g_mount_operation_get_pim")
  (return-type "guint")
)

(define-method get_username
  (of-object "GMountOperation")
  (c-name "g_mount_operation_get_username")
  (return-type "const-char*")
)

(define-method reply
  (of-object "GMountOperation")
  (c-name "g_mount_operation_reply")
  (return-type "none")
  (parameters
    '("GMountOperationResult" "result")
  )
)

(define-method set_anonymous
  (of-object "GMountOperation")
  (c-name "g_mount_operation_set_anonymous")
  (return-type "none")
  (parameters
    '("gboolean" "anonymous")
  )
)

(define-method set_choice
  (of-object "GMountOperation")
  (c-name "g_mount_operation_set_choice")
  (return-type "none")
  (parameters
    '("int" "choice")
  )
)

(define-method set_domain
  (of-object "GMountOperation")
  (c-name "g_mount_operation_set_domain")
  (return-type "none")
  (parameters
    '("const-char*" "domain")
  )
)

(define-method set_is_tcrypt_hidden_volume
  (of-object "GMountOperation")
  (c-name "g_mount_operation_set_is_tcrypt_hidden_volume")
  (return-type "none")
  (parameters
    '("gboolean" "hidden_volume")
  )
)

(define-method set_is_tcrypt_system_volume
  (of-object "GMountOperation")
  (c-name "g_mount_operation_set_is_tcrypt_system_volume")
  (return-type "none")
  (parameters
    '("gboolean" "system_volume")
  )
)

(define-method set_password
  (of-object "GMountOperation")
  (c-name "g_mount_operation_set_password")
  (return-type "none")
  (parameters
    '("const-char*" "password")
  )
)

(define-method set_password_save
  (of-object "GMountOperation")
  (c-name "g_mount_operation_set_password_save")
  (return-type "none")
  (parameters
    '("GPasswordSave" "save")
  )
)

(define-method set_pim
  (of-object "GMountOperation")
  (c-name "g_mount_operation_set_pim")
  (return-type "none")
  (parameters
    '("guint" "pim")
  )
)

(define-method set_username
  (of-object "GMountOperation")
  (c-name "g_mount_operation_set_username")
  (return-type "none")
  (parameters
    '("const-char*" "username")
  )
)

(define-function g_mount_operation_new
  (c-name "g_mount_operation_new")
  (is-constructor-of "GMountOperation")
  (return-type "GMountOperation*")
)

(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")
  )
)

(define-function g_network_address_parse
  (c-name "g_network_address_parse")
  (return-type "GSocketConnectable*")
  (parameters
    '("const-gchar*" "host_and_port")
    '("guint16" "default_port")
    '("GError**" "error")
  )
)

(define-function g_network_address_parse_uri
  (c-name "g_network_address_parse_uri")
  (return-type "GSocketConnectable*")
  (parameters
    '("const-gchar*" "uri")
    '("guint16" "default_port")
    '("GError**" "error")
  )
)

(define-method get_hostname
  (of-object "GNetworkAddress")
  (c-name "g_network_address_get_hostname")
  (return-type "const-gchar*")
)

(define-method get_port
  (of-object "GNetworkAddress")
  (c-name "g_network_address_get_port")
  (return-type "guint16")
)

(define-method get_scheme
  (of-object "GNetworkAddress")
  (c-name "g_network_address_get_scheme")
  (return-type "const-gchar*")
)

(define-function g_network_address_new
  (c-name "g_network_address_new")
  (is-constructor-of "GNetworkAddress")
  (return-type "GSocketConnectable*")
  (parameters
    '("const-gchar*" "hostname")
    '("guint16" "port")
  )
)

(define-function g_network_address_new_loopback
  (c-name "g_network_address_new_loopback")
  (is-constructor-of "GNetworkAddress")
  (return-type "GSocketConnectable*")
  (parameters
    '("guint16" "port")
  )
)

(define-method get_domain
  (of-object "GNetworkService")
  (c-name "g_network_service_get_domain")
  (return-type "const-gchar*")
)

(define-method get_protocol
  (of-object "GNetworkService")
  (c-name "g_network_service_get_protocol")
  (return-type "const-gchar*")
)

(define-method get_scheme
  (of-object "GNetworkService")
  (c-name "g_network_service_get_scheme")
  (return-type "const-gchar*")
)

(define-method get_service
  (of-object "GNetworkService")
  (c-name "g_network_service_get_service")
  (return-type "const-gchar*")
)

(define-method set_scheme
  (of-object "GNetworkService")
  (c-name "g_network_service_set_scheme")
  (return-type "none")
  (parameters
    '("const-gchar*" "scheme")
  )
)

(define-function g_network_service_new
  (c-name "g_network_service_new")
  (is-constructor-of "GNetworkService")
  (return-type "GSocketConnectable*")
  (parameters
    '("const-gchar*" "service")
    '("const-gchar*" "protocol")
    '("const-gchar*" "domain")
  )
)

(define-method add_button
  (of-object "GNotification")
  (c-name "g_notification_add_button")
  (return-type "none")
  (parameters
    '("const-gchar*" "label")
    '("const-gchar*" "detailed_action")
  )
)

(define-method add_button_with_target
  (of-object "GNotification")
  (c-name "g_notification_add_button_with_target")
  (return-type "none")
  (parameters
    '("const-gchar*" "label")
    '("const-gchar*" "action")
    '("const-gchar*" "target_format")
  )
  (varargs #t)
)

(define-method add_button_with_target_value
  (of-object "GNotification")
  (c-name "g_notification_add_button_with_target_value")
  (return-type "none")
  (parameters
    '("const-gchar*" "label")
    '("const-gchar*" "action")
    '("GVariant*" "target")
  )
)

(define-method set_body
  (of-object "GNotification")
  (c-name "g_notification_set_body")
  (return-type "none")
  (parameters
    '("const-gchar*" "body")
  )
)

(define-method set_category
  (of-object "GNotification")
  (c-name "g_notification_set_category")
  (return-type "none")
  (parameters
    '("const-gchar*" "category")
  )
)

(define-method set_default_action
  (of-object "GNotification")
  (c-name "g_notification_set_default_action")
  (return-type "none")
  (parameters
    '("const-gchar*" "detailed_action")
  )
)

(define-method set_default_action_and_target
  (of-object "GNotification")
  (c-name "g_notification_set_default_action_and_target")
  (return-type "none")
  (parameters
    '("const-gchar*" "action")
    '("const-gchar*" "target_format")
  )
  (varargs #t)
)

(define-method set_default_action_and_target_value
  (of-object "GNotification")
  (c-name "g_notification_set_default_action_and_target_value")
  (return-type "none")
  (parameters
    '("const-gchar*" "action")
    '("GVariant*" "target")
  )
)

(define-method set_icon
  (of-object "GNotification")
  (c-name "g_notification_set_icon")
  (return-type "none")
  (parameters
    '("GIcon*" "icon")
  )
)

(define-method set_priority
  (of-object "GNotification")
  (c-name "g_notification_set_priority")
  (return-type "none")
  (parameters
    '("GNotificationPriority" "priority")
  )
)

(define-method set_title
  (of-object "GNotification")
  (c-name "g_notification_set_title")
  (return-type "none")
  (parameters
    '("const-gchar*" "title")
  )
)

(define-method set_urgent
  (of-object "GNotification")
  (c-name "g_notification_set_urgent")
  (return-type "none")
  (parameters
    '("gboolean" "urgent")
  )
)

(define-function g_notification_new
  (c-name "g_notification_new")
  (is-constructor-of "GNotification")
  (return-type "GNotification*")
  (parameters
    '("const-gchar*" "title")
  )
)

(define-method clear_pending
  (of-object "GOutputStream")
  (c-name "g_output_stream_clear_pending")
  (return-type "none")
)

(define-method close
  (of-object "GOutputStream")
  (c-name "g_output_stream_close")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method close_async
  (of-object "GOutputStream")
  (c-name "g_output_stream_close_async")
  (return-type "none")
  (parameters
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method close_finish
  (of-object "GOutputStream")
  (c-name "g_output_stream_close_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method flush
  (of-object "GOutputStream")
  (c-name "g_output_stream_flush")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method flush_async
  (of-object "GOutputStream")
  (c-name "g_output_stream_flush_async")
  (return-type "none")
  (parameters
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method flush_finish
  (of-object "GOutputStream")
  (c-name "g_output_stream_flush_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method has_pending
  (of-object "GOutputStream")
  (c-name "g_output_stream_has_pending")
  (return-type "gboolean")
)

(define-method is_closed
  (of-object "GOutputStream")
  (c-name "g_output_stream_is_closed")
  (return-type "gboolean")
)

(define-method is_closing
  (of-object "GOutputStream")
  (c-name "g_output_stream_is_closing")
  (return-type "gboolean")
)

(define-method printf
  (of-object "GOutputStream")
  (c-name "g_output_stream_printf")
  (return-type "gboolean")
  (parameters
    '("gsize*" "bytes_written")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
    '("const-gchar*" "format")
  )
  (varargs #t)
)

(define-method set_pending
  (of-object "GOutputStream")
  (c-name "g_output_stream_set_pending")
  (return-type "gboolean")
  (parameters
    '("GError**" "error")
  )
)

(define-method splice
  (of-object "GOutputStream")
  (c-name "g_output_stream_splice")
  (return-type "gssize")
  (parameters
    '("GInputStream*" "source")
    '("GOutputStreamSpliceFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method splice_async
  (of-object "GOutputStream")
  (c-name "g_output_stream_splice_async")
  (return-type "none")
  (parameters
    '("GInputStream*" "source")
    '("GOutputStreamSpliceFlags" "flags")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method splice_finish
  (of-object "GOutputStream")
  (c-name "g_output_stream_splice_finish")
  (return-type "gssize")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method vprintf
  (of-object "GOutputStream")
  (c-name "g_output_stream_vprintf")
  (return-type "gboolean")
  (parameters
    '("gsize*" "bytes_written")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
    '("const-gchar*" "format")
    '("va_list" "args")
  )
)

(define-method write
  (of-object "GOutputStream")
  (c-name "g_output_stream_write")
  (return-type "gssize")
  (parameters
    '("const-void*" "buffer")
    '("gsize" "count")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method write_all
  (of-object "GOutputStream")
  (c-name "g_output_stream_write_all")
  (return-type "gboolean")
  (parameters
    '("const-void*" "buffer")
    '("gsize" "count")
    '("gsize*" "bytes_written")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method write_all_async
  (of-object "GOutputStream")
  (c-name "g_output_stream_write_all_async")
  (return-type "none")
  (parameters
    '("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_async
  (of-object "GOutputStream")
  (c-name "g_output_stream_write_async")
  (return-type "none")
  (parameters
    '("void*" "buffer")
    '("gsize" "count")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method write_bytes
  (of-object "GOutputStream")
  (c-name "g_output_stream_write_bytes")
  (return-type "gssize")
  (parameters
    '("GBytes*" "bytes")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method write_bytes_async
  (of-object "GOutputStream")
  (c-name "g_output_stream_write_bytes_async")
  (return-type "none")
  (parameters
    '("GBytes*" "bytes")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method write_bytes_finish
  (of-object "GOutputStream")
  (c-name "g_output_stream_write_bytes_finish")
  (return-type "gssize")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method write_finish
  (of-object "GOutputStream")
  (c-name "g_output_stream_write_finish")
  (return-type "gssize")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method writev
  (of-object "GOutputStream")
  (c-name "g_output_stream_writev")
  (return-type "gboolean")
  (parameters
    '("const-GOutputVector*" "vectors")
    '("gsize" "n_vectors")
    '("gsize*" "bytes_written")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method writev_all
  (of-object "GOutputStream")
  (c-name "g_output_stream_writev_all")
  (return-type "gboolean")
  (parameters
    '("GOutputVector*" "vectors")
    '("gsize" "n_vectors")
    '("gsize*" "bytes_written")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method writev_all_async
  (of-object "GOutputStream")
  (c-name "g_output_stream_writev_all_async")
  (return-type "none")
  (parameters
    '("GOutputVector*" "vectors")
    '("gsize" "n_vectors")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method writev_all_finish
  (of-object "GOutputStream")
  (c-name "g_output_stream_writev_all_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("gsize*" "bytes_written")
    '("GError**" "error")
  )
)

(define-method writev_async
  (of-object "GOutputStream")
  (c-name "g_output_stream_writev_async")
  (return-type "none")
  (parameters
    '("const-GOutputVector*" "vectors")
    '("gsize" "n_vectors")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method writev_finish
  (of-object "GOutputStream")
  (c-name "g_output_stream_writev_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("gsize*" "bytes_written")
    '("GError**" "error")
  )
)

(define-method acquire
  (of-object "GPermission")
  (c-name "g_permission_acquire")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method acquire_async
  (of-object "GPermission")
  (c-name "g_permission_acquire_async")
  (return-type "none")
  (parameters
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method acquire_finish
  (of-object "GPermission")
  (c-name "g_permission_acquire_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method get_allowed
  (of-object "GPermission")
  (c-name "g_permission_get_allowed")
  (return-type "gboolean")
)

(define-method get_can_acquire
  (of-object "GPermission")
  (c-name "g_permission_get_can_acquire")
  (return-type "gboolean")
)

(define-method get_can_release
  (of-object "GPermission")
  (c-name "g_permission_get_can_release")
  (return-type "gboolean")
)

(define-method impl_update
  (of-object "GPermission")
  (c-name "g_permission_impl_update")
  (return-type "none")
  (parameters
    '("gboolean" "allowed")
    '("gboolean" "can_acquire")
    '("gboolean" "can_release")
  )
)

(define-method release
  (of-object "GPermission")
  (c-name "g_permission_release")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method release_async
  (of-object "GPermission")
  (c-name "g_permission_release_async")
  (return-type "none")
  (parameters
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method release_finish
  (of-object "GPermission")
  (c-name "g_permission_release_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-function g_property_action_new
  (c-name "g_property_action_new")
  (is-constructor-of "GPropertyAction")
  (return-type "GPropertyAction*")
  (parameters
    '("const-gchar*" "name")
    '("gpointer" "object")
    '("const-gchar*" "property_name")
  )
)

(define-method get_destination_hostname
  (of-object "GProxyAddress")
  (c-name "g_proxy_address_get_destination_hostname")
  (return-type "const-gchar*")
)

(define-method get_destination_port
  (of-object "GProxyAddress")
  (c-name "g_proxy_address_get_destination_port")
  (return-type "guint16")
)

(define-method get_destination_protocol
  (of-object "GProxyAddress")
  (c-name "g_proxy_address_get_destination_protocol")
  (return-type "const-gchar*")
)

(define-method get_password
  (of-object "GProxyAddress")
  (c-name "g_proxy_address_get_password")
  (return-type "const-gchar*")
)

(define-method get_protocol
  (of-object "GProxyAddress")
  (c-name "g_proxy_address_get_protocol")
  (return-type "const-gchar*")
)

(define-method get_uri
  (of-object "GProxyAddress")
  (c-name "g_proxy_address_get_uri")
  (return-type "const-gchar*")
)

(define-method get_username
  (of-object "GProxyAddress")
  (c-name "g_proxy_address_get_username")
  (return-type "const-gchar*")
)

(define-function g_proxy_address_new
  (c-name "g_proxy_address_new")
  (is-constructor-of "GProxyAddress")
  (return-type "GSocketAddress*")
  (parameters
    '("GInetAddress*" "inetaddr")
    '("guint16" "port")
    '("const-gchar*" "protocol")
    '("const-gchar*" "dest_hostname")
    '("guint16" "dest_port")
    '("const-gchar*" "username")
    '("const-gchar*" "password")
  )
)

(define-function g_resolver_free_addresses
  (c-name "g_resolver_free_addresses")
  (return-type "none")
  (parameters
    '("GList*" "addresses")
  )
)

(define-function g_resolver_free_targets
  (c-name "g_resolver_free_targets")
  (return-type "none")
  (parameters
    '("GList*" "targets")
  )
)

(define-function g_resolver_get_default
  (c-name "g_resolver_get_default")
  (return-type "GResolver*")
)

(define-method get_timeout
  (of-object "GResolver")
  (c-name "g_resolver_get_timeout")
  (return-type "unsigned")
)

(define-method lookup_by_address
  (of-object "GResolver")
  (c-name "g_resolver_lookup_by_address")
  (return-type "gchar*")
  (parameters
    '("GInetAddress*" "address")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method lookup_by_address_async
  (of-object "GResolver")
  (c-name "g_resolver_lookup_by_address_async")
  (return-type "none")
  (parameters
    '("GInetAddress*" "address")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method lookup_by_address_finish
  (of-object "GResolver")
  (c-name "g_resolver_lookup_by_address_finish")
  (return-type "gchar*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method lookup_by_name
  (of-object "GResolver")
  (c-name "g_resolver_lookup_by_name")
  (return-type "GList*")
  (parameters
    '("const-gchar*" "hostname")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method lookup_by_name_async
  (of-object "GResolver")
  (c-name "g_resolver_lookup_by_name_async")
  (return-type "none")
  (parameters
    '("const-gchar*" "hostname")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method lookup_by_name_finish
  (of-object "GResolver")
  (c-name "g_resolver_lookup_by_name_finish")
  (return-type "GList*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method lookup_by_name_with_flags
  (of-object "GResolver")
  (c-name "g_resolver_lookup_by_name_with_flags")
  (return-type "GList*")
  (parameters
    '("const-gchar*" "hostname")
    '("GResolverNameLookupFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method lookup_by_name_with_flags_async
  (of-object "GResolver")
  (c-name "g_resolver_lookup_by_name_with_flags_async")
  (return-type "none")
  (parameters
    '("const-gchar*" "hostname")
    '("GResolverNameLookupFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method lookup_by_name_with_flags_finish
  (of-object "GResolver")
  (c-name "g_resolver_lookup_by_name_with_flags_finish")
  (return-type "GList*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method lookup_records
  (of-object "GResolver")
  (c-name "g_resolver_lookup_records")
  (return-type "GList*")
  (parameters
    '("const-gchar*" "rrname")
    '("GResolverRecordType" "record_type")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method lookup_records_async
  (of-object "GResolver")
  (c-name "g_resolver_lookup_records_async")
  (return-type "none")
  (parameters
    '("const-gchar*" "rrname")
    '("GResolverRecordType" "record_type")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method lookup_records_finish
  (of-object "GResolver")
  (c-name "g_resolver_lookup_records_finish")
  (return-type "GList*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method lookup_service
  (of-object "GResolver")
  (c-name "g_resolver_lookup_service")
  (return-type "GList*")
  (parameters
    '("const-gchar*" "service")
    '("const-gchar*" "protocol")
    '("const-gchar*" "domain")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method lookup_service_async
  (of-object "GResolver")
  (c-name "g_resolver_lookup_service_async")
  (return-type "none")
  (parameters
    '("const-gchar*" "service")
    '("const-gchar*" "protocol")
    '("const-gchar*" "domain")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method lookup_service_finish
  (of-object "GResolver")
  (c-name "g_resolver_lookup_service_finish")
  (return-type "GList*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method set_default
  (of-object "GResolver")
  (c-name "g_resolver_set_default")
  (return-type "none")
)

(define-method set_timeout
  (of-object "GResolver")
  (c-name "g_resolver_set_timeout")
  (return-type "none")
  (parameters
    '("unsigned" "timeout_ms")
  )
)

(define-function g_settings_list_relocatable_schemas
  (c-name "g_settings_list_relocatable_schemas")
  (return-type "const-gchar*-const*")
)

(define-function g_settings_list_schemas
  (c-name "g_settings_list_schemas")
  (return-type "const-gchar*-const*")
)

(define-function g_settings_sync
  (c-name "g_settings_sync")
  (return-type "none")
)

(define-function g_settings_unbind
  (c-name "g_settings_unbind")
  (return-type "none")
  (parameters
    '("gpointer" "object")
    '("const-gchar*" "property")
  )
)

(define-method apply
  (of-object "GSettings")
  (c-name "g_settings_apply")
  (return-type "none")
)

(define-method bind
  (of-object "GSettings")
  (c-name "g_settings_bind")
  (return-type "none")
  (parameters
    '("const-gchar*" "key")
    '("gpointer" "object")
    '("const-gchar*" "property")
    '("GSettingsBindFlags" "flags")
  )
)

(define-method bind_with_mapping
  (of-object "GSettings")
  (c-name "g_settings_bind_with_mapping")
  (return-type "none")
  (parameters
    '("const-gchar*" "key")
    '("gpointer" "object")
    '("const-gchar*" "property")
    '("GSettingsBindFlags" "flags")
    '("GSettingsBindGetMapping" "get_mapping")
    '("GSettingsBindSetMapping" "set_mapping")
    '("gpointer" "user_data")
    '("GDestroyNotify" "destroy")
  )
)

(define-method bind_with_mapping_closures
  (of-object "GSettings")
  (c-name "g_settings_bind_with_mapping_closures")
  (return-type "none")
  (parameters
    '("const-char*" "key")
    '("GObject*" "object")
    '("const-char*" "property")
    '("GSettingsBindFlags" "flags")
    '("GClosure*" "get_mapping")
    '("GClosure*" "set_mapping")
  )
)

(define-method bind_writable
  (of-object "GSettings")
  (c-name "g_settings_bind_writable")
  (return-type "none")
  (parameters
    '("const-gchar*" "key")
    '("gpointer" "object")
    '("const-gchar*" "property")
    '("gboolean" "inverted")
  )
)

(define-method create_action
  (of-object "GSettings")
  (c-name "g_settings_create_action")
  (return-type "GAction*")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method delay
  (of-object "GSettings")
  (c-name "g_settings_delay")
  (return-type "none")
)

(define-method get
  (of-object "GSettings")
  (c-name "g_settings_get")
  (return-type "none")
  (parameters
    '("const-gchar*" "key")
    '("const-gchar*" "format")
  )
  (varargs #t)
)

(define-method get_boolean
  (of-object "GSettings")
  (c-name "g_settings_get_boolean")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method get_child
  (of-object "GSettings")
  (c-name "g_settings_get_child")
  (return-type "GSettings*")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method get_default_value
  (of-object "GSettings")
  (c-name "g_settings_get_default_value")
  (return-type "GVariant*")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method get_double
  (of-object "GSettings")
  (c-name "g_settings_get_double")
  (return-type "gdouble")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method get_enum
  (of-object "GSettings")
  (c-name "g_settings_get_enum")
  (return-type "gint")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method get_flags
  (of-object "GSettings")
  (c-name "g_settings_get_flags")
  (return-type "guint")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method get_has_unapplied
  (of-object "GSettings")
  (c-name "g_settings_get_has_unapplied")
  (return-type "gboolean")
)

(define-method get_int
  (of-object "GSettings")
  (c-name "g_settings_get_int")
  (return-type "gint")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method get_int64
  (of-object "GSettings")
  (c-name "g_settings_get_int64")
  (return-type "gint64")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method get_mapped
  (of-object "GSettings")
  (c-name "g_settings_get_mapped")
  (return-type "gpointer")
  (parameters
    '("const-gchar*" "key")
    '("GSettingsGetMapping" "mapping")
    '("gpointer" "user_data")
  )
)

(define-method get_range
  (of-object "GSettings")
  (c-name "g_settings_get_range")
  (return-type "GVariant*")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method get_string
  (of-object "GSettings")
  (c-name "g_settings_get_string")
  (return-type "gchar*")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method get_strv
  (of-object "GSettings")
  (c-name "g_settings_get_strv")
  (return-type "gchar**")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method get_uint
  (of-object "GSettings")
  (c-name "g_settings_get_uint")
  (return-type "guint")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method get_uint64
  (of-object "GSettings")
  (c-name "g_settings_get_uint64")
  (return-type "guint64")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method get_user_value
  (of-object "GSettings")
  (c-name "g_settings_get_user_value")
  (return-type "GVariant*")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method get_value
  (of-object "GSettings")
  (c-name "g_settings_get_value")
  (return-type "GVariant*")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method is_writable
  (of-object "GSettings")
  (c-name "g_settings_is_writable")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method list_children
  (of-object "GSettings")
  (c-name "g_settings_list_children")
  (return-type "gchar**")
)

(define-method list_keys
  (of-object "GSettings")
  (c-name "g_settings_list_keys")
  (return-type "gchar**")
)

(define-method range_check
  (of-object "GSettings")
  (c-name "g_settings_range_check")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "key")
    '("GVariant*" "value")
  )
)

(define-method reset
  (of-object "GSettings")
  (c-name "g_settings_reset")
  (return-type "none")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method revert
  (of-object "GSettings")
  (c-name "g_settings_revert")
  (return-type "none")
)

(define-method set
  (of-object "GSettings")
  (c-name "g_settings_set")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "key")
    '("const-gchar*" "format")
  )
  (varargs #t)
)

(define-method set_boolean
  (of-object "GSettings")
  (c-name "g_settings_set_boolean")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "key")
    '("gboolean" "value")
  )
)

(define-method set_double
  (of-object "GSettings")
  (c-name "g_settings_set_double")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "key")
    '("gdouble" "value")
  )
)

(define-method set_enum
  (of-object "GSettings")
  (c-name "g_settings_set_enum")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "key")
    '("gint" "value")
  )
)

(define-method set_flags
  (of-object "GSettings")
  (c-name "g_settings_set_flags")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "key")
    '("guint" "value")
  )
)

(define-method set_int
  (of-object "GSettings")
  (c-name "g_settings_set_int")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "key")
    '("gint" "value")
  )
)

(define-method set_int64
  (of-object "GSettings")
  (c-name "g_settings_set_int64")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "key")
    '("gint64" "value")
  )
)

(define-method set_string
  (of-object "GSettings")
  (c-name "g_settings_set_string")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "key")
    '("const-gchar*" "value")
  )
)

(define-method set_strv
  (of-object "GSettings")
  (c-name "g_settings_set_strv")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "key")
    '("const-gchar*-const*" "value")
  )
)

(define-method set_uint
  (of-object "GSettings")
  (c-name "g_settings_set_uint")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "key")
    '("guint" "value")
  )
)

(define-method set_uint64
  (of-object "GSettings")
  (c-name "g_settings_set_uint64")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "key")
    '("guint64" "value")
  )
)

(define-method set_value
  (of-object "GSettings")
  (c-name "g_settings_set_value")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "key")
    '("GVariant*" "value")
  )
)

(define-function g_settings_new
  (c-name "g_settings_new")
  (is-constructor-of "GSettings")
  (return-type "GSettings*")
  (parameters
    '("const-gchar*" "schema_id")
  )
)

(define-function g_settings_new_full
  (c-name "g_settings_new_full")
  (is-constructor-of "GSettings")
  (return-type "GSettings*")
  (parameters
    '("GSettingsSchema*" "schema")
    '("GSettingsBackend*" "backend")
    '("const-gchar*" "path")
  )
)

(define-function g_settings_new_with_backend
  (c-name "g_settings_new_with_backend")
  (is-constructor-of "GSettings")
  (return-type "GSettings*")
  (parameters
    '("const-gchar*" "schema_id")
    '("GSettingsBackend*" "backend")
  )
)

(define-function g_settings_new_with_backend_and_path
  (c-name "g_settings_new_with_backend_and_path")
  (is-constructor-of "GSettings")
  (return-type "GSettings*")
  (parameters
    '("const-gchar*" "schema_id")
    '("GSettingsBackend*" "backend")
    '("const-gchar*" "path")
  )
)

(define-function g_settings_new_with_path
  (c-name "g_settings_new_with_path")
  (is-constructor-of "GSettings")
  (return-type "GSettings*")
  (parameters
    '("const-gchar*" "schema_id")
    '("const-gchar*" "path")
  )
)

(define-function g_settings_backend_flatten_tree
  (c-name "g_settings_backend_flatten_tree")
  (return-type "none")
  (parameters
    '("GTree*" "tree")
    '("gchar**" "path")
    '("const-gchar***" "keys")
    '("GVariant***" "values")
  )
)

(define-function g_settings_backend_get_default
  (c-name "g_settings_backend_get_default")
  (return-type "GSettingsBackend*")
)

(define-method changed
  (of-object "GSettingsBackend")
  (c-name "g_settings_backend_changed")
  (return-type "none")
  (parameters
    '("const-gchar*" "key")
    '("gpointer" "origin_tag")
  )
)

(define-method changed_tree
  (of-object "GSettingsBackend")
  (c-name "g_settings_backend_changed_tree")
  (return-type "none")
  (parameters
    '("GTree*" "tree")
    '("gpointer" "origin_tag")
  )
)

(define-method keys_changed
  (of-object "GSettingsBackend")
  (c-name "g_settings_backend_keys_changed")
  (return-type "none")
  (parameters
    '("const-gchar*" "path")
    '("const-gchar*-const*" "items")
    '("gpointer" "origin_tag")
  )
)

(define-method path_changed
  (of-object "GSettingsBackend")
  (c-name "g_settings_backend_path_changed")
  (return-type "none")
  (parameters
    '("const-gchar*" "path")
    '("gpointer" "origin_tag")
  )
)

(define-method path_writable_changed
  (of-object "GSettingsBackend")
  (c-name "g_settings_backend_path_writable_changed")
  (return-type "none")
  (parameters
    '("const-gchar*" "path")
  )
)

(define-method writable_changed
  (of-object "GSettingsBackend")
  (c-name "g_settings_backend_writable_changed")
  (return-type "none")
  (parameters
    '("const-gchar*" "key")
  )
)

(define-method set_enabled
  (of-object "GSimpleAction")
  (c-name "g_simple_action_set_enabled")
  (return-type "none")
  (parameters
    '("gboolean" "enabled")
  )
)

(define-method set_state
  (of-object "GSimpleAction")
  (c-name "g_simple_action_set_state")
  (return-type "none")
  (parameters
    '("GVariant*" "value")
  )
)

(define-method set_state_hint
  (of-object "GSimpleAction")
  (c-name "g_simple_action_set_state_hint")
  (return-type "none")
  (parameters
    '("GVariant*" "state_hint")
  )
)

(define-function g_simple_action_new
  (c-name "g_simple_action_new")
  (is-constructor-of "GSimpleAction")
  (return-type "GSimpleAction*")
  (parameters
    '("const-gchar*" "name")
    '("const-GVariantType*" "parameter_type")
  )
)

(define-function g_simple_action_new_stateful
  (c-name "g_simple_action_new_stateful")
  (is-constructor-of "GSimpleAction")
  (return-type "GSimpleAction*")
  (parameters
    '("const-gchar*" "name")
    '("const-GVariantType*" "parameter_type")
    '("GVariant*" "state")
  )
)

(define-method add_entries
  (of-object "GSimpleActionGroup")
  (c-name "g_simple_action_group_add_entries")
  (return-type "none")
  (parameters
    '("const-GActionEntry*" "entries")
    '("gint" "n_entries")
    '("gpointer" "user_data")
  )
)

(define-method insert
  (of-object "GSimpleActionGroup")
  (c-name "g_simple_action_group_insert")
  (return-type "none")
  (parameters
    '("GAction*" "action")
  )
)

(define-method lookup
  (of-object "GSimpleActionGroup")
  (c-name "g_simple_action_group_lookup")
  (return-type "GAction*")
  (parameters
    '("const-gchar*" "action_name")
  )
)

(define-method remove
  (of-object "GSimpleActionGroup")
  (c-name "g_simple_action_group_remove")
  (return-type "none")
  (parameters
    '("const-gchar*" "action_name")
  )
)

(define-function g_simple_action_group_new
  (c-name "g_simple_action_group_new")
  (is-constructor-of "GSimpleActionGroup")
  (return-type "GSimpleActionGroup*")
)

(define-function g_simple_async_result_is_valid
  (c-name "g_simple_async_result_is_valid")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GObject*" "source")
    '("gpointer" "source_tag")
  )
)

(define-method complete
  (of-object "GSimpleAsyncResult")
  (c-name "g_simple_async_result_complete")
  (return-type "none")
)

(define-method complete_in_idle
  (of-object "GSimpleAsyncResult")
  (c-name "g_simple_async_result_complete_in_idle")
  (return-type "none")
)

(define-method get_op_res_gboolean
  (of-object "GSimpleAsyncResult")
  (c-name "g_simple_async_result_get_op_res_gboolean")
  (return-type "gboolean")
)

(define-method get_op_res_gpointer
  (of-object "GSimpleAsyncResult")
  (c-name "g_simple_async_result_get_op_res_gpointer")
  (return-type "gpointer")
)

(define-method get_op_res_gssize
  (of-object "GSimpleAsyncResult")
  (c-name "g_simple_async_result_get_op_res_gssize")
  (return-type "gssize")
)

(define-method get_source_tag
  (of-object "GSimpleAsyncResult")
  (c-name "g_simple_async_result_get_source_tag")
  (return-type "gpointer")
)

(define-method propagate_error
  (of-object "GSimpleAsyncResult")
  (c-name "g_simple_async_result_propagate_error")
  (return-type "gboolean")
  (parameters
    '("GError**" "error")
  )
)

(define-method run_in_thread
  (of-object "GSimpleAsyncResult")
  (c-name "g_simple_async_result_run_in_thread")
  (return-type "none")
  (parameters
    '("GSimpleAsyncThreadFunc" "func")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
  )
)

(define-method set_check_cancellable
  (of-object "GSimpleAsyncResult")
  (c-name "g_simple_async_result_set_check_cancellable")
  (return-type "none")
  (parameters
    '("GCancellable*" "check_cancellable")
  )
)

(define-method set_error
  (of-object "GSimpleAsyncResult")
  (c-name "g_simple_async_result_set_error")
  (return-type "none")
  (parameters
    '("GQuark" "domain")
    '("gint" "code")
    '("const-char*" "format")
  )
  (varargs #t)
)

(define-method set_error_va
  (of-object "GSimpleAsyncResult")
  (c-name "g_simple_async_result_set_error_va")
  (return-type "none")
  (parameters
    '("GQuark" "domain")
    '("gint" "code")
    '("const-char*" "format")
    '("va_list" "args")
  )
)

(define-method set_from_error
  (of-object "GSimpleAsyncResult")
  (c-name "g_simple_async_result_set_from_error")
  (return-type "none")
  (parameters
    '("const-GError*" "error")
  )
)

(define-method set_handle_cancellation
  (of-object "GSimpleAsyncResult")
  (c-name "g_simple_async_result_set_handle_cancellation")
  (return-type "none")
  (parameters
    '("gboolean" "handle_cancellation")
  )
)

(define-method set_op_res_gboolean
  (of-object "GSimpleAsyncResult")
  (c-name "g_simple_async_result_set_op_res_gboolean")
  (return-type "none")
  (parameters
    '("gboolean" "op_res")
  )
)

(define-method set_op_res_gpointer
  (of-object "GSimpleAsyncResult")
  (c-name "g_simple_async_result_set_op_res_gpointer")
  (return-type "none")
  (parameters
    '("gpointer" "op_res")
    '("GDestroyNotify" "destroy_op_res")
  )
)

(define-method set_op_res_gssize
  (of-object "GSimpleAsyncResult")
  (c-name "g_simple_async_result_set_op_res_gssize")
  (return-type "none")
  (parameters
    '("gssize" "op_res")
  )
)

(define-method take_error
  (of-object "GSimpleAsyncResult")
  (c-name "g_simple_async_result_take_error")
  (return-type "none")
  (parameters
    '("GError*" "error")
  )
)

(define-function g_simple_async_result_new
  (c-name "g_simple_async_result_new")
  (is-constructor-of "GSimpleAsyncResult")
  (return-type "GSimpleAsyncResult*")
  (parameters
    '("GObject*" "source_object")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
    '("gpointer" "source_tag")
  )
)

(define-function g_simple_async_result_new_error
  (c-name "g_simple_async_result_new_error")
  (is-constructor-of "GSimpleAsyncResult")
  (return-type "GSimpleAsyncResult*")
  (parameters
    '("GObject*" "source_object")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
    '("GQuark" "domain")
    '("gint" "code")
    '("const-char*" "format")
  )
  (varargs #t)
)

(define-function g_simple_async_result_new_from_error
  (c-name "g_simple_async_result_new_from_error")
  (is-constructor-of "GSimpleAsyncResult")
  (return-type "GSimpleAsyncResult*")
  (parameters
    '("GObject*" "source_object")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
    '("const-GError*" "error")
  )
)

(define-function g_simple_async_result_new_take_error
  (c-name "g_simple_async_result_new_take_error")
  (is-constructor-of "GSimpleAsyncResult")
  (return-type "GSimpleAsyncResult*")
  (parameters
    '("GObject*" "source_object")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
    '("GError*" "error")
  )
)

(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")
  )
)

(define-function g_simple_permission_new
  (c-name "g_simple_permission_new")
  (is-constructor-of "GSimplePermission")
  (return-type "GPermission*")
  (parameters
    '("gboolean" "allowed")
  )
)

(define-function g_simple_proxy_resolver_new
  (c-name "g_simple_proxy_resolver_new")
  (return-type "GProxyResolver*")
  (parameters
    '("const-gchar*" "default_proxy")
    '("gchar**" "ignore_hosts")
  )
)

(define-method set_default_proxy
  (of-object "GSimpleProxyResolver")
  (c-name "g_simple_proxy_resolver_set_default_proxy")
  (return-type "none")
  (parameters
    '("const-gchar*" "default_proxy")
  )
)

(define-method set_ignore_hosts
  (of-object "GSimpleProxyResolver")
  (c-name "g_simple_proxy_resolver_set_ignore_hosts")
  (return-type "none")
  (parameters
    '("gchar**" "ignore_hosts")
  )
)

(define-method set_uri_proxy
  (of-object "GSimpleProxyResolver")
  (c-name "g_simple_proxy_resolver_set_uri_proxy")
  (return-type "none")
  (parameters
    '("const-gchar*" "uri_scheme")
    '("const-gchar*" "proxy")
  )
)

(define-method accept
  (of-object "GSocket")
  (c-name "g_socket_accept")
  (return-type "GSocket*")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method bind
  (of-object "GSocket")
  (c-name "g_socket_bind")
  (return-type "gboolean")
  (parameters
    '("GSocketAddress*" "address")
    '("gboolean" "allow_reuse")
    '("GError**" "error")
  )
)

(define-method check_connect_result
  (of-object "GSocket")
  (c-name "g_socket_check_connect_result")
  (return-type "gboolean")
  (parameters
    '("GError**" "error")
  )
)

(define-method close
  (of-object "GSocket")
  (c-name "g_socket_close")
  (return-type "gboolean")
  (parameters
    '("GError**" "error")
  )
)

(define-method condition_check
  (of-object "GSocket")
  (c-name "g_socket_condition_check")
  (return-type "GIOCondition")
  (parameters
    '("GIOCondition" "condition")
  )
)

(define-method condition_timed_wait
  (of-object "GSocket")
  (c-name "g_socket_condition_timed_wait")
  (return-type "gboolean")
  (parameters
    '("GIOCondition" "condition")
    '("gint64" "timeout_us")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method condition_wait
  (of-object "GSocket")
  (c-name "g_socket_condition_wait")
  (return-type "gboolean")
  (parameters
    '("GIOCondition" "condition")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method connect
  (of-object "GSocket")
  (c-name "g_socket_connect")
  (return-type "gboolean")
  (parameters
    '("GSocketAddress*" "address")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method connection_factory_create_connection
  (of-object "GSocket")
  (c-name "g_socket_connection_factory_create_connection")
  (return-type "GSocketConnection*")
)

(define-method create_source
  (of-object "GSocket")
  (c-name "g_socket_create_source")
  (return-type "GSource*")
  (parameters
    '("GIOCondition" "condition")
    '("GCancellable*" "cancellable")
  )
)

(define-method get_available_bytes
  (of-object "GSocket")
  (c-name "g_socket_get_available_bytes")
  (return-type "gssize")
)

(define-method get_blocking
  (of-object "GSocket")
  (c-name "g_socket_get_blocking")
  (return-type "gboolean")
)

(define-method get_broadcast
  (of-object "GSocket")
  (c-name "g_socket_get_broadcast")
  (return-type "gboolean")
)

(define-method get_credentials
  (of-object "GSocket")
  (c-name "g_socket_get_credentials")
  (return-type "GCredentials*")
  (parameters
    '("GError**" "error")
  )
)

(define-method get_family
  (of-object "GSocket")
  (c-name "g_socket_get_family")
  (return-type "GSocketFamily")
)

(define-method get_fd
  (of-object "GSocket")
  (c-name "g_socket_get_fd")
  (return-type "int")
)

(define-method get_keepalive
  (of-object "GSocket")
  (c-name "g_socket_get_keepalive")
  (return-type "gboolean")
)

(define-method get_listen_backlog
  (of-object "GSocket")
  (c-name "g_socket_get_listen_backlog")
  (return-type "gint")
)

(define-method get_local_address
  (of-object "GSocket")
  (c-name "g_socket_get_local_address")
  (return-type "GSocketAddress*")
  (parameters
    '("GError**" "error")
  )
)

(define-method get_multicast_loopback
  (of-object "GSocket")
  (c-name "g_socket_get_multicast_loopback")
  (return-type "gboolean")
)

(define-method get_multicast_ttl
  (of-object "GSocket")
  (c-name "g_socket_get_multicast_ttl")
  (return-type "guint")
)

(define-method get_option
  (of-object "GSocket")
  (c-name "g_socket_get_option")
  (return-type "gboolean")
  (parameters
    '("gint" "level")
    '("gint" "optname")
    '("gint*" "value")
    '("GError**" "error")
  )
)

(define-method get_protocol
  (of-object "GSocket")
  (c-name "g_socket_get_protocol")
  (return-type "GSocketProtocol")
)

(define-method get_remote_address
  (of-object "GSocket")
  (c-name "g_socket_get_remote_address")
  (return-type "GSocketAddress*")
  (parameters
    '("GError**" "error")
  )
)

(define-method get_socket_type
  (of-object "GSocket")
  (c-name "g_socket_get_socket_type")
  (return-type "GSocketType")
)

(define-method get_timeout
  (of-object "GSocket")
  (c-name "g_socket_get_timeout")
  (return-type "guint")
)

(define-method get_ttl
  (of-object "GSocket")
  (c-name "g_socket_get_ttl")
  (return-type "guint")
)

(define-method is_closed
  (of-object "GSocket")
  (c-name "g_socket_is_closed")
  (return-type "gboolean")
)

(define-method is_connected
  (of-object "GSocket")
  (c-name "g_socket_is_connected")
  (return-type "gboolean")
)

(define-method join_multicast_group
  (of-object "GSocket")
  (c-name "g_socket_join_multicast_group")
  (return-type "gboolean")
  (parameters
    '("GInetAddress*" "group")
    '("gboolean" "source_specific")
    '("const-gchar*" "iface")
    '("GError**" "error")
  )
)

(define-method join_multicast_group_ssm
  (of-object "GSocket")
  (c-name "g_socket_join_multicast_group_ssm")
  (return-type "gboolean")
  (parameters
    '("GInetAddress*" "group")
    '("GInetAddress*" "source_specific")
    '("const-gchar*" "iface")
    '("GError**" "error")
  )
)

(define-method leave_multicast_group
  (of-object "GSocket")
  (c-name "g_socket_leave_multicast_group")
  (return-type "gboolean")
  (parameters
    '("GInetAddress*" "group")
    '("gboolean" "source_specific")
    '("const-gchar*" "iface")
    '("GError**" "error")
  )
)

(define-method leave_multicast_group_ssm
  (of-object "GSocket")
  (c-name "g_socket_leave_multicast_group_ssm")
  (return-type "gboolean")
  (parameters
    '("GInetAddress*" "group")
    '("GInetAddress*" "source_specific")
    '("const-gchar*" "iface")
    '("GError**" "error")
  )
)

(define-method listen
  (of-object "GSocket")
  (c-name "g_socket_listen")
  (return-type "gboolean")
  (parameters
    '("GError**" "error")
  )
)

(define-method receive
  (of-object "GSocket")
  (c-name "g_socket_receive")
  (return-type "gssize")
  (parameters
    '("gchar*" "buffer")
    '("gsize" "size")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method receive_bytes
  (of-object "GSocket")
  (c-name "g_socket_receive_bytes")
  (return-type "GBytes*")
  (parameters
    '("gsize" "size")
    '("gint64" "timeout_us")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method receive_bytes_from
  (of-object "GSocket")
  (c-name "g_socket_receive_bytes_from")
  (return-type "GBytes*")
  (parameters
    '("GSocketAddress**" "address")
    '("gsize" "size")
    '("gint64" "timeout_us")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method receive_from
  (of-object "GSocket")
  (c-name "g_socket_receive_from")
  (return-type "gssize")
  (parameters
    '("GSocketAddress**" "address")
    '("gchar*" "buffer")
    '("gsize" "size")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method receive_message
  (of-object "GSocket")
  (c-name "g_socket_receive_message")
  (return-type "gssize")
  (parameters
    '("GSocketAddress**" "address")
    '("GInputVector*" "vectors")
    '("gint" "num_vectors")
    '("GSocketControlMessage***" "messages")
    '("gint*" "num_messages")
    '("gint*" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method receive_messages
  (of-object "GSocket")
  (c-name "g_socket_receive_messages")
  (return-type "gint")
  (parameters
    '("GInputMessage*" "messages")
    '("guint" "num_messages")
    '("gint" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method receive_with_blocking
  (of-object "GSocket")
  (c-name "g_socket_receive_with_blocking")
  (return-type "gssize")
  (parameters
    '("gchar*" "buffer")
    '("gsize" "size")
    '("gboolean" "blocking")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method send
  (of-object "GSocket")
  (c-name "g_socket_send")
  (return-type "gssize")
  (parameters
    '("const-gchar*" "buffer")
    '("gsize" "size")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method send_message
  (of-object "GSocket")
  (c-name "g_socket_send_message")
  (return-type "gssize")
  (parameters
    '("GSocketAddress*" "address")
    '("GOutputVector*" "vectors")
    '("gint" "num_vectors")
    '("GSocketControlMessage**" "messages")
    '("gint" "num_messages")
    '("gint" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method send_message_with_timeout
  (of-object "GSocket")
  (c-name "g_socket_send_message_with_timeout")
  (return-type "GPollableReturn")
  (parameters
    '("GSocketAddress*" "address")
    '("const-GOutputVector*" "vectors")
    '("gint" "num_vectors")
    '("GSocketControlMessage**" "messages")
    '("gint" "num_messages")
    '("gint" "flags")
    '("gint64" "timeout_us")
    '("gsize*" "bytes_written")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(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 send_to
  (of-object "GSocket")
  (c-name "g_socket_send_to")
  (return-type "gssize")
  (parameters
    '("GSocketAddress*" "address")
    '("const-gchar*" "buffer")
    '("gsize" "size")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method send_with_blocking
  (of-object "GSocket")
  (c-name "g_socket_send_with_blocking")
  (return-type "gssize")
  (parameters
    '("const-gchar*" "buffer")
    '("gsize" "size")
    '("gboolean" "blocking")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method set_blocking
  (of-object "GSocket")
  (c-name "g_socket_set_blocking")
  (return-type "none")
  (parameters
    '("gboolean" "blocking")
  )
)

(define-method set_broadcast
  (of-object "GSocket")
  (c-name "g_socket_set_broadcast")
  (return-type "none")
  (parameters
    '("gboolean" "broadcast")
  )
)

(define-method set_keepalive
  (of-object "GSocket")
  (c-name "g_socket_set_keepalive")
  (return-type "none")
  (parameters
    '("gboolean" "keepalive")
  )
)

(define-method set_listen_backlog
  (of-object "GSocket")
  (c-name "g_socket_set_listen_backlog")
  (return-type "none")
  (parameters
    '("gint" "backlog")
  )
)

(define-method set_multicast_loopback
  (of-object "GSocket")
  (c-name "g_socket_set_multicast_loopback")
  (return-type "none")
  (parameters
    '("gboolean" "loopback")
  )
)

(define-method set_multicast_ttl
  (of-object "GSocket")
  (c-name "g_socket_set_multicast_ttl")
  (return-type "none")
  (parameters
    '("guint" "ttl")
  )
)

(define-method set_option
  (of-object "GSocket")
  (c-name "g_socket_set_option")
  (return-type "gboolean")
  (parameters
    '("gint" "level")
    '("gint" "optname")
    '("gint" "value")
    '("GError**" "error")
  )
)

(define-method set_timeout
  (of-object "GSocket")
  (c-name "g_socket_set_timeout")
  (return-type "none")
  (parameters
    '("guint" "timeout")
  )
)

(define-method set_ttl
  (of-object "GSocket")
  (c-name "g_socket_set_ttl")
  (return-type "none")
  (parameters
    '("guint" "ttl")
  )
)

(define-method shutdown
  (of-object "GSocket")
  (c-name "g_socket_shutdown")
  (return-type "gboolean")
  (parameters
    '("gboolean" "shutdown_read")
    '("gboolean" "shutdown_write")
    '("GError**" "error")
  )
)

(define-method speaks_ipv4
  (of-object "GSocket")
  (c-name "g_socket_speaks_ipv4")
  (return-type "gboolean")
)

(define-function g_socket_new
  (c-name "g_socket_new")
  (is-constructor-of "GSocket")
  (return-type "GSocket*")
  (parameters
    '("GSocketFamily" "family")
    '("GSocketType" "type")
    '("GSocketProtocol" "protocol")
    '("GError**" "error")
  )
)

(define-function g_socket_new_from_fd
  (c-name "g_socket_new_from_fd")
  (is-constructor-of "GSocket")
  (return-type "GSocket*")
  (parameters
    '("gint" "fd")
    '("GError**" "error")
  )
)

(define-method get_family
  (of-object "GSocketAddress")
  (c-name "g_socket_address_get_family")
  (return-type "GSocketFamily")
)

(define-method get_native_size
  (of-object "GSocketAddress")
  (c-name "g_socket_address_get_native_size")
  (return-type "gssize")
)

(define-method to_native
  (of-object "GSocketAddress")
  (c-name "g_socket_address_to_native")
  (return-type "gboolean")
  (parameters
    '("gpointer" "dest")
    '("gsize" "destlen")
    '("GError**" "error")
  )
)

(define-function g_socket_address_new_from_native
  (c-name "g_socket_address_new_from_native")
  (is-constructor-of "GSocketAddress")
  (return-type "GSocketAddress*")
  (parameters
    '("gpointer" "native")
    '("gsize" "len")
  )
)

(define-method next
  (of-object "GSocketAddressEnumerator")
  (c-name "g_socket_address_enumerator_next")
  (return-type "GSocketAddress*")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method next_async
  (of-object "GSocketAddressEnumerator")
  (c-name "g_socket_address_enumerator_next_async")
  (return-type "none")
  (parameters
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method next_finish
  (of-object "GSocketAddressEnumerator")
  (c-name "g_socket_address_enumerator_next_finish")
  (return-type "GSocketAddress*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method add_application_proxy
  (of-object "GSocketClient")
  (c-name "g_socket_client_add_application_proxy")
  (return-type "none")
  (parameters
    '("const-gchar*" "protocol")
  )
)

(define-method connect
  (of-object "GSocketClient")
  (c-name "g_socket_client_connect")
  (return-type "GSocketConnection*")
  (parameters
    '("GSocketConnectable*" "connectable")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method connect_async
  (of-object "GSocketClient")
  (c-name "g_socket_client_connect_async")
  (return-type "none")
  (parameters
    '("GSocketConnectable*" "connectable")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method connect_finish
  (of-object "GSocketClient")
  (c-name "g_socket_client_connect_finish")
  (return-type "GSocketConnection*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method connect_to_host
  (of-object "GSocketClient")
  (c-name "g_socket_client_connect_to_host")
  (return-type "GSocketConnection*")
  (parameters
    '("const-gchar*" "host_and_port")
    '("guint16" "default_port")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method connect_to_host_async
  (of-object "GSocketClient")
  (c-name "g_socket_client_connect_to_host_async")
  (return-type "none")
  (parameters
    '("const-gchar*" "host_and_port")
    '("guint16" "default_port")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method connect_to_host_finish
  (of-object "GSocketClient")
  (c-name "g_socket_client_connect_to_host_finish")
  (return-type "GSocketConnection*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method connect_to_service
  (of-object "GSocketClient")
  (c-name "g_socket_client_connect_to_service")
  (return-type "GSocketConnection*")
  (parameters
    '("const-gchar*" "domain")
    '("const-gchar*" "service")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method connect_to_service_async
  (of-object "GSocketClient")
  (c-name "g_socket_client_connect_to_service_async")
  (return-type "none")
  (parameters
    '("const-gchar*" "domain")
    '("const-gchar*" "service")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method connect_to_service_finish
  (of-object "GSocketClient")
  (c-name "g_socket_client_connect_to_service_finish")
  (return-type "GSocketConnection*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method connect_to_uri
  (of-object "GSocketClient")
  (c-name "g_socket_client_connect_to_uri")
  (return-type "GSocketConnection*")
  (parameters
    '("const-gchar*" "uri")
    '("guint16" "default_port")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method connect_to_uri_async
  (of-object "GSocketClient")
  (c-name "g_socket_client_connect_to_uri_async")
  (return-type "none")
  (parameters
    '("const-gchar*" "uri")
    '("guint16" "default_port")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method connect_to_uri_finish
  (of-object "GSocketClient")
  (c-name "g_socket_client_connect_to_uri_finish")
  (return-type "GSocketConnection*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method get_enable_proxy
  (of-object "GSocketClient")
  (c-name "g_socket_client_get_enable_proxy")
  (return-type "gboolean")
)

(define-method get_family
  (of-object "GSocketClient")
  (c-name "g_socket_client_get_family")
  (return-type "GSocketFamily")
)

(define-method get_local_address
  (of-object "GSocketClient")
  (c-name "g_socket_client_get_local_address")
  (return-type "GSocketAddress*")
)

(define-method get_protocol
  (of-object "GSocketClient")
  (c-name "g_socket_client_get_protocol")
  (return-type "GSocketProtocol")
)

(define-method get_proxy_resolver
  (of-object "GSocketClient")
  (c-name "g_socket_client_get_proxy_resolver")
  (return-type "GProxyResolver*")
)

(define-method get_socket_type
  (of-object "GSocketClient")
  (c-name "g_socket_client_get_socket_type")
  (return-type "GSocketType")
)

(define-method get_timeout
  (of-object "GSocketClient")
  (c-name "g_socket_client_get_timeout")
  (return-type "guint")
)

(define-method get_tls
  (of-object "GSocketClient")
  (c-name "g_socket_client_get_tls")
  (return-type "gboolean")
)

(define-method get_tls_validation_flags
  (of-object "GSocketClient")
  (c-name "g_socket_client_get_tls_validation_flags")
  (return-type "GTlsCertificateFlags")
)

(define-method set_enable_proxy
  (of-object "GSocketClient")
  (c-name "g_socket_client_set_enable_proxy")
  (return-type "none")
  (parameters
    '("gboolean" "enable")
  )
)

(define-method set_family
  (of-object "GSocketClient")
  (c-name "g_socket_client_set_family")
  (return-type "none")
  (parameters
    '("GSocketFamily" "family")
  )
)

(define-method set_local_address
  (of-object "GSocketClient")
  (c-name "g_socket_client_set_local_address")
  (return-type "none")
  (parameters
    '("GSocketAddress*" "address")
  )
)

(define-method set_protocol
  (of-object "GSocketClient")
  (c-name "g_socket_client_set_protocol")
  (return-type "none")
  (parameters
    '("GSocketProtocol" "protocol")
  )
)

(define-method set_proxy_resolver
  (of-object "GSocketClient")
  (c-name "g_socket_client_set_proxy_resolver")
  (return-type "none")
  (parameters
    '("GProxyResolver*" "proxy_resolver")
  )
)

(define-method set_socket_type
  (of-object "GSocketClient")
  (c-name "g_socket_client_set_socket_type")
  (return-type "none")
  (parameters
    '("GSocketType" "type")
  )
)

(define-method set_timeout
  (of-object "GSocketClient")
  (c-name "g_socket_client_set_timeout")
  (return-type "none")
  (parameters
    '("guint" "timeout")
  )
)

(define-method set_tls
  (of-object "GSocketClient")
  (c-name "g_socket_client_set_tls")
  (return-type "none")
  (parameters
    '("gboolean" "tls")
  )
)

(define-method set_tls_validation_flags
  (of-object "GSocketClient")
  (c-name "g_socket_client_set_tls_validation_flags")
  (return-type "none")
  (parameters
    '("GTlsCertificateFlags" "flags")
  )
)

(define-function g_socket_client_new
  (c-name "g_socket_client_new")
  (is-constructor-of "GSocketClient")
  (return-type "GSocketClient*")
)

(define-function g_socket_connection_factory_lookup_type
  (c-name "g_socket_connection_factory_lookup_type")
  (return-type "GType")
  (parameters
    '("GSocketFamily" "family")
    '("GSocketType" "type")
    '("gint" "protocol_id")
  )
)

(define-function g_socket_connection_factory_register_type
  (c-name "g_socket_connection_factory_register_type")
  (return-type "none")
  (parameters
    '("GType" "g_type")
    '("GSocketFamily" "family")
    '("GSocketType" "type")
    '("gint" "protocol")
  )
)

(define-method connect
  (of-object "GSocketConnection")
  (c-name "g_socket_connection_connect")
  (return-type "gboolean")
  (parameters
    '("GSocketAddress*" "address")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method connect_async
  (of-object "GSocketConnection")
  (c-name "g_socket_connection_connect_async")
  (return-type "none")
  (parameters
    '("GSocketAddress*" "address")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method connect_finish
  (of-object "GSocketConnection")
  (c-name "g_socket_connection_connect_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method get_local_address
  (of-object "GSocketConnection")
  (c-name "g_socket_connection_get_local_address")
  (return-type "GSocketAddress*")
  (parameters
    '("GError**" "error")
  )
)

(define-method get_remote_address
  (of-object "GSocketConnection")
  (c-name "g_socket_connection_get_remote_address")
  (return-type "GSocketAddress*")
  (parameters
    '("GError**" "error")
  )
)

(define-method get_socket
  (of-object "GSocketConnection")
  (c-name "g_socket_connection_get_socket")
  (return-type "GSocket*")
)

(define-method is_connected
  (of-object "GSocketConnection")
  (c-name "g_socket_connection_is_connected")
  (return-type "gboolean")
)

(define-function g_socket_control_message_deserialize
  (c-name "g_socket_control_message_deserialize")
  (return-type "GSocketControlMessage*")
  (parameters
    '("int" "level")
    '("int" "type")
    '("gsize" "size")
    '("gpointer" "data")
  )
)

(define-method get_level
  (of-object "GSocketControlMessage")
  (c-name "g_socket_control_message_get_level")
  (return-type "int")
)

(define-method get_msg_type
  (of-object "GSocketControlMessage")
  (c-name "g_socket_control_message_get_msg_type")
  (return-type "int")
)

(define-method get_size
  (of-object "GSocketControlMessage")
  (c-name "g_socket_control_message_get_size")
  (return-type "gsize")
)

(define-method serialize
  (of-object "GSocketControlMessage")
  (c-name "g_socket_control_message_serialize")
  (return-type "none")
  (parameters
    '("gpointer" "data")
  )
)

(define-method accept
  (of-object "GSocketListener")
  (c-name "g_socket_listener_accept")
  (return-type "GSocketConnection*")
  (parameters
    '("GObject**" "source_object")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method accept_async
  (of-object "GSocketListener")
  (c-name "g_socket_listener_accept_async")
  (return-type "none")
  (parameters
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method accept_finish
  (of-object "GSocketListener")
  (c-name "g_socket_listener_accept_finish")
  (return-type "GSocketConnection*")
  (parameters
    '("GAsyncResult*" "result")
    '("GObject**" "source_object")
    '("GError**" "error")
  )
)

(define-method accept_socket
  (of-object "GSocketListener")
  (c-name "g_socket_listener_accept_socket")
  (return-type "GSocket*")
  (parameters
    '("GObject**" "source_object")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method accept_socket_async
  (of-object "GSocketListener")
  (c-name "g_socket_listener_accept_socket_async")
  (return-type "none")
  (parameters
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method accept_socket_finish
  (of-object "GSocketListener")
  (c-name "g_socket_listener_accept_socket_finish")
  (return-type "GSocket*")
  (parameters
    '("GAsyncResult*" "result")
    '("GObject**" "source_object")
    '("GError**" "error")
  )
)

(define-method add_address
  (of-object "GSocketListener")
  (c-name "g_socket_listener_add_address")
  (return-type "gboolean")
  (parameters
    '("GSocketAddress*" "address")
    '("GSocketType" "type")
    '("GSocketProtocol" "protocol")
    '("GObject*" "source_object")
    '("GSocketAddress**" "effective_address")
    '("GError**" "error")
  )
)

(define-method add_any_inet_port
  (of-object "GSocketListener")
  (c-name "g_socket_listener_add_any_inet_port")
  (return-type "guint16")
  (parameters
    '("GObject*" "source_object")
    '("GError**" "error")
  )
)

(define-method add_inet_port
  (of-object "GSocketListener")
  (c-name "g_socket_listener_add_inet_port")
  (return-type "gboolean")
  (parameters
    '("guint16" "port")
    '("GObject*" "source_object")
    '("GError**" "error")
  )
)

(define-method add_socket
  (of-object "GSocketListener")
  (c-name "g_socket_listener_add_socket")
  (return-type "gboolean")
  (parameters
    '("GSocket*" "socket")
    '("GObject*" "source_object")
    '("GError**" "error")
  )
)

(define-method close
  (of-object "GSocketListener")
  (c-name "g_socket_listener_close")
  (return-type "none")
)

(define-method set_backlog
  (of-object "GSocketListener")
  (c-name "g_socket_listener_set_backlog")
  (return-type "none")
  (parameters
    '("int" "listen_backlog")
  )
)

(define-function g_socket_listener_new
  (c-name "g_socket_listener_new")
  (is-constructor-of "GSocketListener")
  (return-type "GSocketListener*")
)

(define-method is_active
  (of-object "GSocketService")
  (c-name "g_socket_service_is_active")
  (return-type "gboolean")
)

(define-method start
  (of-object "GSocketService")
  (c-name "g_socket_service_start")
  (return-type "none")
)

(define-method stop
  (of-object "GSocketService")
  (c-name "g_socket_service_stop")
  (return-type "none")
)

(define-function g_socket_service_new
  (c-name "g_socket_service_new")
  (is-constructor-of "GSocketService")
  (return-type "GSocketService*")
)

(define-method communicate
  (of-object "GSubprocess")
  (c-name "g_subprocess_communicate")
  (return-type "gboolean")
  (parameters
    '("GBytes*" "stdin_buf")
    '("GCancellable*" "cancellable")
    '("GBytes**" "stdout_buf")
    '("GBytes**" "stderr_buf")
    '("GError**" "error")
  )
)

(define-method communicate_async
  (of-object "GSubprocess")
  (c-name "g_subprocess_communicate_async")
  (return-type "none")
  (parameters
    '("GBytes*" "stdin_buf")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method communicate_finish
  (of-object "GSubprocess")
  (c-name "g_subprocess_communicate_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GBytes**" "stdout_buf")
    '("GBytes**" "stderr_buf")
    '("GError**" "error")
  )
)

(define-method communicate_utf8
  (of-object "GSubprocess")
  (c-name "g_subprocess_communicate_utf8")
  (return-type "gboolean")
  (parameters
    '("const-char*" "stdin_buf")
    '("GCancellable*" "cancellable")
    '("char**" "stdout_buf")
    '("char**" "stderr_buf")
    '("GError**" "error")
  )
)

(define-method communicate_utf8_async
  (of-object "GSubprocess")
  (c-name "g_subprocess_communicate_utf8_async")
  (return-type "none")
  (parameters
    '("const-char*" "stdin_buf")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method communicate_utf8_finish
  (of-object "GSubprocess")
  (c-name "g_subprocess_communicate_utf8_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("char**" "stdout_buf")
    '("char**" "stderr_buf")
    '("GError**" "error")
  )
)

(define-method force_exit
  (of-object "GSubprocess")
  (c-name "g_subprocess_force_exit")
  (return-type "none")
)

(define-method get_exit_status
  (of-object "GSubprocess")
  (c-name "g_subprocess_get_exit_status")
  (return-type "gint")
)

(define-method get_identifier
  (of-object "GSubprocess")
  (c-name "g_subprocess_get_identifier")
  (return-type "const-gchar*")
)

(define-method get_if_exited
  (of-object "GSubprocess")
  (c-name "g_subprocess_get_if_exited")
  (return-type "gboolean")
)

(define-method get_if_signaled
  (of-object "GSubprocess")
  (c-name "g_subprocess_get_if_signaled")
  (return-type "gboolean")
)

(define-method get_status
  (of-object "GSubprocess")
  (c-name "g_subprocess_get_status")
  (return-type "gint")
)

(define-method get_stderr_pipe
  (of-object "GSubprocess")
  (c-name "g_subprocess_get_stderr_pipe")
  (return-type "GInputStream*")
)

(define-method get_stdin_pipe
  (of-object "GSubprocess")
  (c-name "g_subprocess_get_stdin_pipe")
  (return-type "GOutputStream*")
)

(define-method get_stdout_pipe
  (of-object "GSubprocess")
  (c-name "g_subprocess_get_stdout_pipe")
  (return-type "GInputStream*")
)

(define-method get_successful
  (of-object "GSubprocess")
  (c-name "g_subprocess_get_successful")
  (return-type "gboolean")
)

(define-method get_term_sig
  (of-object "GSubprocess")
  (c-name "g_subprocess_get_term_sig")
  (return-type "gint")
)

(define-method send_signal
  (of-object "GSubprocess")
  (c-name "g_subprocess_send_signal")
  (return-type "none")
  (parameters
    '("gint" "signal_num")
  )
)

(define-method wait
  (of-object "GSubprocess")
  (c-name "g_subprocess_wait")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method wait_async
  (of-object "GSubprocess")
  (c-name "g_subprocess_wait_async")
  (return-type "none")
  (parameters
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method wait_check
  (of-object "GSubprocess")
  (c-name "g_subprocess_wait_check")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method wait_check_async
  (of-object "GSubprocess")
  (c-name "g_subprocess_wait_check_async")
  (return-type "none")
  (parameters
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method wait_check_finish
  (of-object "GSubprocess")
  (c-name "g_subprocess_wait_check_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method wait_finish
  (of-object "GSubprocess")
  (c-name "g_subprocess_wait_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-function g_subprocess_new
  (c-name "g_subprocess_new")
  (is-constructor-of "GSubprocess")
  (return-type "GSubprocess*")
  (parameters
    '("GSubprocessFlags" "flags")
    '("GError**" "error")
    '("const-gchar*" "argv0")
  )
  (varargs #t)
)

(define-function g_subprocess_newv
  (c-name "g_subprocess_newv")
  (is-constructor-of "GSubprocess")
  (return-type "GSubprocess*")
  (parameters
    '("const-gchar*-const*" "argv")
    '("GSubprocessFlags" "flags")
    '("GError**" "error")
  )
)

(define-method close
  (of-object "GSubprocessLauncher")
  (c-name "g_subprocess_launcher_close")
  (return-type "none")
)

(define-method getenv
  (of-object "GSubprocessLauncher")
  (c-name "g_subprocess_launcher_getenv")
  (return-type "const-gchar*")
  (parameters
    '("const-gchar*" "variable")
  )
)

(define-method set_child_setup
  (of-object "GSubprocessLauncher")
  (c-name "g_subprocess_launcher_set_child_setup")
  (return-type "none")
  (parameters
    '("GSpawnChildSetupFunc" "child_setup")
    '("gpointer" "user_data")
    '("GDestroyNotify" "destroy_notify")
  )
)

(define-method set_cwd
  (of-object "GSubprocessLauncher")
  (c-name "g_subprocess_launcher_set_cwd")
  (return-type "none")
  (parameters
    '("const-gchar*" "cwd")
  )
)

(define-method set_environ
  (of-object "GSubprocessLauncher")
  (c-name "g_subprocess_launcher_set_environ")
  (return-type "none")
  (parameters
    '("gchar**" "env")
  )
)

(define-method set_flags
  (of-object "GSubprocessLauncher")
  (c-name "g_subprocess_launcher_set_flags")
  (return-type "none")
  (parameters
    '("GSubprocessFlags" "flags")
  )
)

(define-method set_stderr_file_path
  (of-object "GSubprocessLauncher")
  (c-name "g_subprocess_launcher_set_stderr_file_path")
  (return-type "none")
  (parameters
    '("const-gchar*" "path")
  )
)

(define-method set_stdin_file_path
  (of-object "GSubprocessLauncher")
  (c-name "g_subprocess_launcher_set_stdin_file_path")
  (return-type "none")
  (parameters
    '("const-gchar*" "path")
  )
)

(define-method set_stdout_file_path
  (of-object "GSubprocessLauncher")
  (c-name "g_subprocess_launcher_set_stdout_file_path")
  (return-type "none")
  (parameters
    '("const-gchar*" "path")
  )
)

(define-method setenv
  (of-object "GSubprocessLauncher")
  (c-name "g_subprocess_launcher_setenv")
  (return-type "none")
  (parameters
    '("const-gchar*" "variable")
    '("const-gchar*" "value")
    '("gboolean" "overwrite")
  )
)

(define-method spawn
  (of-object "GSubprocessLauncher")
  (c-name "g_subprocess_launcher_spawn")
  (return-type "GSubprocess*")
  (parameters
    '("GError**" "error")
    '("const-gchar*" "argv0")
  )
  (varargs #t)
)

(define-method spawnv
  (of-object "GSubprocessLauncher")
  (c-name "g_subprocess_launcher_spawnv")
  (return-type "GSubprocess*")
  (parameters
    '("const-gchar*-const*" "argv")
    '("GError**" "error")
  )
)

(define-method take_fd
  (of-object "GSubprocessLauncher")
  (c-name "g_subprocess_launcher_take_fd")
  (return-type "none")
  (parameters
    '("gint" "source_fd")
    '("gint" "target_fd")
  )
)

(define-method take_stderr_fd
  (of-object "GSubprocessLauncher")
  (c-name "g_subprocess_launcher_take_stderr_fd")
  (return-type "none")
  (parameters
    '("gint" "fd")
  )
)

(define-method take_stdin_fd
  (of-object "GSubprocessLauncher")
  (c-name "g_subprocess_launcher_take_stdin_fd")
  (return-type "none")
  (parameters
    '("gint" "fd")
  )
)

(define-method take_stdout_fd
  (of-object "GSubprocessLauncher")
  (c-name "g_subprocess_launcher_take_stdout_fd")
  (return-type "none")
  (parameters
    '("gint" "fd")
  )
)

(define-method unsetenv
  (of-object "GSubprocessLauncher")
  (c-name "g_subprocess_launcher_unsetenv")
  (return-type "none")
  (parameters
    '("const-gchar*" "variable")
  )
)

(define-function g_subprocess_launcher_new
  (c-name "g_subprocess_launcher_new")
  (is-constructor-of "GSubprocessLauncher")
  (return-type "GSubprocessLauncher*")
  (parameters
    '("GSubprocessFlags" "flags")
  )
)

(define-function g_task_is_valid
  (c-name "g_task_is_valid")
  (return-type "gboolean")
  (parameters
    '("gpointer" "result")
    '("gpointer" "source_object")
  )
)

(define-function g_task_report_error
  (c-name "g_task_report_error")
  (return-type "none")
  (parameters
    '("gpointer" "source_object")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "callback_data")
    '("gpointer" "source_tag")
    '("GError*" "error")
  )
)

(define-function g_task_report_new_error
  (c-name "g_task_report_new_error")
  (return-type "none")
  (parameters
    '("gpointer" "source_object")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "callback_data")
    '("gpointer" "source_tag")
    '("GQuark" "domain")
    '("gint" "code")
    '("const-char*" "format")
  )
  (varargs #t)
)

(define-method attach_source
  (of-object "GTask")
  (c-name "g_task_attach_source")
  (return-type "none")
  (parameters
    '("GSource*" "source")
    '("GSourceFunc" "callback")
  )
)

(define-method get_cancellable
  (of-object "GTask")
  (c-name "g_task_get_cancellable")
  (return-type "GCancellable*")
)

(define-method get_check_cancellable
  (of-object "GTask")
  (c-name "g_task_get_check_cancellable")
  (return-type "gboolean")
)

(define-method get_completed
  (of-object "GTask")
  (c-name "g_task_get_completed")
  (return-type "gboolean")
)

(define-method get_context
  (of-object "GTask")
  (c-name "g_task_get_context")
  (return-type "GMainContext*")
)

(define-method get_name
  (of-object "GTask")
  (c-name "g_task_get_name")
  (return-type "const-gchar*")
)

(define-method get_priority
  (of-object "GTask")
  (c-name "g_task_get_priority")
  (return-type "gint")
)

(define-method get_return_on_cancel
  (of-object "GTask")
  (c-name "g_task_get_return_on_cancel")
  (return-type "gboolean")
)

(define-method get_source_object
  (of-object "GTask")
  (c-name "g_task_get_source_object")
  (return-type "gpointer")
)

(define-method get_source_tag
  (of-object "GTask")
  (c-name "g_task_get_source_tag")
  (return-type "gpointer")
)

(define-method get_task_data
  (of-object "GTask")
  (c-name "g_task_get_task_data")
  (return-type "gpointer")
)

(define-method had_error
  (of-object "GTask")
  (c-name "g_task_had_error")
  (return-type "gboolean")
)

(define-method propagate_boolean
  (of-object "GTask")
  (c-name "g_task_propagate_boolean")
  (return-type "gboolean")
  (parameters
    '("GError**" "error")
  )
)

(define-method propagate_int
  (of-object "GTask")
  (c-name "g_task_propagate_int")
  (return-type "gssize")
  (parameters
    '("GError**" "error")
  )
)

(define-method propagate_pointer
  (of-object "GTask")
  (c-name "g_task_propagate_pointer")
  (return-type "gpointer")
  (parameters
    '("GError**" "error")
  )
)

(define-method propagate_value
  (of-object "GTask")
  (c-name "g_task_propagate_value")
  (return-type "gboolean")
  (parameters
    '("GValue*" "value")
    '("GError**" "error")
  )
)

(define-method return_boolean
  (of-object "GTask")
  (c-name "g_task_return_boolean")
  (return-type "none")
  (parameters
    '("gboolean" "result")
  )
)

(define-method return_error
  (of-object "GTask")
  (c-name "g_task_return_error")
  (return-type "none")
  (parameters
    '("GError*" "error")
  )
)

(define-method return_error_if_cancelled
  (of-object "GTask")
  (c-name "g_task_return_error_if_cancelled")
  (return-type "gboolean")
)

(define-method return_int
  (of-object "GTask")
  (c-name "g_task_return_int")
  (return-type "none")
  (parameters
    '("gssize" "result")
  )
)

(define-method return_new_error
  (of-object "GTask")
  (c-name "g_task_return_new_error")
  (return-type "none")
  (parameters
    '("GQuark" "domain")
    '("gint" "code")
    '("const-char*" "format")
  )
  (varargs #t)
)

(define-method return_new_error_literal
  (of-object "GTask")
  (c-name "g_task_return_new_error_literal")
  (return-type "none")
  (parameters
    '("GQuark" "domain")
    '("gint" "code")
    '("const-char*" "message")
  )
)

(define-method return_pointer
  (of-object "GTask")
  (c-name "g_task_return_pointer")
  (return-type "none")
  (parameters
    '("gpointer" "result")
    '("GDestroyNotify" "result_destroy")
  )
)

(define-method return_prefixed_error
  (of-object "GTask")
  (c-name "g_task_return_prefixed_error")
  (return-type "none")
  (parameters
    '("GError*" "error")
    '("const-char*" "format")
  )
  (varargs #t)
)

(define-method return_value
  (of-object "GTask")
  (c-name "g_task_return_value")
  (return-type "none")
  (parameters
    '("GValue*" "result")
  )
)

(define-method run_in_thread
  (of-object "GTask")
  (c-name "g_task_run_in_thread")
  (return-type "none")
  (parameters
    '("GTaskThreadFunc" "task_func")
  )
)

(define-method run_in_thread_sync
  (of-object "GTask")
  (c-name "g_task_run_in_thread_sync")
  (return-type "none")
  (parameters
    '("GTaskThreadFunc" "task_func")
  )
)

(define-method set_check_cancellable
  (of-object "GTask")
  (c-name "g_task_set_check_cancellable")
  (return-type "none")
  (parameters
    '("gboolean" "check_cancellable")
  )
)

(define-method set_name
  (of-object "GTask")
  (c-name "g_task_set_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method set_priority
  (of-object "GTask")
  (c-name "g_task_set_priority")
  (return-type "none")
  (parameters
    '("gint" "priority")
  )
)

(define-method set_return_on_cancel
  (of-object "GTask")
  (c-name "g_task_set_return_on_cancel")
  (return-type "gboolean")
  (parameters
    '("gboolean" "return_on_cancel")
  )
)

(define-method set_source_tag
  (of-object "GTask")
  (c-name "g_task_set_source_tag")
  (return-type "none")
  (parameters
    '("gpointer" "source_tag")
  )
)

(define-method set_static_name
  (of-object "GTask")
  (c-name "g_task_set_static_name")
  (return-type "none")
  (parameters
    '("const-gchar*" "name")
  )
)

(define-method set_task_data
  (of-object "GTask")
  (c-name "g_task_set_task_data")
  (return-type "none")
  (parameters
    '("gpointer" "task_data")
    '("GDestroyNotify" "task_data_destroy")
  )
)

(define-function g_task_new
  (c-name "g_task_new")
  (is-constructor-of "GTask")
  (return-type "GTask*")
  (parameters
    '("gpointer" "source_object")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "callback_data")
  )
)

(define-method get_graceful_disconnect
  (of-object "GTcpConnection")
  (c-name "g_tcp_connection_get_graceful_disconnect")
  (return-type "gboolean")
)

(define-method set_graceful_disconnect
  (of-object "GTcpConnection")
  (c-name "g_tcp_connection_set_graceful_disconnect")
  (return-type "none")
  (parameters
    '("gboolean" "graceful_disconnect")
  )
)

(define-method get_base_io_stream
  (of-object "GTcpWrapperConnection")
  (c-name "g_tcp_wrapper_connection_get_base_io_stream")
  (return-type "GIOStream*")
)

(define-function g_tcp_wrapper_connection_new
  (c-name "g_tcp_wrapper_connection_new")
  (is-constructor-of "GTcpWrapperConnection")
  (return-type "GSocketConnection*")
  (parameters
    '("GIOStream*" "base_io_stream")
    '("GSocket*" "socket")
  )
)

(define-function g_test_dbus_unset
  (c-name "g_test_dbus_unset")
  (return-type "none")
)

(define-method add_service_dir
  (of-object "GTestDBus")
  (c-name "g_test_dbus_add_service_dir")
  (return-type "none")
  (parameters
    '("const-gchar*" "path")
  )
)

(define-method down
  (of-object "GTestDBus")
  (c-name "g_test_dbus_down")
  (return-type "none")
)

(define-method get_bus_address
  (of-object "GTestDBus")
  (c-name "g_test_dbus_get_bus_address")
  (return-type "const-gchar*")
)

(define-method get_flags
  (of-object "GTestDBus")
  (c-name "g_test_dbus_get_flags")
  (return-type "GTestDBusFlags")
)

(define-method stop
  (of-object "GTestDBus")
  (c-name "g_test_dbus_stop")
  (return-type "none")
)

(define-method up
  (of-object "GTestDBus")
  (c-name "g_test_dbus_up")
  (return-type "none")
)

(define-function g_test_dbus_new
  (c-name "g_test_dbus_new")
  (is-constructor-of "GTestDBus")
  (return-type "GTestDBus*")
  (parameters
    '("GTestDBusFlags" "flags")
  )
)

(define-method append_name
  (of-object "GThemedIcon")
  (c-name "g_themed_icon_append_name")
  (return-type "none")
  (parameters
    '("const-char*" "iconname")
  )
)

(define-method get_names
  (of-object "GThemedIcon")
  (c-name "g_themed_icon_get_names")
  (return-type "const-gchar*-const*")
)

(define-method prepend_name
  (of-object "GThemedIcon")
  (c-name "g_themed_icon_prepend_name")
  (return-type "none")
  (parameters
    '("const-char*" "iconname")
  )
)

(define-function g_themed_icon_new
  (c-name "g_themed_icon_new")
  (is-constructor-of "GThemedIcon")
  (return-type "GIcon*")
  (parameters
    '("const-char*" "iconname")
  )
)

(define-function g_themed_icon_new_from_names
  (c-name "g_themed_icon_new_from_names")
  (is-constructor-of "GThemedIcon")
  (return-type "GIcon*")
  (parameters
    '("char**" "iconnames")
    '("int" "len")
  )
)

(define-function g_themed_icon_new_with_default_fallbacks
  (c-name "g_themed_icon_new_with_default_fallbacks")
  (is-constructor-of "GThemedIcon")
  (return-type "GIcon*")
  (parameters
    '("const-char*" "iconname")
  )
)

(define-function g_threaded_socket_service_new
  (c-name "g_threaded_socket_service_new")
  (is-constructor-of "GThreadedSocketService")
  (return-type "GSocketService*")
  (parameters
    '("int" "max_threads")
  )
)

(define-function g_tls_certificate_list_new_from_file
  (c-name "g_tls_certificate_list_new_from_file")
  (return-type "GList*")
  (parameters
    '("const-gchar*" "file")
    '("GError**" "error")
  )
)

(define-method get_dns_names
  (of-object "GTlsCertificate")
  (c-name "g_tls_certificate_get_dns_names")
  (return-type "GPtrArray*")
)

(define-method get_ip_addresses
  (of-object "GTlsCertificate")
  (c-name "g_tls_certificate_get_ip_addresses")
  (return-type "GPtrArray*")
)

(define-method get_issuer
  (of-object "GTlsCertificate")
  (c-name "g_tls_certificate_get_issuer")
  (return-type "GTlsCertificate*")
)

(define-method get_issuer_name
  (of-object "GTlsCertificate")
  (c-name "g_tls_certificate_get_issuer_name")
  (return-type "gchar*")
)

(define-method get_not_valid_after
  (of-object "GTlsCertificate")
  (c-name "g_tls_certificate_get_not_valid_after")
  (return-type "GDateTime*")
)

(define-method get_not_valid_before
  (of-object "GTlsCertificate")
  (c-name "g_tls_certificate_get_not_valid_before")
  (return-type "GDateTime*")
)

(define-method get_subject_name
  (of-object "GTlsCertificate")
  (c-name "g_tls_certificate_get_subject_name")
  (return-type "gchar*")
)

(define-method is_same
  (of-object "GTlsCertificate")
  (c-name "g_tls_certificate_is_same")
  (return-type "gboolean")
  (parameters
    '("GTlsCertificate*" "cert_two")
  )
)

(define-method verify
  (of-object "GTlsCertificate")
  (c-name "g_tls_certificate_verify")
  (return-type "GTlsCertificateFlags")
  (parameters
    '("GSocketConnectable*" "identity")
    '("GTlsCertificate*" "trusted_ca")
  )
)

(define-function g_tls_certificate_new_from_file
  (c-name "g_tls_certificate_new_from_file")
  (is-constructor-of "GTlsCertificate")
  (return-type "GTlsCertificate*")
  (parameters
    '("const-gchar*" "file")
    '("GError**" "error")
  )
)

(define-function g_tls_certificate_new_from_file_with_password
  (c-name "g_tls_certificate_new_from_file_with_password")
  (is-constructor-of "GTlsCertificate")
  (return-type "GTlsCertificate*")
  (parameters
    '("const-gchar*" "file")
    '("const-gchar*" "password")
    '("GError**" "error")
  )
)

(define-function g_tls_certificate_new_from_files
  (c-name "g_tls_certificate_new_from_files")
  (is-constructor-of "GTlsCertificate")
  (return-type "GTlsCertificate*")
  (parameters
    '("const-gchar*" "cert_file")
    '("const-gchar*" "key_file")
    '("GError**" "error")
  )
)

(define-function g_tls_certificate_new_from_pem
  (c-name "g_tls_certificate_new_from_pem")
  (is-constructor-of "GTlsCertificate")
  (return-type "GTlsCertificate*")
  (parameters
    '("const-gchar*" "data")
    '("gssize" "length")
    '("GError**" "error")
  )
)

(define-function g_tls_certificate_new_from_pkcs11_uris
  (c-name "g_tls_certificate_new_from_pkcs11_uris")
  (is-constructor-of "GTlsCertificate")
  (return-type "GTlsCertificate*")
  (parameters
    '("const-gchar*" "pkcs11_uri")
    '("const-gchar*" "private_key_pkcs11_uri")
    '("GError**" "error")
  )
)

(define-function g_tls_certificate_new_from_pkcs12
  (c-name "g_tls_certificate_new_from_pkcs12")
  (is-constructor-of "GTlsCertificate")
  (return-type "GTlsCertificate*")
  (parameters
    '("const-guint8*" "data")
    '("gsize" "length")
    '("const-gchar*" "password")
    '("GError**" "error")
  )
)

(define-method emit_accept_certificate
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_emit_accept_certificate")
  (return-type "gboolean")
  (parameters
    '("GTlsCertificate*" "peer_cert")
    '("GTlsCertificateFlags" "errors")
  )
)

(define-method get_certificate
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_get_certificate")
  (return-type "GTlsCertificate*")
)

(define-method get_channel_binding_data
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_get_channel_binding_data")
  (return-type "gboolean")
  (parameters
    '("GTlsChannelBindingType" "type")
    '("GByteArray*" "data")
    '("GError**" "error")
  )
)

(define-method get_ciphersuite_name
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_get_ciphersuite_name")
  (return-type "gchar*")
)

(define-method get_database
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_get_database")
  (return-type "GTlsDatabase*")
)

(define-method get_interaction
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_get_interaction")
  (return-type "GTlsInteraction*")
)

(define-method get_negotiated_protocol
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_get_negotiated_protocol")
  (return-type "const-gchar*")
)

(define-method get_peer_certificate
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_get_peer_certificate")
  (return-type "GTlsCertificate*")
)

(define-method get_peer_certificate_errors
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_get_peer_certificate_errors")
  (return-type "GTlsCertificateFlags")
)

(define-method get_protocol_version
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_get_protocol_version")
  (return-type "GTlsProtocolVersion")
)

(define-method get_rehandshake_mode
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_get_rehandshake_mode")
  (return-type "GTlsRehandshakeMode")
)

(define-method get_require_close_notify
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_get_require_close_notify")
  (return-type "gboolean")
)

(define-method get_use_system_certdb
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_get_use_system_certdb")
  (return-type "gboolean")
)

(define-method handshake
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_handshake")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method handshake_async
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_handshake_async")
  (return-type "none")
  (parameters
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method handshake_finish
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_handshake_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method set_advertised_protocols
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_set_advertised_protocols")
  (return-type "none")
  (parameters
    '("const-gchar*-const*" "protocols")
  )
)

(define-method set_certificate
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_set_certificate")
  (return-type "none")
  (parameters
    '("GTlsCertificate*" "certificate")
  )
)

(define-method set_database
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_set_database")
  (return-type "none")
  (parameters
    '("GTlsDatabase*" "database")
  )
)

(define-method set_interaction
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_set_interaction")
  (return-type "none")
  (parameters
    '("GTlsInteraction*" "interaction")
  )
)

(define-method set_rehandshake_mode
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_set_rehandshake_mode")
  (return-type "none")
  (parameters
    '("GTlsRehandshakeMode" "mode")
  )
)

(define-method set_require_close_notify
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_set_require_close_notify")
  (return-type "none")
  (parameters
    '("gboolean" "require_close_notify")
  )
)

(define-method set_use_system_certdb
  (of-object "GTlsConnection")
  (c-name "g_tls_connection_set_use_system_certdb")
  (return-type "none")
  (parameters
    '("gboolean" "use_system_certdb")
  )
)

(define-method create_certificate_handle
  (of-object "GTlsDatabase")
  (c-name "g_tls_database_create_certificate_handle")
  (return-type "gchar*")
  (parameters
    '("GTlsCertificate*" "certificate")
  )
)

(define-method lookup_certificate_for_handle
  (of-object "GTlsDatabase")
  (c-name "g_tls_database_lookup_certificate_for_handle")
  (return-type "GTlsCertificate*")
  (parameters
    '("const-gchar*" "handle")
    '("GTlsInteraction*" "interaction")
    '("GTlsDatabaseLookupFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method lookup_certificate_for_handle_async
  (of-object "GTlsDatabase")
  (c-name "g_tls_database_lookup_certificate_for_handle_async")
  (return-type "none")
  (parameters
    '("const-gchar*" "handle")
    '("GTlsInteraction*" "interaction")
    '("GTlsDatabaseLookupFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method lookup_certificate_for_handle_finish
  (of-object "GTlsDatabase")
  (c-name "g_tls_database_lookup_certificate_for_handle_finish")
  (return-type "GTlsCertificate*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method lookup_certificate_issuer
  (of-object "GTlsDatabase")
  (c-name "g_tls_database_lookup_certificate_issuer")
  (return-type "GTlsCertificate*")
  (parameters
    '("GTlsCertificate*" "certificate")
    '("GTlsInteraction*" "interaction")
    '("GTlsDatabaseLookupFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method lookup_certificate_issuer_async
  (of-object "GTlsDatabase")
  (c-name "g_tls_database_lookup_certificate_issuer_async")
  (return-type "none")
  (parameters
    '("GTlsCertificate*" "certificate")
    '("GTlsInteraction*" "interaction")
    '("GTlsDatabaseLookupFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method lookup_certificate_issuer_finish
  (of-object "GTlsDatabase")
  (c-name "g_tls_database_lookup_certificate_issuer_finish")
  (return-type "GTlsCertificate*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method lookup_certificates_issued_by
  (of-object "GTlsDatabase")
  (c-name "g_tls_database_lookup_certificates_issued_by")
  (return-type "GList*")
  (parameters
    '("GByteArray*" "issuer_raw_dn")
    '("GTlsInteraction*" "interaction")
    '("GTlsDatabaseLookupFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method lookup_certificates_issued_by_async
  (of-object "GTlsDatabase")
  (c-name "g_tls_database_lookup_certificates_issued_by_async")
  (return-type "none")
  (parameters
    '("GByteArray*" "issuer_raw_dn")
    '("GTlsInteraction*" "interaction")
    '("GTlsDatabaseLookupFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method lookup_certificates_issued_by_finish
  (of-object "GTlsDatabase")
  (c-name "g_tls_database_lookup_certificates_issued_by_finish")
  (return-type "GList*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method verify_chain
  (of-object "GTlsDatabase")
  (c-name "g_tls_database_verify_chain")
  (return-type "GTlsCertificateFlags")
  (parameters
    '("GTlsCertificate*" "chain")
    '("const-gchar*" "purpose")
    '("GSocketConnectable*" "identity")
    '("GTlsInteraction*" "interaction")
    '("GTlsDatabaseVerifyFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method verify_chain_async
  (of-object "GTlsDatabase")
  (c-name "g_tls_database_verify_chain_async")
  (return-type "none")
  (parameters
    '("GTlsCertificate*" "chain")
    '("const-gchar*" "purpose")
    '("GSocketConnectable*" "identity")
    '("GTlsInteraction*" "interaction")
    '("GTlsDatabaseVerifyFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method verify_chain_finish
  (of-object "GTlsDatabase")
  (c-name "g_tls_database_verify_chain_finish")
  (return-type "GTlsCertificateFlags")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method ask_password
  (of-object "GTlsInteraction")
  (c-name "g_tls_interaction_ask_password")
  (return-type "GTlsInteractionResult")
  (parameters
    '("GTlsPassword*" "password")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method ask_password_async
  (of-object "GTlsInteraction")
  (c-name "g_tls_interaction_ask_password_async")
  (return-type "none")
  (parameters
    '("GTlsPassword*" "password")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method ask_password_finish
  (of-object "GTlsInteraction")
  (c-name "g_tls_interaction_ask_password_finish")
  (return-type "GTlsInteractionResult")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method invoke_ask_password
  (of-object "GTlsInteraction")
  (c-name "g_tls_interaction_invoke_ask_password")
  (return-type "GTlsInteractionResult")
  (parameters
    '("GTlsPassword*" "password")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method invoke_request_certificate
  (of-object "GTlsInteraction")
  (c-name "g_tls_interaction_invoke_request_certificate")
  (return-type "GTlsInteractionResult")
  (parameters
    '("GTlsConnection*" "connection")
    '("GTlsCertificateRequestFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method request_certificate
  (of-object "GTlsInteraction")
  (c-name "g_tls_interaction_request_certificate")
  (return-type "GTlsInteractionResult")
  (parameters
    '("GTlsConnection*" "connection")
    '("GTlsCertificateRequestFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method request_certificate_async
  (of-object "GTlsInteraction")
  (c-name "g_tls_interaction_request_certificate_async")
  (return-type "none")
  (parameters
    '("GTlsConnection*" "connection")
    '("GTlsCertificateRequestFlags" "flags")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method request_certificate_finish
  (of-object "GTlsInteraction")
  (c-name "g_tls_interaction_request_certificate_finish")
  (return-type "GTlsInteractionResult")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method get_description
  (of-object "GTlsPassword")
  (c-name "g_tls_password_get_description")
  (return-type "const-gchar*")
)

(define-method get_flags
  (of-object "GTlsPassword")
  (c-name "g_tls_password_get_flags")
  (return-type "GTlsPasswordFlags")
)

(define-method get_value
  (of-object "GTlsPassword")
  (c-name "g_tls_password_get_value")
  (return-type "const-guchar*")
  (parameters
    '("gsize*" "length")
  )
)

(define-method get_warning
  (of-object "GTlsPassword")
  (c-name "g_tls_password_get_warning")
  (return-type "const-gchar*")
)

(define-method set_description
  (of-object "GTlsPassword")
  (c-name "g_tls_password_set_description")
  (return-type "none")
  (parameters
    '("const-gchar*" "description")
  )
)

(define-method set_flags
  (of-object "GTlsPassword")
  (c-name "g_tls_password_set_flags")
  (return-type "none")
  (parameters
    '("GTlsPasswordFlags" "flags")
  )
)

(define-method set_value
  (of-object "GTlsPassword")
  (c-name "g_tls_password_set_value")
  (return-type "none")
  (parameters
    '("const-guchar*" "value")
    '("gssize" "length")
  )
)

(define-method set_value_full
  (of-object "GTlsPassword")
  (c-name "g_tls_password_set_value_full")
  (return-type "none")
  (parameters
    '("guchar*" "value")
    '("gssize" "length")
    '("GDestroyNotify" "destroy")
  )
)

(define-method set_warning
  (of-object "GTlsPassword")
  (c-name "g_tls_password_set_warning")
  (return-type "none")
  (parameters
    '("const-gchar*" "warning")
  )
)

(define-function g_tls_password_new
  (c-name "g_tls_password_new")
  (is-constructor-of "GTlsPassword")
  (return-type "GTlsPassword*")
  (parameters
    '("GTlsPasswordFlags" "flags")
    '("const-gchar*" "description")
  )
)

(define-method receive_credentials
  (of-object "GUnixConnection")
  (c-name "g_unix_connection_receive_credentials")
  (return-type "GCredentials*")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method receive_credentials_async
  (of-object "GUnixConnection")
  (c-name "g_unix_connection_receive_credentials_async")
  (return-type "none")
  (parameters
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method receive_credentials_finish
  (of-object "GUnixConnection")
  (c-name "g_unix_connection_receive_credentials_finish")
  (return-type "GCredentials*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method receive_fd
  (of-object "GUnixConnection")
  (c-name "g_unix_connection_receive_fd")
  (return-type "gint")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method send_credentials
  (of-object "GUnixConnection")
  (c-name "g_unix_connection_send_credentials")
  (return-type "gboolean")
  (parameters
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-method send_credentials_async
  (of-object "GUnixConnection")
  (c-name "g_unix_connection_send_credentials_async")
  (return-type "none")
  (parameters
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method send_credentials_finish
  (of-object "GUnixConnection")
  (c-name "g_unix_connection_send_credentials_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method send_fd
  (of-object "GUnixConnection")
  (c-name "g_unix_connection_send_fd")
  (return-type "gboolean")
  (parameters
    '("gint" "fd")
    '("GCancellable*" "cancellable")
    '("GError**" "error")
  )
)

(define-function g_unix_credentials_message_is_supported
  (c-name "g_unix_credentials_message_is_supported")
  (return-type "gboolean")
)

(define-method get_credentials
  (of-object "GUnixCredentialsMessage")
  (c-name "g_unix_credentials_message_get_credentials")
  (return-type "GCredentials*")
)

(define-function g_unix_credentials_message_new
  (c-name "g_unix_credentials_message_new")
  (is-constructor-of "GUnixCredentialsMessage")
  (return-type "GSocketControlMessage*")
)

(define-function g_unix_credentials_message_new_with_credentials
  (c-name "g_unix_credentials_message_new_with_credentials")
  (is-constructor-of "GUnixCredentialsMessage")
  (return-type "GSocketControlMessage*")
  (parameters
    '("GCredentials*" "credentials")
  )
)

(define-method append
  (of-object "GUnixFDList")
  (c-name "g_unix_fd_list_append")
  (return-type "gint")
  (parameters
    '("gint" "fd")
    '("GError**" "error")
  )
)

(define-method get
  (of-object "GUnixFDList")
  (c-name "g_unix_fd_list_get")
  (return-type "gint")
  (parameters
    '("gint" "index_")
    '("GError**" "error")
  )
)

(define-method get_length
  (of-object "GUnixFDList")
  (c-name "g_unix_fd_list_get_length")
  (return-type "gint")
)

(define-method peek_fds
  (of-object "GUnixFDList")
  (c-name "g_unix_fd_list_peek_fds")
  (return-type "const-gint*")
  (parameters
    '("gint*" "length")
  )
)

(define-method steal_fds
  (of-object "GUnixFDList")
  (c-name "g_unix_fd_list_steal_fds")
  (return-type "gint*")
  (parameters
    '("gint*" "length")
  )
)

(define-function g_unix_fd_list_new
  (c-name "g_unix_fd_list_new")
  (is-constructor-of "GUnixFDList")
  (return-type "GUnixFDList*")
)

(define-function g_unix_fd_list_new_from_array
  (c-name "g_unix_fd_list_new_from_array")
  (is-constructor-of "GUnixFDList")
  (return-type "GUnixFDList*")
  (parameters
    '("const-gint*" "fds")
    '("gint" "n_fds")
  )
)

(define-function g_unix_socket_address_abstract_names_supported
  (c-name "g_unix_socket_address_abstract_names_supported")
  (return-type "gboolean")
)

(define-method get_address_type
  (of-object "GUnixSocketAddress")
  (c-name "g_unix_socket_address_get_address_type")
  (return-type "GUnixSocketAddressType")
)

(define-method get_is_abstract
  (of-object "GUnixSocketAddress")
  (c-name "g_unix_socket_address_get_is_abstract")
  (return-type "gboolean")
)

(define-method get_path
  (of-object "GUnixSocketAddress")
  (c-name "g_unix_socket_address_get_path")
  (return-type "const-char*")
)

(define-method get_path_len
  (of-object "GUnixSocketAddress")
  (c-name "g_unix_socket_address_get_path_len")
  (return-type "gsize")
)

(define-function g_unix_socket_address_new
  (c-name "g_unix_socket_address_new")
  (is-constructor-of "GUnixSocketAddress")
  (return-type "GSocketAddress*")
  (parameters
    '("const-gchar*" "path")
  )
)

(define-function g_unix_socket_address_new_abstract
  (c-name "g_unix_socket_address_new_abstract")
  (is-constructor-of "GUnixSocketAddress")
  (return-type "GSocketAddress*")
  (parameters
    '("const-gchar*" "path")
    '("gint" "path_len")
  )
)

(define-function g_unix_socket_address_new_with_type
  (c-name "g_unix_socket_address_new_with_type")
  (is-constructor-of "GUnixSocketAddress")
  (return-type "GSocketAddress*")
  (parameters
    '("const-gchar*" "path")
    '("gint" "path_len")
    '("GUnixSocketAddressType" "type")
  )
)

(define-function g_vfs_get_default
  (c-name "g_vfs_get_default")
  (return-type "GVfs*")
)

(define-function g_vfs_get_local
  (c-name "g_vfs_get_local")
  (return-type "GVfs*")
)

(define-method get_file_for_path
  (of-object "GVfs")
  (c-name "g_vfs_get_file_for_path")
  (return-type "GFile*")
  (parameters
    '("const-char*" "path")
  )
)

(define-method get_file_for_uri
  (of-object "GVfs")
  (c-name "g_vfs_get_file_for_uri")
  (return-type "GFile*")
  (parameters
    '("const-char*" "uri")
  )
)

(define-method get_supported_uri_schemes
  (of-object "GVfs")
  (c-name "g_vfs_get_supported_uri_schemes")
  (return-type "const-gchar*-const*")
)

(define-method is_active
  (of-object "GVfs")
  (c-name "g_vfs_is_active")
  (return-type "gboolean")
)

(define-method parse_name
  (of-object "GVfs")
  (c-name "g_vfs_parse_name")
  (return-type "GFile*")
  (parameters
    '("const-char*" "parse_name")
  )
)

(define-method register_uri_scheme
  (of-object "GVfs")
  (c-name "g_vfs_register_uri_scheme")
  (return-type "gboolean")
  (parameters
    '("const-char*" "scheme")
    '("GVfsFileLookupFunc" "uri_func")
    '("gpointer" "uri_data")
    '("GDestroyNotify" "uri_destroy")
    '("GVfsFileLookupFunc" "parse_name_func")
    '("gpointer" "parse_name_data")
    '("GDestroyNotify" "parse_name_destroy")
  )
)

(define-method unregister_uri_scheme
  (of-object "GVfs")
  (c-name "g_vfs_unregister_uri_scheme")
  (return-type "gboolean")
  (parameters
    '("const-char*" "scheme")
  )
)

(define-function g_volume_monitor_adopt_orphan_mount
  (c-name "g_volume_monitor_adopt_orphan_mount")
  (return-type "GVolume*")
  (parameters
    '("GMount*" "mount")
  )
)

(define-function g_volume_monitor_get
  (c-name "g_volume_monitor_get")
  (return-type "GVolumeMonitor*")
)

(define-method get_connected_drives
  (of-object "GVolumeMonitor")
  (c-name "g_volume_monitor_get_connected_drives")
  (return-type "GList*")
)

(define-method get_mount_for_uuid
  (of-object "GVolumeMonitor")
  (c-name "g_volume_monitor_get_mount_for_uuid")
  (return-type "GMount*")
  (parameters
    '("const-char*" "uuid")
  )
)

(define-method get_mounts
  (of-object "GVolumeMonitor")
  (c-name "g_volume_monitor_get_mounts")
  (return-type "GList*")
)

(define-method get_volume_for_uuid
  (of-object "GVolumeMonitor")
  (c-name "g_volume_monitor_get_volume_for_uuid")
  (return-type "GVolume*")
  (parameters
    '("const-char*" "uuid")
  )
)

(define-method get_volumes
  (of-object "GVolumeMonitor")
  (c-name "g_volume_monitor_get_volumes")
  (return-type "GList*")
)

(define-method get_file_info
  (of-object "GZlibCompressor")
  (c-name "g_zlib_compressor_get_file_info")
  (return-type "GFileInfo*")
)

(define-method get_os
  (of-object "GZlibCompressor")
  (c-name "g_zlib_compressor_get_os")
  (return-type "int")
)

(define-method set_file_info
  (of-object "GZlibCompressor")
  (c-name "g_zlib_compressor_set_file_info")
  (return-type "none")
  (parameters
    '("GFileInfo*" "file_info")
  )
)

(define-method set_os
  (of-object "GZlibCompressor")
  (c-name "g_zlib_compressor_set_os")
  (return-type "none")
  (parameters
    '("int" "os")
  )
)

(define-function g_zlib_compressor_new
  (c-name "g_zlib_compressor_new")
  (is-constructor-of "GZlibCompressor")
  (return-type "GZlibCompressor*")
  (parameters
    '("GZlibCompressorFormat" "format")
    '("int" "level")
  )
)

(define-method get_file_info
  (of-object "GZlibDecompressor")
  (c-name "g_zlib_decompressor_get_file_info")
  (return-type "GFileInfo*")
)

(define-function g_zlib_decompressor_new
  (c-name "g_zlib_decompressor_new")
  (is-constructor-of "GZlibDecompressor")
  (return-type "GZlibDecompressor*")
  (parameters
    '("GZlibCompressorFormat" "format")
  )
)


;; Objects for namespace GioUnix

(define-object DesktopAppInfoClass
  (in-module "GioUnix")
  (c-name "GDesktopAppInfoClass")
  (gtype-id "G_TYPE_DESKTOP_APP_INFO_CLASS")
)

(define-object DesktopAppInfoLookupIface
  (in-module "GioUnix")
  (c-name "GDesktopAppInfoLookupIface")
  (gtype-id "G_TYPE_DESKTOP_APP_INFO_LOOKUP_IFACE")
)

(define-object FDMessageClass
  (in-module "GioUnix")
  (c-name "GUnixFDMessageClass")
  (gtype-id "GUNIX_TYPE_FD_MESSAGE_CLASS")
)

(define-object FDMessagePrivate
  (in-module "GioUnix")
  (c-name "GUnixFDMessagePrivate")
  (gtype-id "GUNIX_TYPE_FD_MESSAGE_PRIVATE")
)

(define-object FileDescriptorBasedIface
  (in-module "GioUnix")
  (c-name "GFileDescriptorBasedIface")
  (gtype-id "G_TYPE_FILE_DESCRIPTOR_BASED_IFACE")
)

(define-object InputStreamClass
  (in-module "GioUnix")
  (c-name "GUnixInputStreamClass")
  (gtype-id "GUNIX_TYPE_INPUT_STREAM_CLASS")
)

(define-object InputStreamPrivate
  (in-module "GioUnix")
  (c-name "GUnixInputStreamPrivate")
  (gtype-id "GUNIX_TYPE_INPUT_STREAM_PRIVATE")
)

(define-object MountEntry
  (in-module "GioUnix")
  (c-name "GUnixMountEntry")
  (gtype-id "GUNIX_TYPE_MOUNT_ENTRY")
)

(define-object MountMonitorClass
  (in-module "GioUnix")
  (c-name "GUnixMountMonitorClass")
  (gtype-id "GUNIX_TYPE_MOUNT_MONITOR_CLASS")
)

(define-object MountPoint
  (in-module "GioUnix")
  (c-name "GUnixMountPoint")
  (gtype-id "GUNIX_TYPE_MOUNT_POINT")
)

(define-object OutputStreamClass
  (in-module "GioUnix")
  (c-name "GUnixOutputStreamClass")
  (gtype-id "GUNIX_TYPE_OUTPUT_STREAM_CLASS")
)

(define-object OutputStreamPrivate
  (in-module "GioUnix")
  (c-name "GUnixOutputStreamPrivate")
  (gtype-id "GUNIX_TYPE_OUTPUT_STREAM_PRIVATE")
)

(define-object DesktopAppInfoLookup
  (in-module "GioUnix")
  (c-name "GDesktopAppInfoLookup")
  (gtype-id "G_TYPE_DESKTOP_APP_INFO_LOOKUP")
)

(define-object FileDescriptorBased
  (in-module "GioUnix")
  (c-name "GFileDescriptorBased")
  (gtype-id "G_TYPE_FILE_DESCRIPTOR_BASED")
)

(define-object DesktopAppInfo
  (in-module "GioUnix")
  (c-name "GDesktopAppInfo")
  (gtype-id "G_TYPE_DESKTOP_APP_INFO")
)

(define-object FDMessage
  (in-module "GioUnix")
  (c-name "GUnixFDMessage")
  (gtype-id "GUNIX_TYPE_FD_MESSAGE")
)

(define-object InputStream
  (in-module "GioUnix")
  (c-name "GUnixInputStream")
  (gtype-id "GUNIX_TYPE_INPUT_STREAM")
)

(define-object MountMonitor
  (in-module "GioUnix")
  (c-name "GUnixMountMonitor")
  (gtype-id "GUNIX_TYPE_MOUNT_MONITOR")
)

(define-object OutputStream
  (in-module "GioUnix")
  (c-name "GUnixOutputStream")
  (gtype-id "GUNIX_TYPE_OUTPUT_STREAM")
)


;; Functions for namespace GioUnix

(define-function g_unix_is_mount_path_system_internal
  (c-name "g_unix_is_mount_path_system_internal")
  (return-type "gboolean")
  (parameters
    '("const-char*" "mount_path")
  )
)

(define-function g_unix_is_system_device_path
  (c-name "g_unix_is_system_device_path")
  (return-type "gboolean")
  (parameters
    '("const-char*" "device_path")
  )
)

(define-function g_unix_is_system_fs_type
  (c-name "g_unix_is_system_fs_type")
  (return-type "gboolean")
  (parameters
    '("const-char*" "fs_type")
  )
)

(define-function g_unix_mount_at
  (c-name "g_unix_mount_at")
  (return-type "GUnixMountEntry*")
  (parameters
    '("const-char*" "mount_path")
    '("guint64*" "time_read")
  )
)

(define-function g_unix_mount_compare
  (c-name "g_unix_mount_compare")
  (return-type "gint")
  (parameters
    '("GUnixMountEntry*" "mount1")
    '("GUnixMountEntry*" "mount2")
  )
)

(define-function g_unix_mount_copy
  (c-name "g_unix_mount_copy")
  (return-type "GUnixMountEntry*")
  (parameters
    '("GUnixMountEntry*" "mount_entry")
  )
)

(define-function g_unix_mount_entries_changed_since
  (c-name "g_unix_mount_entries_changed_since")
  (return-type "gboolean")
  (parameters
    '("guint64" "time")
  )
)

(define-function g_unix_mount_entries_get
  (c-name "g_unix_mount_entries_get")
  (return-type "GList*")
  (parameters
    '("guint64*" "time_read")
  )
)

(define-function g_unix_mount_entries_get_from_file
  (c-name "g_unix_mount_entries_get_from_file")
  (return-type "GUnixMountEntry**")
  (parameters
    '("const-char*" "table_path")
    '("uint64_t*" "time_read_out")
    '("size_t*" "n_entries_out")
  )
)

(define-function g_unix_mount_entry_at
  (c-name "g_unix_mount_entry_at")
  (return-type "GUnixMountEntry*")
  (parameters
    '("const-char*" "mount_path")
    '("guint64*" "time_read")
  )
)

(define-function g_unix_mount_entry_for
  (c-name "g_unix_mount_entry_for")
  (return-type "GUnixMountEntry*")
  (parameters
    '("const-char*" "file_path")
    '("guint64*" "time_read")
  )
)

(define-function g_unix_mount_for
  (c-name "g_unix_mount_for")
  (return-type "GUnixMountEntry*")
  (parameters
    '("const-char*" "file_path")
    '("guint64*" "time_read")
  )
)

(define-function g_unix_mount_free
  (c-name "g_unix_mount_free")
  (return-type "none")
  (parameters
    '("GUnixMountEntry*" "mount_entry")
  )
)

(define-function g_unix_mount_get_device_path
  (c-name "g_unix_mount_get_device_path")
  (return-type "const-char*")
  (parameters
    '("GUnixMountEntry*" "mount_entry")
  )
)

(define-function g_unix_mount_get_fs_type
  (c-name "g_unix_mount_get_fs_type")
  (return-type "const-char*")
  (parameters
    '("GUnixMountEntry*" "mount_entry")
  )
)

(define-function g_unix_mount_get_mount_path
  (c-name "g_unix_mount_get_mount_path")
  (return-type "const-char*")
  (parameters
    '("GUnixMountEntry*" "mount_entry")
  )
)

(define-function g_unix_mount_get_options
  (c-name "g_unix_mount_get_options")
  (return-type "const-char*")
  (parameters
    '("GUnixMountEntry*" "mount_entry")
  )
)

(define-function g_unix_mount_get_root_path
  (c-name "g_unix_mount_get_root_path")
  (return-type "const-char*")
  (parameters
    '("GUnixMountEntry*" "mount_entry")
  )
)

(define-function g_unix_mount_guess_can_eject
  (c-name "g_unix_mount_guess_can_eject")
  (return-type "gboolean")
  (parameters
    '("GUnixMountEntry*" "mount_entry")
  )
)

(define-function g_unix_mount_guess_icon
  (c-name "g_unix_mount_guess_icon")
  (return-type "GIcon*")
  (parameters
    '("GUnixMountEntry*" "mount_entry")
  )
)

(define-function g_unix_mount_guess_name
  (c-name "g_unix_mount_guess_name")
  (return-type "char*")
  (parameters
    '("GUnixMountEntry*" "mount_entry")
  )
)

(define-function g_unix_mount_guess_should_display
  (c-name "g_unix_mount_guess_should_display")
  (return-type "gboolean")
  (parameters
    '("GUnixMountEntry*" "mount_entry")
  )
)

(define-function g_unix_mount_guess_symbolic_icon
  (c-name "g_unix_mount_guess_symbolic_icon")
  (return-type "GIcon*")
  (parameters
    '("GUnixMountEntry*" "mount_entry")
  )
)

(define-function g_unix_mount_is_readonly
  (c-name "g_unix_mount_is_readonly")
  (return-type "gboolean")
  (parameters
    '("GUnixMountEntry*" "mount_entry")
  )
)

(define-function g_unix_mount_is_system_internal
  (c-name "g_unix_mount_is_system_internal")
  (return-type "gboolean")
  (parameters
    '("GUnixMountEntry*" "mount_entry")
  )
)

(define-function g_unix_mount_point_at
  (c-name "g_unix_mount_point_at")
  (return-type "GUnixMountPoint*")
  (parameters
    '("const-char*" "mount_path")
    '("guint64*" "time_read")
  )
)

(define-function g_unix_mount_points_changed_since
  (c-name "g_unix_mount_points_changed_since")
  (return-type "gboolean")
  (parameters
    '("guint64" "time")
  )
)

(define-function g_unix_mount_points_get
  (c-name "g_unix_mount_points_get")
  (return-type "GList*")
  (parameters
    '("guint64*" "time_read")
  )
)

(define-function g_unix_mount_points_get_from_file
  (c-name "g_unix_mount_points_get_from_file")
  (return-type "GUnixMountPoint**")
  (parameters
    '("const-char*" "table_path")
    '("uint64_t*" "time_read_out")
    '("size_t*" "n_points_out")
  )
)

(define-function g_unix_mounts_changed_since
  (c-name "g_unix_mounts_changed_since")
  (return-type "gboolean")
  (parameters
    '("guint64" "time")
  )
)

(define-function g_unix_mounts_get
  (c-name "g_unix_mounts_get")
  (return-type "GList*")
  (parameters
    '("guint64*" "time_read")
  )
)

(define-function g_unix_mounts_get_from_file
  (c-name "g_unix_mounts_get_from_file")
  (return-type "GUnixMountEntry**")
  (parameters
    '("const-char*" "table_path")
    '("uint64_t*" "time_read_out")
    '("size_t*" "n_entries_out")
  )
)

(define-function g_unix_mount_entry_at
  (c-name "g_unix_mount_entry_at")
  (return-type "GUnixMountEntry*")
  (parameters
    '("const-char*" "mount_path")
    '("guint64*" "time_read")
  )
)

(define-function g_unix_mount_entry_for
  (c-name "g_unix_mount_entry_for")
  (return-type "GUnixMountEntry*")
  (parameters
    '("const-char*" "file_path")
    '("guint64*" "time_read")
  )
)

(define-method compare
  (of-object "GUnixMountEntry")
  (c-name "g_unix_mount_entry_compare")
  (return-type "gint")
  (parameters
    '("GUnixMountEntry*" "mount2")
  )
)

(define-method copy
  (of-object "GUnixMountEntry")
  (c-name "g_unix_mount_entry_copy")
  (return-type "GUnixMountEntry*")
)

(define-method free
  (of-object "GUnixMountEntry")
  (c-name "g_unix_mount_entry_free")
  (return-type "none")
)

(define-method get_device_path
  (of-object "GUnixMountEntry")
  (c-name "g_unix_mount_entry_get_device_path")
  (return-type "const-char*")
)

(define-method get_fs_type
  (of-object "GUnixMountEntry")
  (c-name "g_unix_mount_entry_get_fs_type")
  (return-type "const-char*")
)

(define-method get_mount_path
  (of-object "GUnixMountEntry")
  (c-name "g_unix_mount_entry_get_mount_path")
  (return-type "const-char*")
)

(define-method get_options
  (of-object "GUnixMountEntry")
  (c-name "g_unix_mount_entry_get_options")
  (return-type "const-char*")
)

(define-method get_root_path
  (of-object "GUnixMountEntry")
  (c-name "g_unix_mount_entry_get_root_path")
  (return-type "const-char*")
)

(define-method guess_can_eject
  (of-object "GUnixMountEntry")
  (c-name "g_unix_mount_entry_guess_can_eject")
  (return-type "gboolean")
)

(define-method guess_icon
  (of-object "GUnixMountEntry")
  (c-name "g_unix_mount_entry_guess_icon")
  (return-type "GIcon*")
)

(define-method guess_name
  (of-object "GUnixMountEntry")
  (c-name "g_unix_mount_entry_guess_name")
  (return-type "char*")
)

(define-method guess_should_display
  (of-object "GUnixMountEntry")
  (c-name "g_unix_mount_entry_guess_should_display")
  (return-type "gboolean")
)

(define-method guess_symbolic_icon
  (of-object "GUnixMountEntry")
  (c-name "g_unix_mount_entry_guess_symbolic_icon")
  (return-type "GIcon*")
)

(define-method is_readonly
  (of-object "GUnixMountEntry")
  (c-name "g_unix_mount_entry_is_readonly")
  (return-type "gboolean")
)

(define-method is_system_internal
  (of-object "GUnixMountEntry")
  (c-name "g_unix_mount_entry_is_system_internal")
  (return-type "gboolean")
)

(define-function g_unix_mount_point_at
  (c-name "g_unix_mount_point_at")
  (return-type "GUnixMountPoint*")
  (parameters
    '("const-char*" "mount_path")
    '("guint64*" "time_read")
  )
)

(define-method compare
  (of-object "GUnixMountPoint")
  (c-name "g_unix_mount_point_compare")
  (return-type "gint")
  (parameters
    '("GUnixMountPoint*" "mount2")
  )
)

(define-method copy
  (of-object "GUnixMountPoint")
  (c-name "g_unix_mount_point_copy")
  (return-type "GUnixMountPoint*")
)

(define-method free
  (of-object "GUnixMountPoint")
  (c-name "g_unix_mount_point_free")
  (return-type "none")
)

(define-method get_device_path
  (of-object "GUnixMountPoint")
  (c-name "g_unix_mount_point_get_device_path")
  (return-type "const-char*")
)

(define-method get_fs_type
  (of-object "GUnixMountPoint")
  (c-name "g_unix_mount_point_get_fs_type")
  (return-type "const-char*")
)

(define-method get_mount_path
  (of-object "GUnixMountPoint")
  (c-name "g_unix_mount_point_get_mount_path")
  (return-type "const-char*")
)

(define-method get_options
  (of-object "GUnixMountPoint")
  (c-name "g_unix_mount_point_get_options")
  (return-type "const-char*")
)

(define-method guess_can_eject
  (of-object "GUnixMountPoint")
  (c-name "g_unix_mount_point_guess_can_eject")
  (return-type "gboolean")
)

(define-method guess_icon
  (of-object "GUnixMountPoint")
  (c-name "g_unix_mount_point_guess_icon")
  (return-type "GIcon*")
)

(define-method guess_name
  (of-object "GUnixMountPoint")
  (c-name "g_unix_mount_point_guess_name")
  (return-type "char*")
)

(define-method guess_symbolic_icon
  (of-object "GUnixMountPoint")
  (c-name "g_unix_mount_point_guess_symbolic_icon")
  (return-type "GIcon*")
)

(define-method is_loopback
  (of-object "GUnixMountPoint")
  (c-name "g_unix_mount_point_is_loopback")
  (return-type "gboolean")
)

(define-method is_readonly
  (of-object "GUnixMountPoint")
  (c-name "g_unix_mount_point_is_readonly")
  (return-type "gboolean")
)

(define-method is_user_mountable
  (of-object "GUnixMountPoint")
  (c-name "g_unix_mount_point_is_user_mountable")
  (return-type "gboolean")
)

(define-method get_default_for_uri_scheme
  (of-object "GDesktopAppInfoLookup")
  (c-name "g_desktop_app_info_lookup_get_default_for_uri_scheme")
  (return-type "GAppInfo*")
  (parameters
    '("const-char*" "uri_scheme")
  )
)

(define-method get_fd
  (of-object "GFileDescriptorBased")
  (c-name "g_file_descriptor_based_get_fd")
  (return-type "int")
)

(define-function g_desktop_app_info_get_implementations
  (c-name "g_desktop_app_info_get_implementations")
  (return-type "GList*")
  (parameters
    '("const-gchar*" "interface")
  )
)

(define-function g_desktop_app_info_search
  (c-name "g_desktop_app_info_search")
  (return-type "gchar***")
  (parameters
    '("const-gchar*" "search_string")
  )
)

(define-function g_desktop_app_info_set_desktop_env
  (c-name "g_desktop_app_info_set_desktop_env")
  (return-type "none")
  (parameters
    '("const-char*" "desktop_env")
  )
)

(define-method get_action_name
  (of-object "GDesktopAppInfo")
  (c-name "g_desktop_app_info_get_action_name")
  (return-type "gchar*")
  (parameters
    '("const-gchar*" "action_name")
  )
)

(define-method get_boolean
  (of-object "GDesktopAppInfo")
  (c-name "g_desktop_app_info_get_boolean")
  (return-type "gboolean")
  (parameters
    '("const-char*" "key")
  )
)

(define-method get_categories
  (of-object "GDesktopAppInfo")
  (c-name "g_desktop_app_info_get_categories")
  (return-type "const-char*")
)

(define-method get_filename
  (of-object "GDesktopAppInfo")
  (c-name "g_desktop_app_info_get_filename")
  (return-type "const-char*")
)

(define-method get_generic_name
  (of-object "GDesktopAppInfo")
  (c-name "g_desktop_app_info_get_generic_name")
  (return-type "const-char*")
)

(define-method get_is_hidden
  (of-object "GDesktopAppInfo")
  (c-name "g_desktop_app_info_get_is_hidden")
  (return-type "gboolean")
)

(define-method get_keywords
  (of-object "GDesktopAppInfo")
  (c-name "g_desktop_app_info_get_keywords")
  (return-type "const-char*-const*")
)

(define-method get_locale_string
  (of-object "GDesktopAppInfo")
  (c-name "g_desktop_app_info_get_locale_string")
  (return-type "char*")
  (parameters
    '("const-char*" "key")
  )
)

(define-method get_nodisplay
  (of-object "GDesktopAppInfo")
  (c-name "g_desktop_app_info_get_nodisplay")
  (return-type "gboolean")
)

(define-method get_show_in
  (of-object "GDesktopAppInfo")
  (c-name "g_desktop_app_info_get_show_in")
  (return-type "gboolean")
  (parameters
    '("const-gchar*" "desktop_env")
  )
)

(define-method get_startup_wm_class
  (of-object "GDesktopAppInfo")
  (c-name "g_desktop_app_info_get_startup_wm_class")
  (return-type "const-char*")
)

(define-method get_string
  (of-object "GDesktopAppInfo")
  (c-name "g_desktop_app_info_get_string")
  (return-type "char*")
  (parameters
    '("const-char*" "key")
  )
)

(define-method get_string_list
  (of-object "GDesktopAppInfo")
  (c-name "g_desktop_app_info_get_string_list")
  (return-type "gchar**")
  (parameters
    '("const-char*" "key")
    '("gsize*" "length")
  )
)

(define-method has_key
  (of-object "GDesktopAppInfo")
  (c-name "g_desktop_app_info_has_key")
  (return-type "gboolean")
  (parameters
    '("const-char*" "key")
  )
)

(define-method launch_action
  (of-object "GDesktopAppInfo")
  (c-name "g_desktop_app_info_launch_action")
  (return-type "none")
  (parameters
    '("const-gchar*" "action_name")
    '("GAppLaunchContext*" "launch_context")
  )
)

(define-method launch_uris_as_manager
  (of-object "GDesktopAppInfo")
  (c-name "g_desktop_app_info_launch_uris_as_manager")
  (return-type "gboolean")
  (parameters
    '("GList*" "uris")
    '("GAppLaunchContext*" "launch_context")
    '("GSpawnFlags" "spawn_flags")
    '("GSpawnChildSetupFunc" "user_setup")
    '("gpointer" "user_setup_data")
    '("GDesktopAppLaunchCallback" "pid_callback")
    '("gpointer" "pid_callback_data")
    '("GError**" "error")
  )
)

(define-method launch_uris_as_manager_with_fds
  (of-object "GDesktopAppInfo")
  (c-name "g_desktop_app_info_launch_uris_as_manager_with_fds")
  (return-type "gboolean")
  (parameters
    '("GList*" "uris")
    '("GAppLaunchContext*" "launch_context")
    '("GSpawnFlags" "spawn_flags")
    '("GSpawnChildSetupFunc" "user_setup")
    '("gpointer" "user_setup_data")
    '("GDesktopAppLaunchCallback" "pid_callback")
    '("gpointer" "pid_callback_data")
    '("gint" "stdin_fd")
    '("gint" "stdout_fd")
    '("gint" "stderr_fd")
    '("GError**" "error")
  )
)

(define-method list_actions
  (of-object "GDesktopAppInfo")
  (c-name "g_desktop_app_info_list_actions")
  (return-type "const-gchar*-const*")
)

(define-function g_desktop_app_info_new
  (c-name "g_desktop_app_info_new")
  (is-constructor-of "GDesktopAppInfo")
  (return-type "GDesktopAppInfo*")
  (parameters
    '("const-char*" "desktop_id")
  )
)

(define-function g_desktop_app_info_new_from_filename
  (c-name "g_desktop_app_info_new_from_filename")
  (is-constructor-of "GDesktopAppInfo")
  (return-type "GDesktopAppInfo*")
  (parameters
    '("const-char*" "filename")
  )
)

(define-function g_desktop_app_info_new_from_keyfile
  (c-name "g_desktop_app_info_new_from_keyfile")
  (is-constructor-of "GDesktopAppInfo")
  (return-type "GDesktopAppInfo*")
  (parameters
    '("GKeyFile*" "key_file")
  )
)

(define-method append_fd
  (of-object "GUnixFDMessage")
  (c-name "g_unix_fd_message_append_fd")
  (return-type "gboolean")
  (parameters
    '("gint" "fd")
    '("GError**" "error")
  )
)

(define-method get_fd_list
  (of-object "GUnixFDMessage")
  (c-name "g_unix_fd_message_get_fd_list")
  (return-type "GUnixFDList*")
)

(define-method steal_fds
  (of-object "GUnixFDMessage")
  (c-name "g_unix_fd_message_steal_fds")
  (return-type "gint*")
  (parameters
    '("gint*" "length")
  )
)

(define-function g_unix_fd_message_new
  (c-name "g_unix_fd_message_new")
  (is-constructor-of "GUnixFDMessage")
  (return-type "GSocketControlMessage*")
)

(define-function g_unix_fd_message_new_with_fd_list
  (c-name "g_unix_fd_message_new_with_fd_list")
  (is-constructor-of "GUnixFDMessage")
  (return-type "GSocketControlMessage*")
  (parameters
    '("GUnixFDList*" "fd_list")
  )
)

(define-method get_close_fd
  (of-object "GUnixInputStream")
  (c-name "g_unix_input_stream_get_close_fd")
  (return-type "gboolean")
)

(define-method get_fd
  (of-object "GUnixInputStream")
  (c-name "g_unix_input_stream_get_fd")
  (return-type "gint")
)

(define-method set_close_fd
  (of-object "GUnixInputStream")
  (c-name "g_unix_input_stream_set_close_fd")
  (return-type "none")
  (parameters
    '("gboolean" "close_fd")
  )
)

(define-function g_unix_input_stream_new
  (c-name "g_unix_input_stream_new")
  (is-constructor-of "GUnixInputStream")
  (return-type "GInputStream*")
  (parameters
    '("gint" "fd")
    '("gboolean" "close_fd")
  )
)

(define-function g_unix_mount_monitor_get
  (c-name "g_unix_mount_monitor_get")
  (return-type "GUnixMountMonitor*")
)

(define-method set_rate_limit
  (of-object "GUnixMountMonitor")
  (c-name "g_unix_mount_monitor_set_rate_limit")
  (return-type "none")
  (parameters
    '("int" "limit_msec")
  )
)

(define-function g_unix_mount_monitor_new
  (c-name "g_unix_mount_monitor_new")
  (is-constructor-of "GUnixMountMonitor")
  (return-type "GUnixMountMonitor*")
)

(define-method get_close_fd
  (of-object "GUnixOutputStream")
  (c-name "g_unix_output_stream_get_close_fd")
  (return-type "gboolean")
)

(define-method get_fd
  (of-object "GUnixOutputStream")
  (c-name "g_unix_output_stream_get_fd")
  (return-type "gint")
)

(define-method set_close_fd
  (of-object "GUnixOutputStream")
  (c-name "g_unix_output_stream_set_close_fd")
  (return-type "none")
  (parameters
    '("gboolean" "close_fd")
  )
)

(define-function g_unix_output_stream_new
  (c-name "g_unix_output_stream_new")
  (is-constructor-of "GUnixOutputStream")
  (return-type "GOutputStream*")
  (parameters
    '("gint" "fd")
    '("gboolean" "close_fd")
  )
)

