Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include <gio/gioenums.h>
Go to the source code of this file.
Data Structures | |
struct | _GInputVector |
struct | _GInputMessage |
struct | _GOutputVector |
struct | _GOutputMessage |
typedef struct _GAction GAction |
Definition at line 58 of file giotypes.h.
typedef struct _GActionGroup GActionGroup |
Definition at line 55 of file giotypes.h.
typedef struct _GActionMap GActionMap |
Definition at line 54 of file giotypes.h.
typedef struct _GAppInfo GAppInfo |
Definition at line 35 of file giotypes.h.
typedef typedefG_BEGIN_DECLS struct _GAppLaunchContext GAppLaunchContext |
Definition at line 34 of file giotypes.h.
typedef struct _GApplication GApplication |
Definition at line 59 of file giotypes.h.
typedef struct _GApplicationCommandLine GApplicationCommandLine |
Definition at line 60 of file giotypes.h.
typedef struct _GAsyncInitable GAsyncInitable |
Definition at line 37 of file giotypes.h.
typedef void(* GAsyncReadyCallback) (GObject *source_object, GAsyncResult *res, gpointer data) |
GAsyncReadyCallback: @source_object: (nullable): the object the asynchronous operation was started with. @res: a GAsyncResult. @data: user data passed to the callback.
Type definition for a function that will be called back when an asynchronous operation within GIO has been completed. GAsyncReadyCallback callbacks from GTask are guaranteed to be invoked in a later iteration of the [thread-default main context][g-main-context-push-thread-default] where the GTask was created. All other users of GAsyncReadyCallback must likewise call it asynchronously in a later iteration of the main context.
The asynchronous operation is guaranteed to have held a reference to @source_object from the time when the *_async()
function was called, until after this callback returns.
Definition at line 190 of file giotypes.h.
typedef struct _GAsyncResult GAsyncResult |
Definition at line 36 of file giotypes.h.
typedef struct _GBufferedInputStream GBufferedInputStream |
Definition at line 38 of file giotypes.h.
typedef struct _GBufferedOutputStream GBufferedOutputStream |
Definition at line 39 of file giotypes.h.
typedef struct _GBytesIcon GBytesIcon |
Definition at line 114 of file giotypes.h.
typedef struct _GCancellable GCancellable |
Definition at line 40 of file giotypes.h.
typedef gboolean(* GCancellableSourceFunc) (GCancellable *cancellable, gpointer data) |
GCancellableSourceFunc: @cancellable: the GCancellable @data: data passed in by the user.
This is the function type of the callback used for the GSource returned by g_cancellable_source_new().
Returns: it should return FALSE if the source should be removed.
Since: 2.28
Definition at line 496 of file giotypes.h.
typedef struct _GCharsetConverter GCharsetConverter |
Definition at line 41 of file giotypes.h.
typedef struct _GConverter GConverter |
Definition at line 42 of file giotypes.h.
typedef struct _GConverterInputStream GConverterInputStream |
Definition at line 43 of file giotypes.h.
typedef struct _GConverterOutputStream GConverterOutputStream |
Definition at line 44 of file giotypes.h.
typedef struct _GCredentials GCredentials |
Definition at line 464 of file giotypes.h.
typedef struct _GDatagramBased GDatagramBased |
Definition at line 45 of file giotypes.h.
typedef gboolean(* GDatagramBasedSourceFunc) (GDatagramBased *datagram_based, GIOCondition condition, gpointer data) |
GDatagramBasedSourceFunc: @datagram_based: the GDatagramBased @condition: the current condition at the source fired @data: data passed in by the user
This is the function type of the callback used for the GSource returned by g_datagram_based_create_source().
Returns: G_SOURCE_REMOVE if the source should be removed, G_SOURCE_CONTINUE otherwise
Since: 2.48
Definition at line 333 of file giotypes.h.
typedef struct _GDataInputStream GDataInputStream |
Definition at line 46 of file giotypes.h.
typedef struct _GDBusActionGroup GDBusActionGroup |
Definition at line 53 of file giotypes.h.
typedef struct _GDBusAnnotationInfo GDBusAnnotationInfo |
Definition at line 476 of file giotypes.h.
typedef struct _GDBusArgInfo GDBusArgInfo |
Definition at line 477 of file giotypes.h.
typedef struct _GDBusAuthObserver GDBusAuthObserver |
Definition at line 472 of file giotypes.h.
typedef struct _GDBusConnection GDBusConnection |
Definition at line 468 of file giotypes.h.
typedef struct _GDBusErrorEntry GDBusErrorEntry |
Definition at line 473 of file giotypes.h.
typedef struct _GDBusInterface GDBusInterface |
Definition at line 515 of file giotypes.h.
typedef struct _GDBusInterfaceInfo GDBusInterfaceInfo |
Definition at line 481 of file giotypes.h.
typedef struct _GDBusInterfaceSkeleton GDBusInterfaceSkeleton |
Definition at line 516 of file giotypes.h.
typedef struct _GDBusInterfaceVTable GDBusInterfaceVTable |
Definition at line 474 of file giotypes.h.
typedef struct _GDBusMessage GDBusMessage |
Definition at line 467 of file giotypes.h.
typedef struct _GDBusMethodInfo GDBusMethodInfo |
Definition at line 478 of file giotypes.h.
typedef struct _GDBusMethodInvocation GDBusMethodInvocation |
Definition at line 470 of file giotypes.h.
typedef struct _GDBusNodeInfo GDBusNodeInfo |
Definition at line 482 of file giotypes.h.
typedef struct _GDBusObject GDBusObject |
Definition at line 517 of file giotypes.h.
typedef struct _GDBusObjectManager GDBusObjectManager |
Definition at line 520 of file giotypes.h.
typedef struct _GDBusObjectManagerClient GDBusObjectManagerClient |
Definition at line 521 of file giotypes.h.
typedef struct _GDBusObjectManagerServer GDBusObjectManagerServer |
Definition at line 522 of file giotypes.h.
typedef struct _GDBusObjectProxy GDBusObjectProxy |
Definition at line 519 of file giotypes.h.
typedef struct _GDBusObjectSkeleton GDBusObjectSkeleton |
Definition at line 518 of file giotypes.h.
typedef struct _GDBusPropertyInfo GDBusPropertyInfo |
Definition at line 480 of file giotypes.h.
typedef struct _GDBusProxy GDBusProxy |
Definition at line 469 of file giotypes.h.
typedef GType(* GDBusProxyTypeFunc) (GDBusObjectManagerClient *manager, const gchar *object_path, const gchar *interface_name, gpointer data) |
GDBusProxyTypeFunc: @manager: A GDBusObjectManagerClient. @object_path: The object path of the remote object. @interface_name: (nullable): The interface name of the remote object or NULL if a GDBusObjectProxy GType is requested. @data: data passed in by the user.
Function signature for a function used to determine the GType to use for an interface proxy (if @interface_name is not NULL) or object proxy (if @interface_name is NULL).
This function is called in the [thread-default main loop][g-main-context-push-thread-default] that @manager was constructed in.
Returns: A GType to use for the remote object. The returned type must be a GDBusProxy or GDBusObjectProxy -derived type.
Since: 2.30
Definition at line 545 of file giotypes.h.
typedef struct _GDBusServer GDBusServer |
Definition at line 471 of file giotypes.h.
typedef struct _GDBusSignalInfo GDBusSignalInfo |
Definition at line 479 of file giotypes.h.
typedef struct _GDBusSubtreeVTable GDBusSubtreeVTable |
Definition at line 475 of file giotypes.h.
typedef struct _GDrive GDrive |
Definition at line 68 of file giotypes.h.
typedef struct _GDtlsClientConnection GDtlsClientConnection |
Definition at line 150 of file giotypes.h.
typedef struct _GDtlsConnection GDtlsConnection |
Definition at line 149 of file giotypes.h.
typedef struct _GDtlsServerConnection GDtlsServerConnection |
Definition at line 151 of file giotypes.h.
typedef struct _GFile GFile |
Definition at line 74 of file giotypes.h.
typedef struct _GFileAttributeInfo GFileAttributeInfo |
Definition at line 83 of file giotypes.h.
typedef struct _GFileAttributeInfoList GFileAttributeInfoList |
Definition at line 84 of file giotypes.h.
typedef struct _GFileAttributeMatcher GFileAttributeMatcher |
GFileAttributeMatcher:
Determines if a string matches a file attribute.
Definition at line 82 of file giotypes.h.
typedef struct _GFileEnumerator GFileEnumerator |
Definition at line 69 of file giotypes.h.
typedef struct _GFileIcon GFileIcon |
Definition at line 88 of file giotypes.h.
typedef struct _GFileInfo GFileInfo |
Definition at line 75 of file giotypes.h.
typedef struct _GFileInputStream GFileInputStream |
Definition at line 85 of file giotypes.h.
typedef struct _GFileIOStream GFileIOStream |
Definition at line 87 of file giotypes.h.
typedef void(* GFileMeasureProgressCallback) (gboolean reporting, guint64 current_size, guint64 num_dirs, guint64 num_files, gpointer data) |
GFileMeasureProgressCallback: @reporting: TRUE if more reports will come @current_size: the current cumulative size measurement @num_dirs: the number of directories visited so far @num_files: the number of non-directory files encountered @data: the data passed to the original request for this callback
This callback type is used by g_file_measure_disk_usage() to make periodic progress reports when measuring the amount of disk spaced used by a directory.
These calls are made on a best-effort basis and not all types of GFile will support them. At the minimum, however, one call will always be made immediately.
In the case that there is no support, @reporting will be set to FALSE (and the other values undefined) and no further calls will be made. Otherwise, the @reporting will be TRUE and the other values all-zeros during the first (immediate) call. In this way, you can know which type of progress UI to show without a delay.
For g_file_measure_disk_usage() the callback is made directly. For g_file_measure_disk_usage_async() the callback is made via the default main context of the calling thread (ie: the same way that the final async result would be reported).
@current_size is in the same units as requested by the operation (see G_FILE_MEASURE_APPARENT_SIZE).
The frequency of the updates is implementation defined, but is ideally about once every 200ms.
The last progress callback may or may not be equal to the final result. Always check the async result to get the final value.
Since: 2.38
Definition at line 263 of file giotypes.h.
typedef struct _GFileMonitor GFileMonitor |
Definition at line 70 of file giotypes.h.
typedef struct _GFilenameCompleter GFilenameCompleter |
Definition at line 89 of file giotypes.h.
typedef struct _GFileOutputStream GFileOutputStream |
Definition at line 86 of file giotypes.h.
typedef void(* GFileProgressCallback) (goffset current_num_bytes, goffset total_num_bytes, gpointer data) |
GFileProgressCallback: @current_num_bytes: the current number of bytes in the operation. @total_num_bytes: the total number of bytes in the operation. @data: user data passed to the callback.
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.
Definition at line 204 of file giotypes.h.
typedef gboolean(* GFileReadMoreCallback) (const char *file_contents, goffset file_size, gpointer callback_data) |
GFileReadMoreCallback: @file_contents: the data as currently read. @file_size: the size of the data currently read. @callback_data: data passed to the callback.
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 GFileReadMoreCallback function facilitates this by returning TRUE if more data should be read, or FALSE otherwise.
Returns: TRUE if more data should be read back. FALSE otherwise.
Definition at line 221 of file giotypes.h.
typedef struct _GFilterInputStream GFilterInputStream |
Definition at line 71 of file giotypes.h.
typedef struct _GFilterOutputStream GFilterOutputStream |
Definition at line 72 of file giotypes.h.
typedef struct _GIcon GIcon |
Definition at line 92 of file giotypes.h.
typedef struct _GInetAddress GInetAddress |
Definition at line 93 of file giotypes.h.
typedef struct _GInetAddressMask GInetAddressMask |
Definition at line 94 of file giotypes.h.
typedef struct _GInetSocketAddress GInetSocketAddress |
Definition at line 95 of file giotypes.h.
typedef struct _GInitable GInitable |
Definition at line 98 of file giotypes.h.
typedef struct _GInputMessage GInputMessage |
GInputMessage: @address: (optional) (out) (transfer full): return location for a GSocketAddress, or NULL @vectors: (array length=num_vectors) (out): pointer to an array of input vectors @num_vectors: the number of input vectors pointed to by @vectors @bytes_received: (out): will be set to the number of bytes that have been received @flags: (out): collection of GSocketMsgFlags for the received message, outputted by the call @control_messages: (array length=num_control_messages) (optional) (out) (transfer full): return location for a caller-allocated array of #GSocketControlMessages, or NULL @num_control_messages: (out) (optional): return location for the number of elements in @control_messages
Structure used for scatter/gather data input when receiving multiple messages or packets in one go. You generally pass in an array of empty #GInputVectors and the operation will use all the buffers as if they were one buffer, and will set @bytes_received to the total number of bytes received across all #GInputVectors.
This structure closely mirrors struct mmsghdr
and struct msghdr
from the POSIX sockets API (see man 2 recvmmsg
).
If @address is non-NULL then it is set to the source address the message was received from, and the caller must free it afterwards.
If @control_messages is non-NULL then it is set to an array of control messages received with the message (if any), and the caller must free it afterwards. @num_control_messages is set to the number of elements in this array, which may be zero.
Flags relevant to this message will be returned in @flags. For example, MSG_EOR
or MSG_TRUNC
.
Since: 2.48
Definition at line 395 of file giotypes.h.
typedef struct _GInputStream GInputStream |
Definition at line 97 of file giotypes.h.
typedef struct _GInputVector GInputVector |
GInputVector: @buffer: Pointer to a buffer where data will be written. @size: the available size in @buffer.
Structure used for scatter/gather data input. You generally pass in an array of #GInputVectors and the operation will store the read data starting in the first buffer, switching to the next as needed.
Since: 2.22
Definition at line 349 of file giotypes.h.
typedef struct _GIOExtension GIOExtension |
Definition at line 101 of file giotypes.h.
typedef struct _GIOExtensionPoint GIOExtensionPoint |
Definition at line 100 of file giotypes.h.
typedef struct _GIOModule GIOModule |
Definition at line 99 of file giotypes.h.
typedef struct _GIOSchedulerJob GIOSchedulerJob |
GIOSchedulerJob:
Opaque class for defining and scheduling IO jobs.
Deprecated: 2.36: Use [struc.nosp@m.t@GL.nosp@m.ib.Th.nosp@m.read.nosp@m.Pool] or [metho.nosp@m.d@Gi.nosp@m.o.Tas.nosp@m.k.ru.nosp@m.n_in_.nosp@m.thre.nosp@m.ad]
Definition at line 111 of file giotypes.h.
typedef gboolean(* GIOSchedulerJobFunc) (GIOSchedulerJob *job, GCancellable *cancellable, gpointer data) |
GIOSchedulerJobFunc: @job: a GIOSchedulerJob. @cancellable: optional GCancellable object, NULL to ignore. @data: data passed to the callback function
I/O Job function.
Long-running jobs should periodically check the @cancellable to see if they have been cancelled.
Returns: TRUE if this function should be called again to complete the job, FALSE if the job is complete (or cancelled) Deprecated: 2.36: Use [struc.nosp@m.t@GL.nosp@m.ib.Th.nosp@m.read.nosp@m.Pool] or [metho.nosp@m.d@Gi.nosp@m.o.Tas.nosp@m.k.ru.nosp@m.n_in_.nosp@m.thre.nosp@m.ad]
Definition at line 285 of file giotypes.h.
typedef struct _GIOStream GIOStream |
Definition at line 124 of file giotypes.h.
typedef struct _GIOStreamAdapter GIOStreamAdapter |
Definition at line 112 of file giotypes.h.
typedef struct _GLoadableIcon GLoadableIcon |
Definition at line 113 of file giotypes.h.
typedef struct _GMemoryInputStream GMemoryInputStream |
Definition at line 115 of file giotypes.h.
typedef struct _GMemoryOutputStream GMemoryOutputStream |
Definition at line 116 of file giotypes.h.
typedef struct _GMenuModel GMenuModel |
Definition at line 65 of file giotypes.h.
typedef struct _GMount GMount |
Definition at line 118 of file giotypes.h.
typedef struct _GMountOperation GMountOperation |
Definition at line 119 of file giotypes.h.
typedef struct _GNativeSocketAddress GNativeSocketAddress |
Definition at line 96 of file giotypes.h.
typedef struct _GNetworkAddress GNetworkAddress |
Definition at line 120 of file giotypes.h.
typedef struct _GNetworkMonitor GNetworkMonitor |
Definition at line 121 of file giotypes.h.
typedef struct _GNetworkService GNetworkService |
Definition at line 122 of file giotypes.h.
typedef struct _GNotification GNotification |
Definition at line 66 of file giotypes.h.
typedef struct _GOutputMessage GOutputMessage |
GOutputMessage: @address: (nullable): a GSocketAddress, or NULL @vectors: pointer to an array of output vectors @num_vectors: the number of output vectors pointed to by @vectors. @bytes_sent: initialize to 0. Will be set to the number of bytes that have been sent @control_messages: (array length=num_control_messages) (nullable): a pointer to an array of #GSocketControlMessages, or NULL. @num_control_messages: number of elements in @control_messages.
Structure used for scatter/gather data output when sending multiple messages or packets in one go. You generally pass in an array of #GOutputVectors and the operation will use all the buffers as if they were one buffer.
If @address is NULL then the message is sent to the default receiver (as previously set by g_socket_connect()).
Since: 2.44
Definition at line 450 of file giotypes.h.
typedef struct _GOutputStream GOutputStream |
Definition at line 123 of file giotypes.h.
typedef struct _GOutputVector GOutputVector |
GOutputVector: @buffer: Pointer to a buffer of data to read. @size: the size of @buffer.
Structure used for scatter/gather data output. You generally pass in an array of #GOutputVectors and the operation will use all the buffers as if they were one buffer.
Since: 2.22
Definition at line 422 of file giotypes.h.
typedef struct _GPermission GPermission |
Definition at line 63 of file giotypes.h.
typedef struct _GPollableInputStream GPollableInputStream |
Definition at line 126 of file giotypes.h.
typedef struct _GPollableOutputStream GPollableOutputStream |
Definition at line 127 of file giotypes.h.
GPollableSourceFunc: @pollable_stream: the GPollableInputStream or GPollableOutputStream @data: data passed in by the user.
This is the function type of the callback used for the GSource returned by g_pollable_input_stream_create_source() and g_pollable_output_stream_create_source().
Returns: it should return FALSE if the source should be removed.
Since: 2.28
Definition at line 512 of file giotypes.h.
typedef struct _GPropertyAction GPropertyAction |
Definition at line 56 of file giotypes.h.
typedef struct _GProxy GProxy |
Definition at line 164 of file giotypes.h.
typedef struct _GProxyAddress GProxyAddress |
Definition at line 165 of file giotypes.h.
typedef struct _GProxyAddressEnumerator GProxyAddressEnumerator |
Definition at line 166 of file giotypes.h.
typedef struct _GProxyResolver GProxyResolver |
Definition at line 163 of file giotypes.h.
typedef struct _GRemoteActionGroup GRemoteActionGroup |
Definition at line 52 of file giotypes.h.
typedef struct _GResolver GResolver |
Definition at line 128 of file giotypes.h.
typedef struct _GResource GResource |
Definition at line 130 of file giotypes.h.
typedef struct _GSeekable GSeekable |
Definition at line 131 of file giotypes.h.
typedef struct _GSettings GSettings |
Definition at line 62 of file giotypes.h.
typedef struct _GSettingsBackend GSettingsBackend |
Definition at line 61 of file giotypes.h.
typedef struct _GSimpleAction GSimpleAction |
Definition at line 57 of file giotypes.h.
typedef struct _GSimpleActionGroup GSimpleActionGroup |
Definition at line 51 of file giotypes.h.
typedef struct _GSimpleAsyncResult GSimpleAsyncResult |
Definition at line 132 of file giotypes.h.
typedef void(* GSimpleAsyncThreadFunc) (GSimpleAsyncResult *res, GObject *object, GCancellable *cancellable) |
GSimpleAsyncThreadFunc: @res: a GSimpleAsyncResult. @object: a GObject. @cancellable: optional GCancellable object, NULL to ignore.
Simple thread function that runs an asynchronous operation and checks for cancellation.
Definition at line 298 of file giotypes.h.
typedef struct _GSimpleIOStream GSimpleIOStream |
Definition at line 125 of file giotypes.h.
typedef struct _GSimplePermission GSimplePermission |
Definition at line 47 of file giotypes.h.
Definition at line 134 of file giotypes.h.
typedef struct _GSocketAddress GSocketAddress |
Definition at line 141 of file giotypes.h.
typedef struct _GSocketAddressEnumerator GSocketAddressEnumerator |
Definition at line 142 of file giotypes.h.
typedef struct _GSocketClient GSocketClient |
Definition at line 137 of file giotypes.h.
typedef struct _GSocketConnectable GSocketConnectable |
Definition at line 143 of file giotypes.h.
typedef struct _GSocketConnection GSocketConnection |
Definition at line 138 of file giotypes.h.
typedef struct _GSocketControlMessage GSocketControlMessage |
Definition at line 136 of file giotypes.h.
typedef struct _GSocketListener GSocketListener |
Definition at line 139 of file giotypes.h.
typedef struct _GSocketService GSocketService |
Definition at line 140 of file giotypes.h.
typedef gboolean(* GSocketSourceFunc) (GSocket *socket, GIOCondition condition, gpointer data) |
GSocketSourceFunc: @socket: the GSocket @condition: the current condition at the source fired. @data: data passed in by the user.
This is the function type of the callback used for the GSource returned by g_socket_create_source().
Returns: it should return FALSE if the source should be removed.
Since: 2.22
Definition at line 315 of file giotypes.h.
typedef struct _GSrvTarget GSrvTarget |
Definition at line 144 of file giotypes.h.
typedef struct _GSubprocess GSubprocess |
Definition at line 552 of file giotypes.h.
typedef struct _GSubprocessLauncher GSubprocessLauncher |
Definition at line 553 of file giotypes.h.
typedef struct _GTask GTask |
Definition at line 145 of file giotypes.h.
typedef struct _GTcpConnection GTcpConnection |
Definition at line 146 of file giotypes.h.
typedef struct _GTcpWrapperConnection GTcpWrapperConnection |
Definition at line 147 of file giotypes.h.
typedef struct _GTestDBus GTestDBus |
Definition at line 550 of file giotypes.h.
typedef struct _GThemedIcon GThemedIcon |
Definition at line 152 of file giotypes.h.
typedef struct _GThreadedSocketService GThreadedSocketService |
Definition at line 148 of file giotypes.h.
typedef struct _GTlsCertificate GTlsCertificate |
Definition at line 153 of file giotypes.h.
typedef struct _GTlsClientConnection GTlsClientConnection |
Definition at line 154 of file giotypes.h.
typedef struct _GTlsConnection GTlsConnection |
Definition at line 155 of file giotypes.h.
typedef struct _GTlsDatabase GTlsDatabase |
Definition at line 156 of file giotypes.h.
typedef struct _GTlsFileDatabase GTlsFileDatabase |
Definition at line 157 of file giotypes.h.
typedef struct _GTlsInteraction GTlsInteraction |
Definition at line 158 of file giotypes.h.
typedef struct _GTlsPassword GTlsPassword |
Definition at line 159 of file giotypes.h.
typedef struct _GTlsServerConnection GTlsServerConnection |
Definition at line 160 of file giotypes.h.
typedef struct _GUnixCredentialsMessage GUnixCredentialsMessage |
Definition at line 465 of file giotypes.h.
typedef struct _GUnixFDList GUnixFDList |
Definition at line 466 of file giotypes.h.
Definition at line 161 of file giotypes.h.
typedef struct _GVolume GVolume |
Definition at line 168 of file giotypes.h.
typedef struct _GVolumeMonitor GVolumeMonitor |
Definition at line 169 of file giotypes.h.
typedef struct _GZlibCompressor GZlibCompressor |
Definition at line 48 of file giotypes.h.
typedef struct _GZlibDecompressor GZlibDecompressor |
Definition at line 49 of file giotypes.h.