Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gresource.h File Reference
#include <gio/giotypes.h>

Go to the source code of this file.

Data Structures

struct  _GStaticResource
 

Macros

#define G_TYPE_RESOURCE   (g_resource_get_type ())
 
#define G_RESOURCE_ERROR   (g_resource_error_quark ())
 

Typedefs

typedef struct _GStaticResource GStaticResource
 

Functions

GIO_AVAILABLE_IN_2_32 GQuark g_resource_error_quark (void)
 
GIO_AVAILABLE_IN_2_32 GType g_resource_get_type (void) G_GNUC_CONST
 
GIO_AVAILABLE_IN_2_32 GResourceg_resource_new_from_data (GBytes *data, GError **error)
 
GIO_AVAILABLE_IN_2_32 GResourceg_resource_ref (GResource *resource)
 
GIO_AVAILABLE_IN_2_32 void g_resource_unref (GResource *resource)
 
GIO_AVAILABLE_IN_2_32 GResourceg_resource_load (const gchar *filename, GError **error)
 
GIO_AVAILABLE_IN_2_32 GInputStreamg_resource_open_stream (GResource *resource, const char *path, GResourceLookupFlags lookup_flags, GError **error)
 
GIO_AVAILABLE_IN_2_32 GBytesg_resource_lookup_data (GResource *resource, const char *path, GResourceLookupFlags lookup_flags, GError **error)
 
GIO_AVAILABLE_IN_2_32 char ** g_resource_enumerate_children (GResource *resource, const char *path, GResourceLookupFlags lookup_flags, GError **error)
 
GIO_AVAILABLE_IN_2_32 gboolean g_resource_get_info (GResource *resource, const char *path, GResourceLookupFlags lookup_flags, gsize *size, guint32 *flags, GError **error)
 
GIO_AVAILABLE_IN_2_32 void g_resources_register (GResource *resource)
 
GIO_AVAILABLE_IN_2_32 void g_resources_unregister (GResource *resource)
 
GIO_AVAILABLE_IN_2_32 GInputStreamg_resources_open_stream (const char *path, GResourceLookupFlags lookup_flags, GError **error)
 
GIO_AVAILABLE_IN_2_32 GBytesg_resources_lookup_data (const char *path, GResourceLookupFlags lookup_flags, GError **error)
 
GIO_AVAILABLE_IN_2_32 char ** g_resources_enumerate_children (const char *path, GResourceLookupFlags lookup_flags, GError **error)
 
GIO_AVAILABLE_IN_2_32 gboolean g_resources_get_info (const char *path, GResourceLookupFlags lookup_flags, gsize *size, guint32 *flags, GError **error)
 
GIO_AVAILABLE_IN_2_32 void g_static_resource_init (GStaticResource *static_resource)
 
GIO_AVAILABLE_IN_2_32 void g_static_resource_fini (GStaticResource *static_resource)
 
GIO_AVAILABLE_IN_2_32 GResourceg_static_resource_get_resource (GStaticResource *static_resource)
 

Macro Definition Documentation

◆ G_RESOURCE_ERROR

#define G_RESOURCE_ERROR   (g_resource_error_quark ())

G_RESOURCE_ERROR:

Error domain for GResource. Errors in this domain will be from the GResourceError enumeration. See #GError for more information on error domains.

Definition at line 49 of file gresource.h.

◆ G_TYPE_RESOURCE

#define G_TYPE_RESOURCE   (g_resource_get_type ())

G_TYPE_RESOURCE:

The GType for GResource.

Definition at line 39 of file gresource.h.

Typedef Documentation

◆ GStaticResource

Definition at line 53 of file gresource.h.

Function Documentation

◆ g_resource_enumerate_children()

GIO_AVAILABLE_IN_2_32 char ** g_resource_enumerate_children ( GResource * resource,
const char * path,
GResourceLookupFlags lookup_flags,
GError ** error )

◆ g_resource_error_quark()

GIO_AVAILABLE_IN_2_32 GQuark g_resource_error_quark ( void )

◆ g_resource_get_info()

GIO_AVAILABLE_IN_2_32 gboolean g_resource_get_info ( GResource * resource,
const char * path,
GResourceLookupFlags lookup_flags,
gsize * size,
guint32 * flags,
GError ** error )

◆ g_resource_get_type()

GIO_AVAILABLE_IN_2_32 GType g_resource_get_type ( void )

◆ g_resource_load()

GIO_AVAILABLE_IN_2_32 GResource * g_resource_load ( const gchar * filename,
GError ** error )

◆ g_resource_lookup_data()

GIO_AVAILABLE_IN_2_32 GBytes * g_resource_lookup_data ( GResource * resource,
const char * path,
GResourceLookupFlags lookup_flags,
GError ** error )

◆ g_resource_new_from_data()

GIO_AVAILABLE_IN_2_32 GResource * g_resource_new_from_data ( GBytes * data,
GError ** error )

◆ g_resource_open_stream()

GIO_AVAILABLE_IN_2_32 GInputStream * g_resource_open_stream ( GResource * resource,
const char * path,
GResourceLookupFlags lookup_flags,
GError ** error )

◆ g_resource_ref()

GIO_AVAILABLE_IN_2_32 GResource * g_resource_ref ( GResource * resource)

◆ g_resource_unref()

GIO_AVAILABLE_IN_2_32 void g_resource_unref ( GResource * resource)

◆ g_resources_enumerate_children()

GIO_AVAILABLE_IN_2_32 char ** g_resources_enumerate_children ( const char * path,
GResourceLookupFlags lookup_flags,
GError ** error )

◆ g_resources_get_info()

GIO_AVAILABLE_IN_2_32 gboolean g_resources_get_info ( const char * path,
GResourceLookupFlags lookup_flags,
gsize * size,
guint32 * flags,
GError ** error )

◆ g_resources_lookup_data()

GIO_AVAILABLE_IN_2_32 GBytes * g_resources_lookup_data ( const char * path,
GResourceLookupFlags lookup_flags,
GError ** error )

◆ g_resources_open_stream()

GIO_AVAILABLE_IN_2_32 GInputStream * g_resources_open_stream ( const char * path,
GResourceLookupFlags lookup_flags,
GError ** error )

◆ g_resources_register()

GIO_AVAILABLE_IN_2_32 void g_resources_register ( GResource * resource)

◆ g_resources_unregister()

GIO_AVAILABLE_IN_2_32 void g_resources_unregister ( GResource * resource)

◆ g_static_resource_fini()

GIO_AVAILABLE_IN_2_32 void g_static_resource_fini ( GStaticResource * static_resource)

◆ g_static_resource_get_resource()

GIO_AVAILABLE_IN_2_32 GResource * g_static_resource_get_resource ( GStaticResource * static_resource)

◆ g_static_resource_init()

GIO_AVAILABLE_IN_2_32 void g_static_resource_init ( GStaticResource * static_resource)