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

Go to the source code of this file.

Macros

#define G_TYPE_UNIX_MOUNT_ENTRY   (g_unix_mount_entry_get_type ())
 
#define G_TYPE_UNIX_MOUNT_POINT   (g_unix_mount_point_get_type ())
 
#define G_TYPE_UNIX_MOUNT_MONITOR   (g_unix_mount_monitor_get_type ())
 
#define G_UNIX_MOUNT_MONITOR(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_UNIX_MOUNT_MONITOR, GUnixMountMonitor))
 
#define G_UNIX_MOUNT_MONITOR_CLASS(k)   (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_UNIX_MOUNT_MONITOR, GUnixMountMonitorClass))
 
#define G_IS_UNIX_MOUNT_MONITOR(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_UNIX_MOUNT_MONITOR))
 
#define G_IS_UNIX_MOUNT_MONITOR_CLASS(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_UNIX_MOUNT_MONITOR))
 

Typedefs

typedef typedefG_BEGIN_DECLS struct _GUnixMountEntry GUnixMountEntry
 
typedef struct _GUnixMountPoint GUnixMountPoint
 
typedef struct _GUnixMountMonitor GUnixMountMonitor
 
typedef struct _GUnixMountMonitorClass GUnixMountMonitorClass
 

Functions

GIO_AVAILABLE_IN_2_54 GType g_unix_mount_entry_get_type (void) G_GNUC_CONST
 
GIO_AVAILABLE_IN_2_54 GType g_unix_mount_point_get_type (void) G_GNUC_CONST
 
GIO_AVAILABLE_IN_ALL void g_unix_mount_free (GUnixMountEntry *mount_entry)
 
GIO_AVAILABLE_IN_2_54 GUnixMountEntryg_unix_mount_copy (GUnixMountEntry *mount_entry)
 
GIO_AVAILABLE_IN_ALL void g_unix_mount_point_free (GUnixMountPoint *mount_point)
 
GIO_AVAILABLE_IN_2_54 GUnixMountPointg_unix_mount_point_copy (GUnixMountPoint *mount_point)
 
GIO_AVAILABLE_IN_ALL gint g_unix_mount_compare (GUnixMountEntry *mount1, GUnixMountEntry *mount2)
 
GIO_AVAILABLE_IN_ALL const char * g_unix_mount_get_mount_path (GUnixMountEntry *mount_entry)
 
GIO_AVAILABLE_IN_ALL const char * g_unix_mount_get_device_path (GUnixMountEntry *mount_entry)
 
GIO_AVAILABLE_IN_2_60 const char * g_unix_mount_get_root_path (GUnixMountEntry *mount_entry)
 
GIO_AVAILABLE_IN_ALL const char * g_unix_mount_get_fs_type (GUnixMountEntry *mount_entry)
 
GIO_AVAILABLE_IN_2_58 const char * g_unix_mount_get_options (GUnixMountEntry *mount_entry)
 
GIO_AVAILABLE_IN_ALL gboolean g_unix_mount_is_readonly (GUnixMountEntry *mount_entry)
 
GIO_AVAILABLE_IN_ALL gboolean g_unix_mount_is_system_internal (GUnixMountEntry *mount_entry)
 
GIO_AVAILABLE_IN_ALL gboolean g_unix_mount_guess_can_eject (GUnixMountEntry *mount_entry)
 
GIO_AVAILABLE_IN_ALL gboolean g_unix_mount_guess_should_display (GUnixMountEntry *mount_entry)
 
GIO_AVAILABLE_IN_ALL char * g_unix_mount_guess_name (GUnixMountEntry *mount_entry)
 
GIO_AVAILABLE_IN_ALL GIcong_unix_mount_guess_icon (GUnixMountEntry *mount_entry)
 
GIO_AVAILABLE_IN_ALL GIcong_unix_mount_guess_symbolic_icon (GUnixMountEntry *mount_entry)
 
GIO_AVAILABLE_IN_ALL gint g_unix_mount_point_compare (GUnixMountPoint *mount1, GUnixMountPoint *mount2)
 
GIO_AVAILABLE_IN_ALL const char * g_unix_mount_point_get_mount_path (GUnixMountPoint *mount_point)
 
GIO_AVAILABLE_IN_ALL const char * g_unix_mount_point_get_device_path (GUnixMountPoint *mount_point)
 
GIO_AVAILABLE_IN_ALL const char * g_unix_mount_point_get_fs_type (GUnixMountPoint *mount_point)
 
GIO_AVAILABLE_IN_2_32 const char * g_unix_mount_point_get_options (GUnixMountPoint *mount_point)
 
GIO_AVAILABLE_IN_ALL gboolean g_unix_mount_point_is_readonly (GUnixMountPoint *mount_point)
 
GIO_AVAILABLE_IN_ALL gboolean g_unix_mount_point_is_user_mountable (GUnixMountPoint *mount_point)
 
GIO_AVAILABLE_IN_ALL gboolean g_unix_mount_point_is_loopback (GUnixMountPoint *mount_point)
 
GIO_AVAILABLE_IN_ALL gboolean g_unix_mount_point_guess_can_eject (GUnixMountPoint *mount_point)
 
GIO_AVAILABLE_IN_ALL char * g_unix_mount_point_guess_name (GUnixMountPoint *mount_point)
 
GIO_AVAILABLE_IN_ALL GIcong_unix_mount_point_guess_icon (GUnixMountPoint *mount_point)
 
GIO_AVAILABLE_IN_ALL GIcong_unix_mount_point_guess_symbolic_icon (GUnixMountPoint *mount_point)
 
GIO_AVAILABLE_IN_ALL GListg_unix_mount_points_get (guint64 *time_read)
 
GIO_AVAILABLE_IN_2_82 GUnixMountPoint ** g_unix_mount_points_get_from_file (const char *table_path, uint64_t *time_read_out, size_t *n_points_out)
 
GIO_AVAILABLE_IN_2_66 GUnixMountPointg_unix_mount_point_at (const char *mount_path, guint64 *time_read)
 
GIO_AVAILABLE_IN_ALL GListg_unix_mounts_get (guint64 *time_read)
 
GIO_AVAILABLE_IN_2_82 GUnixMountEntry ** g_unix_mounts_get_from_file (const char *table_path, uint64_t *time_read_out, size_t *n_entries_out)
 
GIO_AVAILABLE_IN_ALL GUnixMountEntryg_unix_mount_at (const char *mount_path, guint64 *time_read)
 
GIO_AVAILABLE_IN_2_52 GUnixMountEntryg_unix_mount_for (const char *file_path, guint64 *time_read)
 
GIO_AVAILABLE_IN_ALL gboolean g_unix_mounts_changed_since (guint64 time)
 
GIO_AVAILABLE_IN_ALL gboolean g_unix_mount_points_changed_since (guint64 time)
 
GIO_AVAILABLE_IN_ALL GType g_unix_mount_monitor_get_type (void) G_GNUC_CONST
 
GIO_AVAILABLE_IN_2_44 GUnixMountMonitorg_unix_mount_monitor_get (void)
 
GUnixMountMonitorg_unix_mount_monitor_new (void)
 
GIO_DEPRECATED_IN_2_44 void g_unix_mount_monitor_set_rate_limit (GUnixMountMonitor *mount_monitor, int limit_msec)
 
GIO_AVAILABLE_IN_ALL gboolean g_unix_is_mount_path_system_internal (const char *mount_path)
 
GIO_AVAILABLE_IN_2_56 gboolean g_unix_is_system_fs_type (const char *fs_type)
 
GIO_AVAILABLE_IN_2_56 gboolean g_unix_is_system_device_path (const char *device_path)
 

Macro Definition Documentation

◆ G_IS_UNIX_MOUNT_MONITOR

#define G_IS_UNIX_MOUNT_MONITOR ( o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_UNIX_MOUNT_MONITOR))

Definition at line 66 of file gunixmounts.h.

◆ G_IS_UNIX_MOUNT_MONITOR_CLASS

#define G_IS_UNIX_MOUNT_MONITOR_CLASS ( k)    (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_UNIX_MOUNT_MONITOR))

Definition at line 67 of file gunixmounts.h.

◆ G_TYPE_UNIX_MOUNT_ENTRY

#define G_TYPE_UNIX_MOUNT_ENTRY   (g_unix_mount_entry_get_type ())

Definition at line 39 of file gunixmounts.h.

◆ G_TYPE_UNIX_MOUNT_MONITOR

#define G_TYPE_UNIX_MOUNT_MONITOR   (g_unix_mount_monitor_get_type ())

Definition at line 63 of file gunixmounts.h.

◆ G_TYPE_UNIX_MOUNT_POINT

#define G_TYPE_UNIX_MOUNT_POINT   (g_unix_mount_point_get_type ())

Definition at line 51 of file gunixmounts.h.

◆ G_UNIX_MOUNT_MONITOR

#define G_UNIX_MOUNT_MONITOR ( o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_UNIX_MOUNT_MONITOR, GUnixMountMonitor))

Definition at line 64 of file gunixmounts.h.

◆ G_UNIX_MOUNT_MONITOR_CLASS

#define G_UNIX_MOUNT_MONITOR_CLASS ( k)    (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_UNIX_MOUNT_MONITOR, GUnixMountMonitorClass))

Definition at line 65 of file gunixmounts.h.

Typedef Documentation

◆ GUnixMountEntry

typedef typedefG_BEGIN_DECLS struct _GUnixMountEntry GUnixMountEntry

GUnixMountEntry:

Defines a Unix mount entry (e.g. /media/cdrom). This corresponds roughly to a mtab entry.

Definition at line 37 of file gunixmounts.h.

◆ GUnixMountMonitor

typedef struct _GUnixMountMonitor GUnixMountMonitor

GUnixMountMonitor:

Watches #GUnixMounts for changes.

Definition at line 60 of file gunixmounts.h.

◆ GUnixMountMonitorClass

typedef struct _GUnixMountMonitorClass GUnixMountMonitorClass

Definition at line 61 of file gunixmounts.h.

◆ GUnixMountPoint

typedef struct _GUnixMountPoint GUnixMountPoint

GUnixMountPoint:

Defines a Unix mount point (e.g. /dev). This corresponds roughly to a fstab entry.

Definition at line 49 of file gunixmounts.h.

Function Documentation

◆ g_unix_is_mount_path_system_internal()

GIO_AVAILABLE_IN_ALL gboolean g_unix_is_mount_path_system_internal ( const char * mount_path)

◆ g_unix_is_system_device_path()

GIO_AVAILABLE_IN_2_56 gboolean g_unix_is_system_device_path ( const char * device_path)

◆ g_unix_is_system_fs_type()

GIO_AVAILABLE_IN_2_56 gboolean g_unix_is_system_fs_type ( const char * fs_type)

◆ g_unix_mount_at()

GIO_AVAILABLE_IN_ALL GUnixMountEntry * g_unix_mount_at ( const char * mount_path,
guint64 * time_read )

◆ g_unix_mount_compare()

GIO_AVAILABLE_IN_ALL gint g_unix_mount_compare ( GUnixMountEntry * mount1,
GUnixMountEntry * mount2 )

◆ g_unix_mount_copy()

GIO_AVAILABLE_IN_2_54 GUnixMountEntry * g_unix_mount_copy ( GUnixMountEntry * mount_entry)

◆ g_unix_mount_entry_get_type()

GIO_AVAILABLE_IN_2_54 GType g_unix_mount_entry_get_type ( void )

◆ g_unix_mount_for()

GIO_AVAILABLE_IN_2_52 GUnixMountEntry * g_unix_mount_for ( const char * file_path,
guint64 * time_read )

◆ g_unix_mount_free()

GIO_AVAILABLE_IN_ALL void g_unix_mount_free ( GUnixMountEntry * mount_entry)

◆ g_unix_mount_get_device_path()

GIO_AVAILABLE_IN_ALL const char * g_unix_mount_get_device_path ( GUnixMountEntry * mount_entry)

◆ g_unix_mount_get_fs_type()

GIO_AVAILABLE_IN_ALL const char * g_unix_mount_get_fs_type ( GUnixMountEntry * mount_entry)

◆ g_unix_mount_get_mount_path()

GIO_AVAILABLE_IN_ALL const char * g_unix_mount_get_mount_path ( GUnixMountEntry * mount_entry)

◆ g_unix_mount_get_options()

GIO_AVAILABLE_IN_2_58 const char * g_unix_mount_get_options ( GUnixMountEntry * mount_entry)

◆ g_unix_mount_get_root_path()

GIO_AVAILABLE_IN_2_60 const char * g_unix_mount_get_root_path ( GUnixMountEntry * mount_entry)

◆ g_unix_mount_guess_can_eject()

GIO_AVAILABLE_IN_ALL gboolean g_unix_mount_guess_can_eject ( GUnixMountEntry * mount_entry)

◆ g_unix_mount_guess_icon()

GIO_AVAILABLE_IN_ALL GIcon * g_unix_mount_guess_icon ( GUnixMountEntry * mount_entry)

◆ g_unix_mount_guess_name()

GIO_AVAILABLE_IN_ALL char * g_unix_mount_guess_name ( GUnixMountEntry * mount_entry)

◆ g_unix_mount_guess_should_display()

GIO_AVAILABLE_IN_ALL gboolean g_unix_mount_guess_should_display ( GUnixMountEntry * mount_entry)

◆ g_unix_mount_guess_symbolic_icon()

GIO_AVAILABLE_IN_ALL GIcon * g_unix_mount_guess_symbolic_icon ( GUnixMountEntry * mount_entry)

◆ g_unix_mount_is_readonly()

GIO_AVAILABLE_IN_ALL gboolean g_unix_mount_is_readonly ( GUnixMountEntry * mount_entry)

◆ g_unix_mount_is_system_internal()

GIO_AVAILABLE_IN_ALL gboolean g_unix_mount_is_system_internal ( GUnixMountEntry * mount_entry)

◆ g_unix_mount_monitor_get()

GIO_AVAILABLE_IN_2_44 GUnixMountMonitor * g_unix_mount_monitor_get ( void )

◆ g_unix_mount_monitor_get_type()

GIO_AVAILABLE_IN_ALL GType g_unix_mount_monitor_get_type ( void )

◆ g_unix_mount_monitor_new()

GUnixMountMonitor * g_unix_mount_monitor_new ( void )

◆ g_unix_mount_monitor_set_rate_limit()

GIO_DEPRECATED_IN_2_44 void g_unix_mount_monitor_set_rate_limit ( GUnixMountMonitor * mount_monitor,
int limit_msec )

◆ g_unix_mount_point_at()

GIO_AVAILABLE_IN_2_66 GUnixMountPoint * g_unix_mount_point_at ( const char * mount_path,
guint64 * time_read )

◆ g_unix_mount_point_compare()

GIO_AVAILABLE_IN_ALL gint g_unix_mount_point_compare ( GUnixMountPoint * mount1,
GUnixMountPoint * mount2 )

◆ g_unix_mount_point_copy()

GIO_AVAILABLE_IN_2_54 GUnixMountPoint * g_unix_mount_point_copy ( GUnixMountPoint * mount_point)

◆ g_unix_mount_point_free()

GIO_AVAILABLE_IN_ALL void g_unix_mount_point_free ( GUnixMountPoint * mount_point)

◆ g_unix_mount_point_get_device_path()

GIO_AVAILABLE_IN_ALL const char * g_unix_mount_point_get_device_path ( GUnixMountPoint * mount_point)

◆ g_unix_mount_point_get_fs_type()

GIO_AVAILABLE_IN_ALL const char * g_unix_mount_point_get_fs_type ( GUnixMountPoint * mount_point)

◆ g_unix_mount_point_get_mount_path()

GIO_AVAILABLE_IN_ALL const char * g_unix_mount_point_get_mount_path ( GUnixMountPoint * mount_point)

◆ g_unix_mount_point_get_options()

GIO_AVAILABLE_IN_2_32 const char * g_unix_mount_point_get_options ( GUnixMountPoint * mount_point)

◆ g_unix_mount_point_get_type()

GIO_AVAILABLE_IN_2_54 GType g_unix_mount_point_get_type ( void )

◆ g_unix_mount_point_guess_can_eject()

GIO_AVAILABLE_IN_ALL gboolean g_unix_mount_point_guess_can_eject ( GUnixMountPoint * mount_point)

◆ g_unix_mount_point_guess_icon()

GIO_AVAILABLE_IN_ALL GIcon * g_unix_mount_point_guess_icon ( GUnixMountPoint * mount_point)

◆ g_unix_mount_point_guess_name()

GIO_AVAILABLE_IN_ALL char * g_unix_mount_point_guess_name ( GUnixMountPoint * mount_point)

◆ g_unix_mount_point_guess_symbolic_icon()

GIO_AVAILABLE_IN_ALL GIcon * g_unix_mount_point_guess_symbolic_icon ( GUnixMountPoint * mount_point)

◆ g_unix_mount_point_is_loopback()

GIO_AVAILABLE_IN_ALL gboolean g_unix_mount_point_is_loopback ( GUnixMountPoint * mount_point)

◆ g_unix_mount_point_is_readonly()

GIO_AVAILABLE_IN_ALL gboolean g_unix_mount_point_is_readonly ( GUnixMountPoint * mount_point)

◆ g_unix_mount_point_is_user_mountable()

GIO_AVAILABLE_IN_ALL gboolean g_unix_mount_point_is_user_mountable ( GUnixMountPoint * mount_point)

◆ g_unix_mount_points_changed_since()

GIO_AVAILABLE_IN_ALL gboolean g_unix_mount_points_changed_since ( guint64 time)

◆ g_unix_mount_points_get()

GIO_AVAILABLE_IN_ALL GList * g_unix_mount_points_get ( guint64 * time_read)

◆ g_unix_mount_points_get_from_file()

GIO_AVAILABLE_IN_2_82 GUnixMountPoint ** g_unix_mount_points_get_from_file ( const char * table_path,
uint64_t * time_read_out,
size_t * n_points_out )

◆ g_unix_mounts_changed_since()

GIO_AVAILABLE_IN_ALL gboolean g_unix_mounts_changed_since ( guint64 time)

◆ g_unix_mounts_get()

GIO_AVAILABLE_IN_ALL GList * g_unix_mounts_get ( guint64 * time_read)

◆ g_unix_mounts_get_from_file()

GIO_AVAILABLE_IN_2_82 GUnixMountEntry ** g_unix_mounts_get_from_file ( const char * table_path,
uint64_t * time_read_out,
size_t * n_entries_out )