Namespace
Gio – 2.0
Gio is a library providing useful classes for general purpose I/O, networking, IPC, settings, and other high level application functionality
Dependencies
GLib—2.0 | The base utility library |
Browse documentation | |
GModule—2.0 | Portable API for dynamically loading modules |
Browse documentation | |
GObject—2.0 | The base type system library |
Browse documentation |
Additional documentation
- Overview
- File Attributes
- TLS Overview
- GIOError
- Pollable Utility Functions
- D-Bus Error Handling
- D-Bus Introspection Data
- D-Bus Name Owning
- D-Bus Name Watching
- D-Bus Utilities
- GMenuModel Exporter
- gnetworking.h
- Migrating to GDBus
- Migrating from GConf to GSettings
- Migrating from GnomeVFS to GIO
- Migrating from POSIX to GIO
- GIOScheduler
- Classes Hierarchy
Classes
AppInfoMonitor |
since: 2.40 |
AppLaunchContext |
Integrating the launch with the launching application. This is used to handle for instance startup notification and launching the new application on the same screen as the launching window. |
Application |
since: 2.28 |
ApplicationCommandLine |
|
BufferedInputStream |
Buffered input stream implements |
BufferedOutputStream |
Buffered output stream implements |
BytesIcon |
since: 2.38 |
Cancellable |
|
CharsetConverter |
|
ConverterInputStream |
Converter input stream implements |
ConverterOutputStream |
Converter output stream implements |
Credentials |
The since: 2.26 |
DataInputStream |
Data input stream implements |
DataOutputStream |
Data output stream implements |
DBusActionGroup |
|
DBusAuthObserver |
since: 2.26 |
DBusConnection |
The since: 2.26 |
DBusInterfaceSkeleton |
Abstract base class for D-Bus interfaces on the service side. since: 2.30 |
DBusMenuModel |
|
DBusMessage |
A type for representing D-Bus messages that can be sent or received
on a since: 2.26 |
DBusMethodInvocation |
Instances of the since: 2.26 |
DBusObjectManagerClient |
since: 2.30 |
DBusObjectManagerServer |
since: 2.30 |
DBusObjectProxy |
A since: 2.30 |
DBusObjectSkeleton |
A since: 2.30 |
DBusProxy |
since: 2.26 |
DBusServer |
since: 2.26 |
DebugControllerDBus |
since: 2.72 |
DesktopAppInfo |
|
Emblem |
|
EmblemedIcon |
|
FileEnumerator |
|
FileIcon |
|
FileInfo |
Stores information about a file system object referenced by a |
FileInputStream |
|
FileIOStream |
since: 2.22 |
FileMonitor |
Monitors a file or directory for changes. |
FilenameCompleter |
Completes partial file and directory names given a partial string by looking in the file system for clues. Can return a list of possible completion strings for widget implementations. |
FileOutputStream |
|
FilterInputStream |
Base class for input stream implementations that perform some kind of filtering operation on a base stream. Typical examples of filtering operations are character set conversion, compression and byte order flipping. |
FilterOutputStream |
Base class for output stream implementations that perform some kind of filtering operation on a base stream. Typical examples of filtering operations are character set conversion, compression and byte order flipping. |
InetAddress |
|
InetAddressMask |
since: 2.32 |
InetSocketAddress |
An IPv4 or IPv6 socket address. That is, the combination of a
|
InputStream |
|
IOModule |
Provides an interface and default functions for loading and unloading modules. This is used internally to make GIO extensible, but can also be used by others to implement module loading. |
IOStream |
since: 2.22 |
ListStore |
|
MemoryInputStream |
|
MemoryOutputStream |
|
Menu |
since: 2.32 |
MenuAttributeIter |
since: 2.32 |
MenuItem |
since: 2.32 |
MenuLinkIter |
since: 2.32 |
MenuModel |
since: 2.32 |
MountOperation |
|
NativeSocketAddress |
A socket address of some unknown native type. since: 2.46 |
NativeVolumeMonitor | |
NetworkAddress |
|
NetworkService |
Like |
Notification |
since: 2.40 |
OutputStream |
|
Permission |
A |
PropertyAction |
A since: 2.38 |
ProxyAddress |
A since: 2.26 |
ProxyAddressEnumerator |
|
Resolver |
The object that handles DNS resolution. Use |
Settings |
The |
SettingsBackend |
The |
SimpleAction |
A |
SimpleActionGroup |
since: 2.28 |
SimpleAsyncResult |
As of GLib 2.46, |
SimpleIOStream |
since: 2.44 |
SimplePermission |
|
SimpleProxyResolver |
since: 2.36 |
Socket |
A since: 2.22 |
SocketAddress |
|
SocketAddressEnumerator |
|
SocketClient |
since: 2.22 |
SocketConnection |
since: 2.22 |
SocketControlMessage |
A since: 2.22 |
SocketListener |
A since: 2.22 |
SocketService |
A since: 2.22 |
Subprocess |
since: 2.40 |
SubprocessLauncher |
This class contains a set of options for launching child processes, such as where its standard input and output will be directed, the argument list, the environment, and more. since: 2.40 |
Task |
A |
TcpConnection |
This is the subclass of since: 2.22 |
TcpWrapperConnection |
A since: 2.28 |
TestDBus |
A helper class for testing code which uses D-Bus without touching the user’s session bus. since: 2.34 |
ThemedIcon |
|
ThreadedResolver |
since: 2.20 |
ThreadedSocketService |
A since: 2.22 |
TlsCertificate |
A certificate used for TLS authentication and encryption.
This can represent either a certificate only (eg, the certificate
received by a client from a server), or the combination of
a certificate and a private key (which is needed when acting as a
since: 2.28 |
TlsConnection |
since: 2.28 |
TlsDatabase |
since: 2.30 |
TlsInteraction |
since: 2.30 |
TlsPassword |
An abstract interface representing a password used in TLS. Often used in user interaction such as unlocking a key storage token. since: 2.30 |
UnixConnection |
This is the subclass of since: 2.22 |
UnixCredentialsMessage |
This since: 2.26 |
UnixFDList |
A |
UnixFDMessage |
This |
UnixInputStream |
|
UnixMountMonitor |
Watches |
UnixOutputStream |
|
UnixSocketAddress |
Support for UNIX-domain (also known as local) sockets, corresponding to
|
Vfs |
Entry point for using GIO functionality. |
VolumeMonitor |
|
ZlibCompressor |
|
ZlibDecompressor |
|
Interfaces
Action |
|
ActionGroup |
|
ActionMap |
since: 2.32 |
AppInfo |
Information about an installed application and methods to launch it (with file arguments). |
AsyncInitable |
since: 2.22 |
AsyncResult |
|
Converter |
since: 2.24 |
DatagramBased |
Interface for socket-like objects with datagram semantics. since: 2.48 |
DBusInterface |
Base type for D-Bus interfaces. since: 2.30 |
DBusObject |
The |
DBusObjectManager |
The |
DebugController |
since: 2.72 |
DesktopAppInfoLookup |
deprecated: 2.28 |
Drive |
|
DtlsClientConnection |
since: 2.48 |
DtlsConnection |
since: 2.48 |
DtlsServerConnection |
since: 2.48 |
File |
|
FileDescriptorBased |
since: 2.24 |
Icon |
|
Initable |
since: 2.22 |
ListModel |
|
LoadableIcon |
|
MemoryMonitor |
since: 2.64 |
Mount |
The |
NetworkMonitor |
since: 2.32 |
PollableInputStream |
since: 2.28 |
PollableOutputStream |
since: 2.28 |
PowerProfileMonitor |
since: 2.70 |
Proxy |
A since: 2.26 |
ProxyResolver |
since: 2.26 |
RemoteActionGroup |
The since: 2.32 |
Seekable |
|
SocketConnectable |
Objects that describe one or more potential socket endpoints
implement |
TlsBackend |
TLS (Transport Layer Security, aka SSL) and DTLS backend. This is an internal type used to coordinate the different classes implemented by a TLS backend. since: 2.28 |
TlsClientConnection |
since: 2.28 |
TlsFileDatabase |
since: 2.30 |
TlsServerConnection |
since: 2.28 |
Volume |
The |
Structs
ActionEntry |
This struct defines a single action. It is for use with
|
DBusAnnotationInfo |
Information about an annotation. since: 2.26 |
DBusArgInfo |
Information about an argument for a method or a signal. since: 2.26 |
DBusErrorEntry |
Struct used in g_dbus_error_register_error_domain(). since: 2.26 |
DBusInterfaceInfo |
Information about a D-Bus interface. since: 2.26 |
DBusInterfaceVTable |
Virtual table for handling properties and method calls for a D-Bus interface. since: 2.26 |
DBusMethodInfo |
Information about a method on a D-Bus interface. since: 2.26 |
DBusNodeInfo |
Information about nodes in a remote object hierarchy. since: 2.26 |
DBusPropertyInfo |
Information about a D-Bus property on a D-Bus interface. since: 2.26 |
DBusSignalInfo |
Information about a signal on a D-Bus interface. since: 2.26 |
DBusSubtreeVTable |
Virtual table for handling subtrees registered with g_dbus_connection_register_subtree(). since: 2.26 |
FileAttributeInfo |
Information about a specific attribute. |
FileAttributeInfoList |
Acts as a lightweight registry for possible valid file attributes.
The registry stores Key-Value pair formats as |
FileAttributeMatcher |
Determines if a string matches a file attribute. |
InputMessage |
Structure used for scatter/gather data input when receiving multiple
messages or packets in one go. You generally pass in an array of empty
since: 2.48 |
InputVector |
Structure used for scatter/gather data input.
You generally pass in an array of since: 2.22 |
IOExtension |
|
IOExtensionPoint |
|
IOModuleScope |
Represents a scope for loading IO modules. A scope can be used for blocking duplicate modules, or blocking a module you don’t want to load. since: 2.30 |
IOSchedulerJob |
Opaque class for defining and scheduling IO jobs. deprecated: 2.36 |
IOStreamAdapter | |
OutputMessage |
Structure used for scatter/gather data output when sending multiple
messages or packets in one go. You generally pass in an array of
since: 2.44 |
OutputVector |
Structure used for scatter/gather data output.
You generally pass in an array of since: 2.22 |
Resource |
Applications and libraries often contain binary or textual data that is
really part of the application, rather than user data. For instance
since: 2.32 |
SettingsSchema |
The since: 2.32 |
SettingsSchemaKey |
|
SettingsSchemaSource |
This is an opaque structure type. You may not access it directly. since: 2.32 |
SrvTarget |
A single target host/port that a network service is running on. |
StaticResource |
|
UnixMountEntry |
Defines a Unix mount entry (e.g. |
UnixMountPoint |
Defines a Unix mount point (e.g. |
Enumerations
BusType |
An enumeration for well-known message buses. since: 2.26 |
ConverterResult |
Results returned from g_converter_convert(). since: 2.24 |
CredentialsType |
Enumeration describing different kinds of native credential types. since: 2.26 |
DataStreamByteOrder |
|
DataStreamNewlineType |
|
DBusMessageByteOrder |
Enumeration used to describe the byte order of a D-Bus message. since: 2.26 |
DBusMessageHeaderField |
Header fields used in since: 2.26 |
DBusMessageType |
Message types used in since: 2.26 |
DriveStartStopType |
Enumeration describing how a drive can be started/stopped. since: 2.22 |
EmblemOrigin |
GEmblemOrigin is used to add information about the origin of the emblem
to since: 2.18 |
FileAttributeStatus |
Used by |
FileAttributeType |
The data types for file attributes. |
FileMonitorEvent |
Specifies what type of event a monitor event is. |
FilesystemPreviewType |
Indicates a hint from the file system whether files should be
previewed in a file manager. Returned as the value of the key
|
FileType |
Indicates the file’s on-disk type. |
IOModuleScopeFlags |
Flags for use with g_io_module_scope_new(). since: 2.30 |
MemoryMonitorWarningLevel |
Memory availability warning levels. since: 2.64 |
MountOperationResult |
|
NetworkConnectivity |
The host’s network connectivity state, as reported by since: 2.44 |
NotificationPriority |
Priority levels for since: 2.42 |
PasswordSave |
|
PollableReturn |
Return value for various IO operations that signal errors via the
return value and not necessarily via a since: 2.60 |
ResolverRecordType |
The type of record that since: 2.34 |
SocketClientEvent |
Describes an event occurring on a since: 2.32 |
SocketFamily |
The protocol family of a since: 2.22 |
SocketListenerEvent |
Describes an event occurring on a since: 2.46 |
SocketProtocol |
A protocol identifier is specified when creating a since: 2.22 |
SocketType |
Flags used when creating a since: 2.22 |
TlsAuthenticationMode |
The client authentication mode for a since: 2.28 |
TlsCertificateRequestFlags |
Flags for g_tls_interaction_request_certificate(), g_tls_interaction_request_certificate_async(), and g_tls_interaction_invoke_request_certificate(). since: 2.40 |
TlsChannelBindingType |
The type of TLS channel binding data to retrieve from since: 2.66 |
TlsDatabaseLookupFlags |
Flags for g_tls_database_lookup_certificate_for_handle(), g_tls_database_lookup_certificate_issuer(), and g_tls_database_lookup_certificates_issued_by(). since: 2.30 |
TlsInteractionResult |
since: 2.30 |
TlsProtocolVersion |
The TLS or DTLS protocol version used by a since: 2.70 |
TlsRehandshakeMode |
When to allow rehandshaking. See g_tls_connection_set_rehandshake_mode(). deprecated: 2.60. since: 2.28 |
UnixSocketAddressType |
The type of name used by a since: 2.26 |
ZlibCompressorFormat |
Used to select the type of data format to use for since: 2.24 |
Bitfields
AppInfoCreateFlags |
Flags used when creating a |
ApplicationFlags |
Flags used to define the behaviour of a since: 2.28 |
AskPasswordFlags |
|
BusNameOwnerFlags |
Flags used in g_bus_own_name(). since: 2.26 |
BusNameWatcherFlags |
Flags used in g_bus_watch_name(). since: 2.26 |
ConverterFlags |
Flags used when calling a g_converter_convert(). since: 2.24 |
DBusCallFlags |
Flags used in since: 2.26 |
DBusCapabilityFlags |
Capabilities negotiated with the remote peer. since: 2.26 |
DBusConnectionFlags |
Flags used when creating a new since: 2.26 |
DBusInterfaceSkeletonFlags |
Flags describing the behavior of a since: 2.30 |
DBusMessageFlags |
Message flags used in since: 2.26 |
DBusObjectManagerClientFlags |
Flags used when constructing a since: 2.30 |
DBusPropertyInfoFlags |
Flags describing the access control of a D-Bus property. since: 2.26 |
DBusProxyFlags |
Flags used when constructing an instance of a since: 2.26 |
DBusSendMessageFlags |
Flags used when sending since: 2.26 |
DBusServerFlags |
Flags used when creating a since: 2.26 |
DBusSignalFlags |
Flags used when subscribing to signals via g_dbus_connection_signal_subscribe(). since: 2.26 |
DBusSubtreeFlags |
Flags passed to g_dbus_connection_register_subtree(). since: 2.26 |
DriveStartFlags |
Flags used when starting a drive. since: 2.22 |
FileAttributeInfoFlags |
Flags specifying the behaviour of an attribute. |
FileCopyFlags |
Flags used when copying or moving files. |
FileCreateFlags |
Flags used when an operation may create a file. |
FileMeasureFlags |
Flags that can be used with g_file_measure_disk_usage(). since: 2.38 |
FileMonitorFlags |
Flags used to set what a |
FileQueryInfoFlags |
Flags used when querying a |
IOStreamSpliceFlags |
GIOStreamSpliceFlags determine how streams should be spliced. since: 2.28 |
MountMountFlags |
Flags used when mounting a mount. |
MountUnmountFlags |
Flags used when an unmounting a mount. |
OutputStreamSpliceFlags |
GOutputStreamSpliceFlags determine how streams should be spliced. |
ResolverNameLookupFlags |
Flags to modify lookup behavior. since: 2.60 |
ResourceFlags |
GResourceFlags give information about a particular file inside a resource bundle. since: 2.32 |
ResourceLookupFlags |
GResourceLookupFlags determine how resource path lookups are handled. since: 2.32 |
SettingsBindFlags |
Flags used when creating a binding. These flags determine in which direction the binding works. The default is to synchronize in both directions. |
SocketMsgFlags |
Flags used in since: 2.22 |
SubprocessFlags |
Flags to define the behaviour of a since: 2.40 |
TestDBusFlags |
Flags to define future since: 2.34 |
TlsCertificateFlags |
A set of flags describing TLS certification validation. This can be
used to describe why a particular certificate was rejected (for
example, in since: 2.28 |
TlsDatabaseVerifyFlags |
Flags for g_tls_database_verify_chain(). since: 2.30 |
TlsPasswordFlags |
Various flags for the password. since: 2.30 |
Error Domains
DBusError |
Error codes for the since: 2.26 |
IOErrorEnum |
Error codes returned by GIO functions. |
ResolverError |
An error code used with since: 2.22 |
ResourceError |
An error code used with since: 2.32 |
TlsChannelBindingError |
An error code used with since: 2.66 |
TlsError |
An error code used with since: 2.28 |
Callbacks
AsyncReadyCallback |
Type definition for a function that will be called back when an asynchronous
operation within GIO has been completed. |
BusAcquiredCallback |
Invoked when a connection to a message bus has been obtained. since: 2.26 |
BusNameAcquiredCallback |
Invoked when the name is acquired. since: 2.26 |
BusNameAppearedCallback |
Invoked when the name being watched is known to have to have an owner. since: 2.26 |
BusNameLostCallback |
Invoked when the name is lost or since: 2.26 |
BusNameVanishedCallback |
Invoked when the name being watched is known not to have to have an owner. since: 2.26 |
CancellableSourceFunc |
This is the function type of the callback used for the since: 2.28 |
DatagramBasedSourceFunc |
This is the function type of the callback used for the since: 2.48 |
DBusInterfaceGetPropertyFunc |
The type of the since: 2.26 |
DBusInterfaceMethodCallFunc |
The type of the since: 2.26 |
DBusInterfaceSetPropertyFunc |
The type of the since: 2.26 |
DBusMessageFilterFunction |
Signature for function used in g_dbus_connection_add_filter(). since: 2.26 |
DBusProxyTypeFunc |
Function signature for a function used to determine the since: 2.30 |
DBusSignalCallback |
Signature for callback function used in g_dbus_connection_signal_subscribe(). since: 2.26 |
DBusSubtreeDispatchFunc |
The type of the since: 2.26 |
DBusSubtreeEnumerateFunc |
The type of the since: 2.26 |
DBusSubtreeIntrospectFunc |
The type of the since: 2.26 |
DesktopAppLaunchCallback |
During invocation, |
FileMeasureProgressCallback |
This callback type is used by since: 2.38 |
FileProgressCallback |
When doing file operations that may take a while, such as moving a file or copying a file, a progress callback is used to pass how far along that operation is to the application. |
FileReadMoreCallback |
When loading the partial contents of a file with g_file_load_partial_contents_async(),
it may become necessary to determine if any more data from the file should be loaded.
A |
IOSchedulerJobFunc |
I/O Job function. deprecated: 2.36 |
PollableSourceFunc |
This is the function type of the callback used for the since: 2.28 |
ReallocFunc |
Changes the size of the memory block pointed to by |
SettingsBindGetMapping |
The type for the function that is used to convert from |
SettingsBindSetMapping |
The type for the function that is used to convert an object property
value to a |
SettingsGetMapping |
The type of the function that is used to convert from a value stored
in a |
SimpleAsyncThreadFunc |
Simple thread function that runs an asynchronous operation and checks for cancellation. |
SocketSourceFunc |
This is the function type of the callback used for the since: 2.22 |
TaskThreadFunc |
The prototype for a task function to be run in a thread via
since: 2.36 |
VfsFileLookupFunc |
This function type is used by since: 2.50 |
Functions
bus_get |
Asynchronously connects to the message bus specified by since: 2.26 |
bus_get_finish |
Finishes an operation started with g_bus_get(). since: 2.26 |
bus_get_sync |
Synchronously connects to the message bus specified by since: 2.26 |
bus_own_name |
Starts acquiring since: 2.26 |
bus_own_name_on_connection |
Like since: 2.26 |
bus_own_name_on_connection_with_closures |
Version of since: 2.26 |
bus_own_name_with_closures |
Version of since: 2.26 |
bus_unown_name |
Stops owning a name. since: 2.26 |
bus_unwatch_name |
Stops watching a name. since: 2.26 |
bus_watch_name |
Starts watching since: 2.26 |
bus_watch_name_on_connection |
Like since: 2.26 |
bus_watch_name_on_connection_with_closures |
Version of since: 2.26 |
bus_watch_name_with_closures |
Version of since: 2.26 |
content_type_can_be_executable |
Checks if a content type can be executable. Note that for instance things like text files can be executables (i.e. scripts and batch files). |
content_type_equals |
Compares two content types for equality. |
content_type_from_mime_type |
Tries to find a content type based on the mime type name. since: 2.18 |
content_type_get_description |
Gets the human readable description of the content type. |
content_type_get_generic_icon_name |
Gets the generic icon name for a content type. since: 2.34 |
content_type_get_icon |
Gets the icon for a content type. |
content_type_get_mime_dirs |
Get the list of directories which MIME data is loaded from. See
since: 2.60 |
content_type_get_mime_type |
Gets the mime type for the content type, if one is registered. |
content_type_get_symbolic_icon |
Gets the symbolic icon for a content type. since: 2.34 |
content_type_guess |
Guesses the content type based on example data. If the function is
uncertain, |
content_type_guess_for_tree |
Tries to guess the type of the tree with root since: 2.18 |
content_type_is_a |
Determines if |
content_type_is_mime_type |
Determines if since: 2.52 |
content_type_is_unknown |
Checks if the content type is the generic “unknown” type. On UNIX this is the “application/octet-stream” mimetype, while on win32 it is “*” and on OSX it is a dynamic type or octet-stream. |
content_type_set_mime_dirs |
Set the list of directories used by GIO to load the MIME database.
If since: 2.60 |
content_types_get_registered |
Gets a list of strings containing all the registered content types
known to the system. The list and its data should be freed using
|
dbus_address_escape_value |
Escape since: 2.36 |
dbus_address_get_for_bus_sync |
Synchronously looks up the D-Bus address for the well-known message
bus instance specified by since: 2.26 |
dbus_address_get_stream |
Asynchronously connects to an endpoint specified by since: 2.26 |
dbus_address_get_stream_finish |
Finishes an operation started with g_dbus_address_get_stream(). since: 2.26 |
dbus_address_get_stream_sync |
Synchronously connects to an endpoint specified by since: 2.26 |
dbus_escape_object_path |
This is a language binding friendly version of g_dbus_escape_object_path_bytestring(). since: 2.68 |
dbus_escape_object_path_bytestring |
Escapes since: 2.68 |
dbus_generate_guid |
Generate a D-Bus GUID that can be used with e.g. g_dbus_connection_new(). since: 2.26 |
dbus_gvalue_to_gvariant |
Converts a since: 2.30 |
dbus_gvariant_to_gvalue |
Converts a since: 2.30 |
dbus_is_address |
Checks if since: 2.26 |
dbus_is_error_name |
Check whether since: 2.70 |
dbus_is_guid |
Checks if since: 2.26 |
dbus_is_interface_name |
Checks if since: 2.26 |
dbus_is_member_name |
Checks if since: 2.26 |
dbus_is_name |
Checks if since: 2.26 |
dbus_is_supported_address |
Like since: 2.26 |
dbus_is_unique_name |
Checks if since: 2.26 |
dbus_unescape_object_path |
Unescapes an string that was previously escaped with
g_dbus_escape_object_path(). If the string is in a format that could
not have been returned by g_dbus_escape_object_path(), this function
returns since: 2.68 |
io_error_from_errno |
Converts |
io_error_from_file_error |
Converts since: 2.74 |
io_error_quark |
Gets the GIO Error Quark. |
io_modules_load_all_in_directory |
Loads all the modules in the specified directory. |
io_modules_load_all_in_directory_with_scope |
Loads all the modules in the specified directory. since: 2.30 |
io_modules_scan_all_in_directory |
Scans all the modules in the specified directory, ensuring that any extension point implemented by a module is registered. since: 2.24 |
io_modules_scan_all_in_directory_with_scope |
Scans all the modules in the specified directory, ensuring that any extension point implemented by a module is registered. since: 2.30 |
io_scheduler_cancel_all_jobs |
Cancels all cancellable I/O jobs. deprecated: 2.36 |
io_scheduler_push_job |
Schedules the I/O job to run in another thread. deprecated: 2.36 |
keyfile_settings_backend_new |
Creates a keyfile-backed |
memory_settings_backend_new |
Creates a memory-backed since: 2.28 |
networking_init |
Initializes the platform networking libraries (eg, on Windows, this calls WSAStartup()). GLib will call this itself if it is needed, so you only need to call it if you directly call system networking functions (without calling any GLib networking functions first). since: 2.36 |
null_settings_backend_new |
Creates a readonly since: 2.28 |
pollable_source_new |
Utility method for since: 2.28 |
pollable_source_new_full |
Utility method for since: 2.34 |
pollable_stream_read |
Tries to read from since: 2.34 |
pollable_stream_write |
Tries to write to since: 2.34 |
pollable_stream_write_all |
Tries to write since: 2.34 |
resources_enumerate_children |
Returns all the names of children at the specified since: 2.32 |
resources_get_info |
Looks for a file at the specified since: 2.32 |
resources_has_children |
Returns whether the specified unstable since: 2.84 |
resources_lookup_data |
Looks for a file at the specified since: 2.32 |
resources_open_stream |
Looks for a file at the specified since: 2.32 |
resources_register |
Registers the resource with the process-global set of resources. since: 2.32 |
resources_unregister |
Unregisters the resource from the process-global set of resources. since: 2.32 |
simple_async_report_error_in_idle |
Reports an error in an asynchronous function in an idle function by
directly setting the contents of the deprecated: 2.46 |
simple_async_report_gerror_in_idle |
Reports an error in an idle function. Similar to
g_simple_async_report_error_in_idle(), but takes a deprecated: 2.46 |
simple_async_report_take_gerror_in_idle |
Reports an error in an idle function. Similar to
g_simple_async_report_gerror_in_idle(), but takes over the caller’s
ownership of deprecated: 2.46 since: 2.28 |
unix_is_mount_path_system_internal |
Determines if |
unix_is_system_device_path |
Determines if since: 2.56 |
unix_is_system_fs_type |
Determines if since: 2.56 |
unix_mount_at |
Gets a |
unix_mount_compare |
Compares two unix mounts. |
unix_mount_copy |
Makes a copy of since: 2.54 |
unix_mount_for |
Gets a since: 2.52 |
unix_mount_free |
Frees a unix mount. |
unix_mount_get_device_path |
Gets the device path for a unix mount. |
unix_mount_get_fs_type |
Gets the filesystem type for the unix mount. |
unix_mount_get_mount_path |
Gets the mount path for a unix mount. |
unix_mount_get_options |
Gets a comma-separated list of mount options for the unix mount. For example,
since: 2.58 |
unix_mount_get_root_path |
Gets the root of the mount within the filesystem. This is useful e.g. for mounts created by bind operation, or btrfs subvolumes. since: 2.60 |
unix_mount_guess_can_eject |
Guesses whether a Unix mount can be ejected. |
unix_mount_guess_icon |
Guesses the icon of a Unix mount. |
unix_mount_guess_name |
Guesses the name of a Unix mount. The result is a translated string. |
unix_mount_guess_should_display |
Guesses whether a Unix mount should be displayed in the UI. |
unix_mount_guess_symbolic_icon |
Guesses the symbolic icon of a Unix mount. since: 2.34 |
unix_mount_is_readonly |
Checks if a unix mount is mounted read only. |
unix_mount_is_system_internal |
Checks if a Unix mount is a system mount. This is the Boolean OR of
g_unix_is_system_fs_type(), |
unix_mount_points_changed_since |
Checks if the unix mount points have changed since a given unix time. |
unix_mount_points_get |
Gets a |
unix_mount_points_get_from_file |
Gets an array of since: 2.82 |
unix_mounts_changed_since |
Checks if the unix mounts have changed since a given unix time. |
unix_mounts_get |
Gets a |
unix_mounts_get_from_file |
Gets an array of since: 2.82 |
Function Macros
Constants
DBUS_METHOD_INVOCATION_HANDLED |
The value returned by handlers of the signals generated by
the |
DBUS_METHOD_INVOCATION_UNHANDLED |
The value returned by handlers of the signals generated by
the |
DEBUG_CONTROLLER_EXTENSION_POINT_NAME |
Extension point for debug control functionality. See [Extending GIO][extending-gio]. |
DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME |
Extension point for default handler to URI association. See [Extending GIO][extending-gio]. deprecated: 2.28 |
DRIVE_IDENTIFIER_KIND_UNIX_DEVICE |
The string used to obtain a Unix device path with g_drive_get_identifier(). |
FILE_ATTRIBUTE_ACCESS_CAN_DELETE |
A key in the “access” namespace for checking deletion privileges. |
FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE |
A key in the “access” namespace for getting execution privileges. |
FILE_ATTRIBUTE_ACCESS_CAN_READ |
A key in the “access” namespace for getting read privileges. |
FILE_ATTRIBUTE_ACCESS_CAN_RENAME |
A key in the “access” namespace for checking renaming privileges. |
FILE_ATTRIBUTE_ACCESS_CAN_TRASH |
A key in the “access” namespace for checking trashing privileges. |
FILE_ATTRIBUTE_ACCESS_CAN_WRITE |
A key in the “access” namespace for getting write privileges. |
FILE_ATTRIBUTE_DOS_IS_ARCHIVE |
A key in the “dos” namespace for checking if the file’s archive flag is set. |
FILE_ATTRIBUTE_DOS_IS_MOUNTPOINT |
A key in the “dos” namespace for checking if the file is a NTFS mount point (a volume mount or a junction point). |
FILE_ATTRIBUTE_DOS_IS_SYSTEM |
A key in the “dos” namespace for checking if the file’s backup flag is set. |
FILE_ATTRIBUTE_DOS_REPARSE_POINT_TAG |
A key in the “dos” namespace for getting the file NTFS reparse tag. |
FILE_ATTRIBUTE_ETAG_VALUE |
A key in the “etag” namespace for getting the value of the file’s entity tag. |
FILE_ATTRIBUTE_FILESYSTEM_FREE |
A key in the “filesystem” namespace for getting the number of bytes of free space left on the file system. |
FILE_ATTRIBUTE_FILESYSTEM_READONLY |
A key in the “filesystem” namespace for checking if the file system is read only. |
FILE_ATTRIBUTE_FILESYSTEM_REMOTE |
A key in the “filesystem” namespace for checking if the file system is remote. |
FILE_ATTRIBUTE_FILESYSTEM_SIZE |
A key in the “filesystem” namespace for getting the total size (in bytes) of the file system, used in g_file_query_filesystem_info(). |
FILE_ATTRIBUTE_FILESYSTEM_TYPE |
A key in the “filesystem” namespace for getting the file system’s type. |
FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW |
A key in the “filesystem” namespace for hinting a file manager application whether it should preview (e.g. thumbnail) files on the file system. |
FILE_ATTRIBUTE_FILESYSTEM_USED |
A key in the “filesystem” namespace for getting the number of bytes used by data on the file system. |
FILE_ATTRIBUTE_GVFS_BACKEND |
A key in the “gvfs” namespace that gets the name of the current GVFS backend in use. |
FILE_ATTRIBUTE_ID_FILE |
A key in the “id” namespace for getting a file identifier. |
FILE_ATTRIBUTE_ID_FILESYSTEM |
A key in the “id” namespace for getting the file system identifier. |
FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT |
A key in the “mountable” namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be ejected. |
FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT |
A key in the “mountable” namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) is mountable. |
FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL |
A key in the “mountable” namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be polled. |
FILE_ATTRIBUTE_MOUNTABLE_CAN_START |
A key in the “mountable” namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be started. |
FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED |
A key in the “mountable” namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be started degraded. |
FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP |
A key in the “mountable” namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be stopped. |
FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT |
A key in the “mountable” namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) is unmountable. |
FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI |
A key in the “mountable” namespace for getting the HAL UDI for the mountable file. |
FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC |
A key in the “mountable” namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) is automatically polled for media. |
FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE |
A key in the “mountable” namespace for getting the |
FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE |
A key in the “mountable” namespace for getting the unix device. |
FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE |
A key in the “mountable” namespace for getting the unix device file. |
FILE_ATTRIBUTE_OWNER_GROUP |
A key in the “owner” namespace for getting the file owner’s group. |
FILE_ATTRIBUTE_OWNER_USER |
A key in the “owner” namespace for getting the user name of the file’s owner. |
FILE_ATTRIBUTE_OWNER_USER_REAL |
A key in the “owner” namespace for getting the real name of the user that owns the file. |
FILE_ATTRIBUTE_PREVIEW_ICON |
A key in the “preview” namespace for getting a |
FILE_ATTRIBUTE_RECENT_MODIFIED |
A key in the “recent” namespace for getting time, when the metadata for the
file in |
FILE_ATTRIBUTE_SELINUX_CONTEXT |
A key in the “selinux” namespace for getting the file’s SELinux context. |
FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE |
A key in the “standard” namespace for getting the amount of disk space that is consumed by the file (in bytes). |
FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE |
A key in the “standard” namespace for getting the content type of the file. |
FILE_ATTRIBUTE_STANDARD_COPY_NAME |
A key in the “standard” namespace for getting the copy name of the file. |
FILE_ATTRIBUTE_STANDARD_DESCRIPTION |
A key in the “standard” namespace for getting the description of the file. |
FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME |
A key in the “standard” namespace for getting the display name of the file. |
FILE_ATTRIBUTE_STANDARD_EDIT_NAME |
A key in the “standard” namespace for edit name of the file. |
FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE |
A key in the “standard” namespace for getting the fast content type. |
FILE_ATTRIBUTE_STANDARD_ICON |
A key in the “standard” namespace for getting the icon for the file. |
FILE_ATTRIBUTE_STANDARD_IS_BACKUP |
A key in the “standard” namespace for checking if a file is a backup file. |
FILE_ATTRIBUTE_STANDARD_IS_HIDDEN |
A key in the “standard” namespace for checking if a file is hidden. |
FILE_ATTRIBUTE_STANDARD_IS_SYMLINK |
A key in the “standard” namespace for checking if the file is a symlink. Typically the actual type is something else, if we followed the symlink to get the type. |
FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL |
A key in the “standard” namespace for checking if a file is virtual. |
FILE_ATTRIBUTE_STANDARD_IS_VOLATILE |
A key in the “standard” namespace for checking if a file is
volatile. This is meant for opaque, non-POSIX-like backends to
indicate that the URI is not persistent. Applications should look
at |
FILE_ATTRIBUTE_STANDARD_NAME |
A key in the “standard” namespace for getting the name of the file. |
FILE_ATTRIBUTE_STANDARD_SIZE |
A key in the “standard” namespace for getting the file’s size (in bytes). |
FILE_ATTRIBUTE_STANDARD_SORT_ORDER |
A key in the “standard” namespace for setting the sort order of a file. |
FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON |
A key in the “standard” namespace for getting the symbolic icon for the file. |
FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET |
A key in the “standard” namespace for getting the symlink target, if the file is a symlink. |
FILE_ATTRIBUTE_STANDARD_TARGET_URI |
A key in the “standard” namespace for getting the target URI for the file, in
the case of |
FILE_ATTRIBUTE_STANDARD_TYPE |
A key in the “standard” namespace for storing file types. |
FILE_ATTRIBUTE_THUMBNAIL_IS_VALID |
A key in the “thumbnail” namespace for checking whether the thumbnail is outdated. |
FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_LARGE |
A key in the “thumbnail” namespace for checking whether the large thumbnail is outdated. |
FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_NORMAL |
A key in the “thumbnail” namespace for checking whether the normal thumbnail is outdated. |
FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XLARGE |
A key in the “thumbnail” namespace for checking whether the x-large thumbnail is outdated. |
FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XXLARGE |
A key in the “thumbnail” namespace for checking whether the xx-large thumbnail is outdated. |
FILE_ATTRIBUTE_THUMBNAIL_PATH |
A key in the “thumbnail” namespace for getting the path to the thumbnail image with the biggest size available. |
FILE_ATTRIBUTE_THUMBNAIL_PATH_LARGE |
A key in the “thumbnail” namespace for getting the path to the large thumbnail image. |
FILE_ATTRIBUTE_THUMBNAIL_PATH_NORMAL |
A key in the “thumbnail” namespace for getting the path to the normal thumbnail image. |
FILE_ATTRIBUTE_THUMBNAIL_PATH_XLARGE |
A key in the “thumbnail” namespace for getting the path to the x-large thumbnail image. |
FILE_ATTRIBUTE_THUMBNAIL_PATH_XXLARGE |
A key in the “thumbnail” namespace for getting the path to the xx-large thumbnail image. |
FILE_ATTRIBUTE_THUMBNAILING_FAILED |
A key in the “thumbnail” namespace for checking if thumbnailing failed. |
FILE_ATTRIBUTE_THUMBNAILING_FAILED_LARGE |
A key in the “thumbnail” namespace for checking if thumbnailing failed for the large image. |
FILE_ATTRIBUTE_THUMBNAILING_FAILED_NORMAL |
A key in the “thumbnail” namespace for checking if thumbnailing failed for the normal image. |
FILE_ATTRIBUTE_THUMBNAILING_FAILED_XLARGE |
A key in the “thumbnail” namespace for checking if thumbnailing failed for the x-large image. |
FILE_ATTRIBUTE_THUMBNAILING_FAILED_XXLARGE |
A key in the “thumbnail” namespace for checking if thumbnailing failed for the xx-large image. |
FILE_ATTRIBUTE_TIME_ACCESS |
A key in the “time” namespace for getting the time the file was last accessed. |
FILE_ATTRIBUTE_TIME_ACCESS_NSEC |
A key in the “time” namespace for getting the nanoseconds of the time the file was last accessed. This should be used in conjunction with G_FILE_ATTRIBUTE_TIME_ACCESS. Corresponding
|
FILE_ATTRIBUTE_TIME_ACCESS_USEC |
A key in the “time” namespace for getting the microseconds of the time the file was last accessed. |
FILE_ATTRIBUTE_TIME_CHANGED |
A key in the “time” namespace for getting the time the file was last changed. |
FILE_ATTRIBUTE_TIME_CHANGED_NSEC |
A key in the “time” namespace for getting the nanoseconds of the time the file was last changed. This should be used in conjunction with G_FILE_ATTRIBUTE_TIME_CHANGED. Corresponding
|
FILE_ATTRIBUTE_TIME_CHANGED_USEC |
A key in the “time” namespace for getting the microseconds of the time the file was last changed. |
FILE_ATTRIBUTE_TIME_CREATED |
A key in the “time” namespace for getting the time the file was created. |
FILE_ATTRIBUTE_TIME_CREATED_NSEC |
A key in the “time” namespace for getting the nanoseconds of the time the file was created. This should be used in conjunction with G_FILE_ATTRIBUTE_TIME_CREATED. Corresponding
|
FILE_ATTRIBUTE_TIME_CREATED_USEC |
A key in the “time” namespace for getting the microseconds of the time the file was created. |
FILE_ATTRIBUTE_TIME_MODIFIED |
A key in the “time” namespace for getting the time the file was last modified. |
FILE_ATTRIBUTE_TIME_MODIFIED_NSEC |
A key in the “time” namespace for getting the nanoseconds of the time the file was last modified. This should be used in conjunction with G_FILE_ATTRIBUTE_TIME_MODIFIED. Corresponding
|
FILE_ATTRIBUTE_TIME_MODIFIED_USEC |
A key in the “time” namespace for getting the microseconds of the time the file was last modified. |
FILE_ATTRIBUTE_TRASH_DELETION_DATE |
A key in the “trash” namespace for getting the deletion date and time
of a file inside the |
FILE_ATTRIBUTE_TRASH_ITEM_COUNT |
A key in the “trash” namespace for getting the number of (toplevel) items
that are present in the |
FILE_ATTRIBUTE_TRASH_ORIG_PATH |
A key in the “trash” namespace for getting the original path of a file
inside the |
FILE_ATTRIBUTE_UNIX_BLOCK_SIZE |
A key in the “unix” namespace for getting the block size for the file system. |
FILE_ATTRIBUTE_UNIX_BLOCKS |
A key in the “unix” namespace for getting the number of blocks allocated for the file. |
FILE_ATTRIBUTE_UNIX_DEVICE |
A key in the “unix” namespace for getting the device id of the device the
file is located on (see |
FILE_ATTRIBUTE_UNIX_GID |
A key in the “unix” namespace for getting the group ID for the file. |
FILE_ATTRIBUTE_UNIX_INODE |
A key in the “unix” namespace for getting the inode of the file. |
FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT |
A key in the “unix” namespace for checking if the file represents a UNIX mount point. |
FILE_ATTRIBUTE_UNIX_MODE |
A key in the “unix” namespace for getting the mode of the file (e.g. whether the file is a regular file, symlink, etc). |
FILE_ATTRIBUTE_UNIX_NLINK |
A key in the “unix” namespace for getting the number of hard links for a file. |
FILE_ATTRIBUTE_UNIX_RDEV |
A key in the “unix” namespace for getting the device ID for the file (if it is a special file). |
FILE_ATTRIBUTE_UNIX_UID |
A key in the “unix” namespace for getting the user ID for the file. |
MEMORY_MONITOR_EXTENSION_POINT_NAME |
Extension point for memory usage monitoring functionality. See [Extending GIO][extending-gio]. |
MENU_ATTRIBUTE_ACTION |
The menu item attribute which holds the action name of the item. Action names are namespaced with an identifier for the action group in which the action resides. For example, “win.” for window-specific actions and “app.” for application-wide actions. |
MENU_ATTRIBUTE_ACTION_NAMESPACE |
The menu item attribute that holds the namespace for all action names in menus that are linked from this item. |
MENU_ATTRIBUTE_ICON |
The menu item attribute which holds the icon of the item. |
MENU_ATTRIBUTE_LABEL |
The menu item attribute which holds the label of the item. |
MENU_ATTRIBUTE_TARGET |
The menu item attribute which holds the target with which the item’s action will be activated. |
MENU_EXPORTER_MAX_SECTION_SIZE |
The maximum number of entries in a menu section supported by g_dbus_connection_export_menu_model(). |
MENU_LINK_SECTION |
The name of the link that associates a menu item with a section. The linked menu will usually be shown in place of the menu item, using the item’s label as a header. |
MENU_LINK_SUBMENU |
The name of the link that associates a menu item with a submenu. |
NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME | |
NETWORK_MONITOR_EXTENSION_POINT_NAME |
Extension point for network status monitoring functionality. See [Extending GIO][extending-gio]. |
POWER_PROFILE_MONITOR_EXTENSION_POINT_NAME |
Extension point for power profile usage monitoring functionality. See [Extending GIO][extending-gio]. |
PROXY_EXTENSION_POINT_NAME |
Extension point for proxy functionality. See [Extending GIO][extending-gio]. |
PROXY_RESOLVER_EXTENSION_POINT_NAME |
Extension point for proxy resolving functionality. See [Extending GIO][extending-gio]. |
SETTINGS_BACKEND_EXTENSION_POINT_NAME |
Extension point for |
TLS_BACKEND_EXTENSION_POINT_NAME |
Extension point for TLS functionality via |
TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT |
The purpose used to verify the client certificate in a TLS connection. Used by TLS servers. |
TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER |
The purpose used to verify the server certificate in a TLS connection. This is the most common purpose in use. Used by TLS clients. |
VFS_EXTENSION_POINT_NAME |
Extension point for |
VOLUME_IDENTIFIER_KIND_CLASS |
The string used to obtain the volume class with g_volume_get_identifier(). |
VOLUME_IDENTIFIER_KIND_HAL_UDI |
The string used to obtain a Hal UDI with g_volume_get_identifier(). deprecated: 2.58 |
VOLUME_IDENTIFIER_KIND_LABEL |
The string used to obtain a filesystem label with g_volume_get_identifier(). |
VOLUME_IDENTIFIER_KIND_NFS_MOUNT |
The string used to obtain a NFS mount with g_volume_get_identifier(). |
VOLUME_IDENTIFIER_KIND_UNIX_DEVICE |
The string used to obtain a Unix device path with g_volume_get_identifier(). |
VOLUME_IDENTIFIER_KIND_UUID |
The string used to obtain a UUID with g_volume_get_identifier(). |
VOLUME_MONITOR_EXTENSION_POINT_NAME |
Extension point for volume monitor functionality. See [Extending GIO][extending-gio]. |