2007-11-28 13:39:07 +01:00
|
|
|
/* This file lists all exported symbols. It is used to generate
|
|
|
|
* the gio.def file used to control exports on Windows and the
|
|
|
|
* gioalias.h/gioaliasdef.c files used to avoid PLT entries for
|
|
|
|
* internal uses of exported functions (see makegioalias.pl).
|
|
|
|
*
|
|
|
|
* Every symbol must be included in the right
|
|
|
|
* #ifdef IN_HEADER(sym) #endif and
|
|
|
|
* #ifdef IN_FILE(sym) #endif sections.
|
|
|
|
*/
|
2008-05-05 17:12:13 +02:00
|
|
|
|
2007-11-28 13:39:07 +01:00
|
|
|
#ifdef ALL_FILES
|
|
|
|
#define IN_FILE(x) 1
|
|
|
|
#define IN_HEADER(x) 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_VFS_H__)
|
|
|
|
#if IN_FILE(__G_VFS_C__)
|
|
|
|
g_vfs_get_type G_GNUC_CONST
|
|
|
|
g_vfs_is_active
|
|
|
|
g_vfs_get_file_for_path
|
|
|
|
g_vfs_get_file_for_uri
|
|
|
|
g_vfs_get_supported_uri_schemes
|
|
|
|
g_vfs_parse_name
|
|
|
|
g_vfs_get_default
|
|
|
|
g_vfs_get_local
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_APP_INFO_H__)
|
|
|
|
#if IN_FILE(__G_APP_INFO_C__)
|
|
|
|
g_app_info_get_type G_GNUC_CONST
|
|
|
|
g_app_launch_context_get_type G_GNUC_CONST
|
|
|
|
g_app_info_dup
|
|
|
|
g_app_info_equal
|
|
|
|
g_app_info_get_id
|
|
|
|
g_app_info_get_name
|
|
|
|
g_app_info_get_description
|
|
|
|
g_app_info_get_executable
|
2008-11-29 00:16:45 +01:00
|
|
|
g_app_info_get_commandline
|
2007-11-28 13:39:07 +01:00
|
|
|
g_app_info_get_icon
|
|
|
|
g_app_info_launch
|
|
|
|
g_app_info_supports_uris
|
2008-01-04 11:51:56 +01:00
|
|
|
g_app_info_supports_files
|
2007-11-28 13:39:07 +01:00
|
|
|
g_app_info_launch_uris
|
|
|
|
g_app_info_should_show
|
|
|
|
g_app_info_set_as_default_for_type
|
|
|
|
g_app_info_set_as_default_for_extension
|
|
|
|
g_app_info_add_supports_type
|
|
|
|
g_app_info_can_remove_supports_type
|
|
|
|
g_app_info_remove_supports_type
|
2008-02-01 12:21:37 +01:00
|
|
|
g_app_info_launch_default_for_uri
|
2008-09-26 21:57:36 +02:00
|
|
|
g_app_info_can_delete
|
|
|
|
g_app_info_delete
|
2007-11-28 13:39:07 +01:00
|
|
|
g_app_launch_context_new
|
|
|
|
g_app_launch_context_get_display
|
|
|
|
g_app_launch_context_get_startup_notify_id
|
|
|
|
g_app_launch_context_launch_failed
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_FILE(__G_DESKTOP_APP_INFO_C__)
|
|
|
|
g_app_info_create_from_commandline
|
|
|
|
g_app_info_get_all
|
|
|
|
g_app_info_get_all_for_type
|
|
|
|
g_app_info_get_default_for_type
|
|
|
|
g_app_info_get_default_for_uri_scheme
|
2008-09-26 21:57:36 +02:00
|
|
|
g_app_info_reset_type_associations
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2007-12-10 19:51:21 +01:00
|
|
|
#if IN_HEADER(__G_DESKTOP_APP_INFO_H__)
|
|
|
|
#if IN_FILE(__G_DESKTOP_APP_INFO_C__)
|
2007-12-20 20:13:18 +01:00
|
|
|
#ifdef G_OS_UNIX
|
2007-12-10 19:51:21 +01:00
|
|
|
g_desktop_app_info_new_from_filename
|
2008-07-02 18:23:23 +02:00
|
|
|
g_desktop_app_info_new_from_keyfile
|
2007-12-10 19:51:21 +01:00
|
|
|
g_desktop_app_info_new
|
2007-12-14 16:56:56 +01:00
|
|
|
g_desktop_app_info_get_type G_GNUC_CONST
|
2007-12-10 19:51:21 +01:00
|
|
|
g_desktop_app_info_get_is_hidden
|
2008-01-07 17:47:36 +01:00
|
|
|
g_desktop_app_info_set_desktop_env
|
2008-01-29 13:27:45 +01:00
|
|
|
g_desktop_app_info_lookup_get_type G_GNUC_CONST
|
|
|
|
g_desktop_app_info_lookup_get_default_for_uri_scheme
|
2007-12-10 19:51:21 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
2007-12-20 20:13:18 +01:00
|
|
|
#endif
|
2007-12-10 19:51:21 +01:00
|
|
|
|
|
|
|
|
2007-11-28 13:39:07 +01:00
|
|
|
#if IN_HEADER(__G_ASYNC_RESULT_H__)
|
|
|
|
#if IN_FILE(__G_ASYNC_RESULT_C__)
|
|
|
|
g_async_result_get_type G_GNUC_CONST
|
|
|
|
g_async_result_get_user_data
|
|
|
|
g_async_result_get_source_object
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_BUFFERED_INPUT_STREAM_H__)
|
|
|
|
#if IN_FILE(__G_BUFFERED_INPUT_STREAM_C__)
|
|
|
|
g_buffered_input_stream_get_type G_GNUC_CONST
|
|
|
|
g_buffered_input_stream_new
|
|
|
|
g_buffered_input_stream_new_sized
|
|
|
|
g_buffered_input_stream_get_buffer_size
|
|
|
|
g_buffered_input_stream_set_buffer_size
|
|
|
|
g_buffered_input_stream_get_available
|
|
|
|
g_buffered_input_stream_peek
|
|
|
|
g_buffered_input_stream_peek_buffer
|
|
|
|
g_buffered_input_stream_fill
|
|
|
|
g_buffered_input_stream_fill_async
|
|
|
|
g_buffered_input_stream_fill_finish
|
|
|
|
g_buffered_input_stream_read_byte
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_BUFFERED_OUTPUT_STREAM_H__)
|
|
|
|
#if IN_FILE(__G_BUFFERED_OUTPUT_STREAM_C__)
|
|
|
|
g_buffered_output_stream_get_type G_GNUC_CONST;
|
|
|
|
g_buffered_output_stream_new
|
|
|
|
g_buffered_output_stream_new_sized
|
|
|
|
g_buffered_output_stream_get_buffer_size
|
|
|
|
g_buffered_output_stream_set_buffer_size
|
|
|
|
g_buffered_output_stream_get_auto_grow
|
|
|
|
g_buffered_output_stream_set_auto_grow
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_CANCELLABLE_H__)
|
|
|
|
#if IN_FILE(__G_CANCELLABLE_C__)
|
|
|
|
g_cancellable_get_type G_GNUC_CONST
|
|
|
|
g_cancellable_new
|
|
|
|
g_cancellable_is_cancelled
|
|
|
|
g_cancellable_set_error_if_cancelled
|
|
|
|
g_cancellable_get_fd
|
2008-09-26 18:19:35 +02:00
|
|
|
g_cancellable_make_pollfd
|
2007-11-28 13:39:07 +01:00
|
|
|
g_cancellable_get_current
|
2007-12-13 17:48:06 +01:00
|
|
|
g_cancellable_push_current
|
|
|
|
g_cancellable_pop_current
|
2007-11-28 13:39:07 +01:00
|
|
|
g_cancellable_reset
|
|
|
|
g_cancellable_cancel
|
2009-04-20 13:12:08 +02:00
|
|
|
g_cancellable_connect
|
|
|
|
g_cancellable_disconnect
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_CONTENT_TYPE_H__)
|
|
|
|
#if IN_FILE(__G_CONTENT_TYPE_C__)
|
|
|
|
g_content_type_equals
|
|
|
|
g_content_type_is_a
|
|
|
|
g_content_type_is_unknown
|
|
|
|
g_content_type_get_description
|
|
|
|
g_content_type_get_mime_type
|
|
|
|
g_content_type_get_icon
|
|
|
|
g_content_type_can_be_executable
|
2008-05-18 04:50:48 +02:00
|
|
|
g_content_type_from_mime_type
|
2007-11-28 13:39:07 +01:00
|
|
|
g_content_type_guess
|
2008-07-18 17:33:22 +02:00
|
|
|
g_content_type_guess_for_tree
|
2007-11-28 13:39:07 +01:00
|
|
|
g_content_types_get_registered
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_DATA_INPUT_STREAM_H__)
|
|
|
|
#if IN_FILE(__G_DATA_INPUT_STREAM_C__)
|
|
|
|
g_data_input_stream_get_type G_GNUC_CONST
|
|
|
|
g_data_input_stream_new
|
|
|
|
g_data_input_stream_set_byte_order
|
|
|
|
g_data_input_stream_get_byte_order
|
|
|
|
g_data_input_stream_set_newline_type
|
|
|
|
g_data_input_stream_get_newline_type
|
|
|
|
g_data_input_stream_read_byte
|
|
|
|
g_data_input_stream_read_int16
|
|
|
|
g_data_input_stream_read_uint16
|
|
|
|
g_data_input_stream_read_int32
|
|
|
|
g_data_input_stream_read_uint32
|
|
|
|
g_data_input_stream_read_int64
|
|
|
|
g_data_input_stream_read_uint64
|
|
|
|
g_data_input_stream_read_line
|
2009-01-28 17:39:39 +01:00
|
|
|
g_data_input_stream_read_line_async
|
|
|
|
g_data_input_stream_read_line_finish
|
2007-11-28 13:39:07 +01:00
|
|
|
g_data_input_stream_read_until
|
2009-02-17 07:32:44 +01:00
|
|
|
g_data_input_stream_read_until_async
|
|
|
|
g_data_input_stream_read_until_finish
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_DATA_OUTPUT_STREAM_H__)
|
|
|
|
#if IN_FILE(__G_DATA_OUTPUT_STREAM_C__)
|
|
|
|
g_data_output_stream_get_type G_GNUC_CONST
|
|
|
|
g_data_output_stream_new
|
|
|
|
g_data_output_stream_set_byte_order
|
|
|
|
g_data_output_stream_get_byte_order
|
|
|
|
g_data_output_stream_put_byte
|
|
|
|
g_data_output_stream_put_int16
|
|
|
|
g_data_output_stream_put_uint16
|
|
|
|
g_data_output_stream_put_int32
|
|
|
|
g_data_output_stream_put_uint32
|
|
|
|
g_data_output_stream_put_int64
|
|
|
|
g_data_output_stream_put_uint64
|
|
|
|
g_data_output_stream_put_string
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_DRIVE_H__)
|
|
|
|
#if IN_FILE(__G_DRIVE_C__)
|
|
|
|
g_drive_get_type G_GNUC_CONST
|
|
|
|
g_drive_get_name
|
|
|
|
g_drive_get_icon
|
|
|
|
g_drive_has_volumes
|
|
|
|
g_drive_get_volumes
|
Rework how volumes, drives and volume monitoring is done. Previosly the
2007-12-11 David Zeuthen <davidz@redhat.com>
Rework how volumes, drives and volume monitoring is
done. Previosly the model was
GDrive <1-1> GVolume
where a GDrive instance represented a mount point and a GVolume
instance represented a mounted file system. This patch changes it
the model to
GDrive <1-N> GVolume <1-1> GMount
where GMount now serves the purpose of the old GVolume and the new
GVolume serves the purpose of the old GDrive. In addition the new
GDrive interface is used to represent a collection of GVolume
instances (typically partitions) and also contains utility to query
the state of the physical drive the GDrive object represents (such
as checking for media, polling the drive, ejecting the media etc.).
Also implement mounting and unmounting in the Unix volume monitor
backend. A subquent patch will introduce GDrive support for ejection
of media.
* Makefile.am:
* gdrive.c: (g_drive_is_media_check_automatic),
(g_drive_is_media_removable), (g_drive_has_media),
(g_drive_can_poll_for_media), (g_drive_eject),
(g_drive_eject_finish), (g_drive_poll_for_media),
(g_drive_poll_for_media_finish):
* gdrive.h:
* gfile.c: (g_file_find_enclosing_mount):
* gfile.h:
* gio.symbols:
* glocaldirectorymonitor.c:
(g_local_directory_monitor_constructor), (mounts_changed):
* glocalfile.c: (get_mount_info),
(g_local_file_find_enclosing_mount),
(g_local_file_file_iface_init):
* gnativevolumemonitor.h:
* gunionvolumemonitor.c: (get_mounts), (get_volumes),
(get_connected_drives), (g_union_volume_monitor_class_init),
(child_volume_added), (child_volume_removed),
(child_volume_changed), (child_mount_added), (child_mount_removed),
(child_mount_pre_unmount), (child_mount_changed),
(child_drive_changed), (g_union_volume_monitor_add_monitor),
(g_union_volume_monitor_remove_monitor),
(_g_mount_get_for_mount_path):
* gunixmounts.c: (g_unix_is_mount_path_system_internal),
(guess_system_internal), (_g_get_unix_mounts),
(_g_get_unix_mount_points), (g_get_unix_mount_at),
(g_unix_mount_free), (g_unix_mount_compare),
(g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
(g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
(g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
(type_to_icon), (g_unix_mount_guess_name),
(g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
(g_unix_mount_point_guess_icon), (_canonicalize_filename),
(_resolve_symlink), (_resolve_dev_root):
* gunixmounts.h:
* gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
(_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
(_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
(g_unix_volume_get_name), (g_unix_volume_can_mount),
(g_unix_volume_get_drive), (g_unix_volume_get_mount),
(_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
(g_unix_volume_mount), (g_unix_volume_mount_finish),
(g_unix_volume_volume_iface_init):
* gunixvolume.h:
* gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
(get_mounts), (get_volumes), (get_connected_drives),
(get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
(mountpoints_changed), (mounts_changed),
(g_unix_volume_monitor_init),
(_g_unix_volume_monitor_lookup_volume_for_mount_path),
(find_mount_by_mountpath), (update_volumes), (update_mounts):
* gunixvolumemonitor.h:
* gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
(g_volume_mount), (g_volume_mount_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_class_init),
(g_volume_monitor_get_connected_drives),
(g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
* gvolumemonitor.h:
svn path=/trunk/; revision=6095
2007-12-11 22:23:55 +01:00
|
|
|
g_drive_is_media_removable
|
|
|
|
g_drive_has_media
|
|
|
|
g_drive_is_media_check_automatic
|
|
|
|
g_drive_can_poll_for_media
|
2007-11-28 13:39:07 +01:00
|
|
|
g_drive_can_eject
|
|
|
|
g_drive_eject
|
|
|
|
g_drive_eject_finish
|
Rework how volumes, drives and volume monitoring is done. Previosly the
2007-12-11 David Zeuthen <davidz@redhat.com>
Rework how volumes, drives and volume monitoring is
done. Previosly the model was
GDrive <1-1> GVolume
where a GDrive instance represented a mount point and a GVolume
instance represented a mounted file system. This patch changes it
the model to
GDrive <1-N> GVolume <1-1> GMount
where GMount now serves the purpose of the old GVolume and the new
GVolume serves the purpose of the old GDrive. In addition the new
GDrive interface is used to represent a collection of GVolume
instances (typically partitions) and also contains utility to query
the state of the physical drive the GDrive object represents (such
as checking for media, polling the drive, ejecting the media etc.).
Also implement mounting and unmounting in the Unix volume monitor
backend. A subquent patch will introduce GDrive support for ejection
of media.
* Makefile.am:
* gdrive.c: (g_drive_is_media_check_automatic),
(g_drive_is_media_removable), (g_drive_has_media),
(g_drive_can_poll_for_media), (g_drive_eject),
(g_drive_eject_finish), (g_drive_poll_for_media),
(g_drive_poll_for_media_finish):
* gdrive.h:
* gfile.c: (g_file_find_enclosing_mount):
* gfile.h:
* gio.symbols:
* glocaldirectorymonitor.c:
(g_local_directory_monitor_constructor), (mounts_changed):
* glocalfile.c: (get_mount_info),
(g_local_file_find_enclosing_mount),
(g_local_file_file_iface_init):
* gnativevolumemonitor.h:
* gunionvolumemonitor.c: (get_mounts), (get_volumes),
(get_connected_drives), (g_union_volume_monitor_class_init),
(child_volume_added), (child_volume_removed),
(child_volume_changed), (child_mount_added), (child_mount_removed),
(child_mount_pre_unmount), (child_mount_changed),
(child_drive_changed), (g_union_volume_monitor_add_monitor),
(g_union_volume_monitor_remove_monitor),
(_g_mount_get_for_mount_path):
* gunixmounts.c: (g_unix_is_mount_path_system_internal),
(guess_system_internal), (_g_get_unix_mounts),
(_g_get_unix_mount_points), (g_get_unix_mount_at),
(g_unix_mount_free), (g_unix_mount_compare),
(g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
(g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
(g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
(type_to_icon), (g_unix_mount_guess_name),
(g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
(g_unix_mount_point_guess_icon), (_canonicalize_filename),
(_resolve_symlink), (_resolve_dev_root):
* gunixmounts.h:
* gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
(_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
(_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
(g_unix_volume_get_name), (g_unix_volume_can_mount),
(g_unix_volume_get_drive), (g_unix_volume_get_mount),
(_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
(g_unix_volume_mount), (g_unix_volume_mount_finish),
(g_unix_volume_volume_iface_init):
* gunixvolume.h:
* gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
(get_mounts), (get_volumes), (get_connected_drives),
(get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
(mountpoints_changed), (mounts_changed),
(g_unix_volume_monitor_init),
(_g_unix_volume_monitor_lookup_volume_for_mount_path),
(find_mount_by_mountpath), (update_volumes), (update_mounts):
* gunixvolumemonitor.h:
* gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
(g_volume_mount), (g_volume_mount_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_class_init),
(g_volume_monitor_get_connected_drives),
(g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
* gvolumemonitor.h:
svn path=/trunk/; revision=6095
2007-12-11 22:23:55 +01:00
|
|
|
g_drive_poll_for_media
|
|
|
|
g_drive_poll_for_media_finish
|
2008-01-24 17:06:33 +01:00
|
|
|
g_drive_get_identifier
|
|
|
|
g_drive_enumerate_identifiers
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_FILE_ATTRIBUTE_H__)
|
|
|
|
#if IN_FILE(__G_FILE_ATTRIBUTE_C__)
|
|
|
|
g_file_attribute_info_list_new
|
|
|
|
g_file_attribute_info_list_ref
|
|
|
|
g_file_attribute_info_list_unref
|
|
|
|
g_file_attribute_info_list_dup
|
2008-10-15 03:32:01 +02:00
|
|
|
g_file_attribute_info_list_get_type G_GNUC_CONST
|
2007-11-28 13:39:07 +01:00
|
|
|
g_file_attribute_info_list_lookup
|
|
|
|
g_file_attribute_info_list_add
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_FILE_H__)
|
|
|
|
#if IN_FILE(__G_FILE_C__)
|
|
|
|
g_file_get_type G_GNUC_CONST
|
|
|
|
g_file_new_for_path
|
|
|
|
g_file_new_for_uri
|
|
|
|
g_file_new_for_commandline_arg
|
|
|
|
g_file_parse_name
|
|
|
|
g_file_dup
|
|
|
|
g_file_hash
|
|
|
|
g_file_equal
|
|
|
|
g_file_get_basename
|
|
|
|
g_file_get_path
|
|
|
|
g_file_get_uri
|
|
|
|
g_file_get_parse_name
|
|
|
|
g_file_get_parent
|
|
|
|
g_file_get_child
|
|
|
|
g_file_get_child_for_display_name
|
2008-02-21 10:09:59 +01:00
|
|
|
g_file_has_prefix
|
2007-11-28 13:39:07 +01:00
|
|
|
g_file_get_relative_path
|
|
|
|
g_file_resolve_relative_path
|
|
|
|
g_file_is_native
|
|
|
|
g_file_has_uri_scheme
|
|
|
|
g_file_get_uri_scheme
|
|
|
|
g_file_read
|
|
|
|
g_file_read_async
|
|
|
|
g_file_read_finish
|
|
|
|
g_file_append_to
|
|
|
|
g_file_create
|
|
|
|
g_file_replace
|
|
|
|
g_file_append_to_async
|
|
|
|
g_file_append_to_finish
|
|
|
|
g_file_create_async
|
|
|
|
g_file_create_finish
|
|
|
|
g_file_replace_async
|
|
|
|
g_file_replace_finish
|
2008-01-16 11:11:26 +01:00
|
|
|
g_file_query_exists
|
2007-11-28 13:39:07 +01:00
|
|
|
g_file_query_info
|
|
|
|
g_file_query_info_async
|
|
|
|
g_file_query_info_finish
|
2008-03-31 06:46:22 +02:00
|
|
|
g_file_query_file_type
|
2007-11-28 13:39:07 +01:00
|
|
|
g_file_query_filesystem_info
|
Implement this function by moving bits from glocalfileinfo.c
2008-02-21 David Zeuthen <davidz@redhat.com>
* glocalfileinfo.c: (_g_local_file_info_get):
* gcontenttype.c:
(g_content_type_get_icon): Implement this function by
moving bits from glocalfileinfo.c
(g_content_type_get_description): Unalias before getting
description (#517687)
* gfile.c: (g_file_class_init),
(g_file_query_filesystem_info_async),
(g_file_query_filesystem_info_finish),
(query_filesystem_info_data_free),
(query_filesystem_info_async_thread),
(g_file_real_query_filesystem_info_async),
(g_file_real_query_filesystem_info_finish):
* gfile.h: Implement async version of
g_file_query_filesystem_info()
* gfileinfo.h: Add new attributes for filesystem::use-preview
* gio.symbols: Update
* gthemedicon.c: (g_themed_icon_append_name):
* gthemedicon.h: Add new new convenience function.
* gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
(get_mounts), (get_volumes), (get_connected_drives),
(get_volume_for_uuid), (get_mount_for_uuid),
(g_union_volume_monitor_init), (populate_union_monitor),
(g_volume_monitor_get), (_g_mount_get_for_mount_path),
(g_volume_monitor_adopt_orphan_mount):
* gvolumemonitor.c:
* gvolumemonitor.h: Use recursive locks so it's safe for volume
monitor implementations to call into the main volume monitor. Also
separate object initialization and volume monitor initialization
such that non-native volume monitors can properly adopt their
mounts away.
svn path=/trunk/; revision=6550
2008-02-21 13:35:05 +01:00
|
|
|
g_file_query_filesystem_info_async
|
|
|
|
g_file_query_filesystem_info_finish
|
Rework how volumes, drives and volume monitoring is done. Previosly the
2007-12-11 David Zeuthen <davidz@redhat.com>
Rework how volumes, drives and volume monitoring is
done. Previosly the model was
GDrive <1-1> GVolume
where a GDrive instance represented a mount point and a GVolume
instance represented a mounted file system. This patch changes it
the model to
GDrive <1-N> GVolume <1-1> GMount
where GMount now serves the purpose of the old GVolume and the new
GVolume serves the purpose of the old GDrive. In addition the new
GDrive interface is used to represent a collection of GVolume
instances (typically partitions) and also contains utility to query
the state of the physical drive the GDrive object represents (such
as checking for media, polling the drive, ejecting the media etc.).
Also implement mounting and unmounting in the Unix volume monitor
backend. A subquent patch will introduce GDrive support for ejection
of media.
* Makefile.am:
* gdrive.c: (g_drive_is_media_check_automatic),
(g_drive_is_media_removable), (g_drive_has_media),
(g_drive_can_poll_for_media), (g_drive_eject),
(g_drive_eject_finish), (g_drive_poll_for_media),
(g_drive_poll_for_media_finish):
* gdrive.h:
* gfile.c: (g_file_find_enclosing_mount):
* gfile.h:
* gio.symbols:
* glocaldirectorymonitor.c:
(g_local_directory_monitor_constructor), (mounts_changed):
* glocalfile.c: (get_mount_info),
(g_local_file_find_enclosing_mount),
(g_local_file_file_iface_init):
* gnativevolumemonitor.h:
* gunionvolumemonitor.c: (get_mounts), (get_volumes),
(get_connected_drives), (g_union_volume_monitor_class_init),
(child_volume_added), (child_volume_removed),
(child_volume_changed), (child_mount_added), (child_mount_removed),
(child_mount_pre_unmount), (child_mount_changed),
(child_drive_changed), (g_union_volume_monitor_add_monitor),
(g_union_volume_monitor_remove_monitor),
(_g_mount_get_for_mount_path):
* gunixmounts.c: (g_unix_is_mount_path_system_internal),
(guess_system_internal), (_g_get_unix_mounts),
(_g_get_unix_mount_points), (g_get_unix_mount_at),
(g_unix_mount_free), (g_unix_mount_compare),
(g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
(g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
(g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
(type_to_icon), (g_unix_mount_guess_name),
(g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
(g_unix_mount_point_guess_icon), (_canonicalize_filename),
(_resolve_symlink), (_resolve_dev_root):
* gunixmounts.h:
* gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
(_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
(_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
(g_unix_volume_get_name), (g_unix_volume_can_mount),
(g_unix_volume_get_drive), (g_unix_volume_get_mount),
(_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
(g_unix_volume_mount), (g_unix_volume_mount_finish),
(g_unix_volume_volume_iface_init):
* gunixvolume.h:
* gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
(get_mounts), (get_volumes), (get_connected_drives),
(get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
(mountpoints_changed), (mounts_changed),
(g_unix_volume_monitor_init),
(_g_unix_volume_monitor_lookup_volume_for_mount_path),
(find_mount_by_mountpath), (update_volumes), (update_mounts):
* gunixvolumemonitor.h:
* gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
(g_volume_mount), (g_volume_mount_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_class_init),
(g_volume_monitor_get_connected_drives),
(g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
* gvolumemonitor.h:
svn path=/trunk/; revision=6095
2007-12-11 22:23:55 +01:00
|
|
|
g_file_find_enclosing_mount
|
2008-01-21 19:07:13 +01:00
|
|
|
g_file_find_enclosing_mount_async
|
|
|
|
g_file_find_enclosing_mount_finish
|
2007-11-28 13:39:07 +01:00
|
|
|
g_file_enumerate_children
|
|
|
|
g_file_enumerate_children_async
|
|
|
|
g_file_enumerate_children_finish
|
|
|
|
g_file_set_display_name
|
|
|
|
g_file_set_display_name_async
|
|
|
|
g_file_set_display_name_finish
|
|
|
|
g_file_delete
|
|
|
|
g_file_trash
|
|
|
|
g_file_copy
|
2008-01-24 12:04:05 +01:00
|
|
|
g_file_copy_async
|
|
|
|
g_file_copy_finish
|
2007-11-28 13:39:07 +01:00
|
|
|
g_file_move
|
|
|
|
g_file_make_directory
|
2008-06-11 17:48:06 +02:00
|
|
|
g_file_make_directory_with_parents
|
2007-11-28 13:39:07 +01:00
|
|
|
g_file_make_symbolic_link
|
|
|
|
g_file_query_settable_attributes
|
|
|
|
g_file_query_writable_namespaces
|
|
|
|
g_file_set_attribute
|
|
|
|
g_file_set_attributes_from_info
|
|
|
|
g_file_set_attributes_async
|
|
|
|
g_file_set_attributes_finish
|
|
|
|
g_file_set_attribute_string
|
|
|
|
g_file_set_attribute_byte_string
|
|
|
|
g_file_set_attribute_uint32
|
|
|
|
g_file_set_attribute_int32
|
|
|
|
g_file_set_attribute_uint64
|
|
|
|
g_file_set_attribute_int64
|
2007-12-13 17:22:43 +01:00
|
|
|
g_file_mount_enclosing_volume
|
|
|
|
g_file_mount_enclosing_volume_finish
|
2007-11-28 13:39:07 +01:00
|
|
|
g_file_mount_mountable
|
|
|
|
g_file_mount_mountable_finish
|
|
|
|
g_file_unmount_mountable
|
|
|
|
g_file_unmount_mountable_finish
|
|
|
|
g_file_eject_mountable
|
|
|
|
g_file_eject_mountable_finish
|
|
|
|
g_file_copy_attributes
|
|
|
|
g_file_monitor_directory
|
|
|
|
g_file_monitor_file
|
2008-07-02 19:19:16 +02:00
|
|
|
g_file_monitor
|
2008-01-29 13:27:45 +01:00
|
|
|
g_file_query_default_handler
|
2007-11-28 13:39:07 +01:00
|
|
|
g_file_load_contents
|
|
|
|
g_file_load_contents_async
|
|
|
|
g_file_load_contents_finish
|
|
|
|
g_file_load_partial_contents_async
|
|
|
|
g_file_load_partial_contents_finish
|
|
|
|
g_file_replace_contents
|
|
|
|
g_file_replace_contents_async
|
|
|
|
g_file_replace_contents_finish
|
2009-05-14 15:32:55 +02:00
|
|
|
g_file_create_readwrite
|
|
|
|
g_file_create_readwrite_async
|
|
|
|
g_file_create_readwrite_finish
|
|
|
|
g_file_open_readwrite
|
|
|
|
g_file_open_readwrite_async
|
|
|
|
g_file_open_readwrite_finish
|
|
|
|
g_file_replace_readwrite
|
|
|
|
g_file_replace_readwrite_async
|
|
|
|
g_file_replace_readwrite_finish
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_FILE_ENUMERATOR_H__)
|
|
|
|
#if IN_FILE(__G_FILE_ENUMERATOR_C__)
|
|
|
|
g_file_enumerator_get_type G_GNUC_CONST
|
|
|
|
g_file_enumerator_next_file
|
|
|
|
g_file_enumerator_close
|
|
|
|
g_file_enumerator_next_files_async
|
|
|
|
g_file_enumerator_next_files_finish
|
|
|
|
g_file_enumerator_close_async
|
|
|
|
g_file_enumerator_close_finish
|
|
|
|
g_file_enumerator_is_closed
|
|
|
|
g_file_enumerator_has_pending
|
|
|
|
g_file_enumerator_set_pending
|
2008-06-16 10:49:08 +02:00
|
|
|
g_file_enumerator_get_container
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_FILE_ICON_H__)
|
|
|
|
#if IN_FILE(__G_FILE_ICON_C__)
|
|
|
|
g_file_icon_get_type G_GNUC_CONST
|
|
|
|
g_file_icon_new
|
|
|
|
g_file_icon_get_file
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_FILE_INFO_H__)
|
|
|
|
#if IN_FILE(__G_FILE_INFO_C__)
|
|
|
|
g_file_info_get_type G_GNUC_CONST
|
|
|
|
g_file_info_new
|
|
|
|
g_file_info_dup
|
|
|
|
g_file_info_copy_into
|
|
|
|
g_file_info_has_attribute
|
|
|
|
g_file_info_list_attributes
|
|
|
|
g_file_info_get_attribute_type
|
|
|
|
g_file_info_remove_attribute
|
2007-12-14 16:56:56 +01:00
|
|
|
g_file_info_get_attribute_status
|
|
|
|
g_file_info_get_attribute_data
|
|
|
|
g_file_info_get_attribute_as_string
|
2007-11-28 13:39:07 +01:00
|
|
|
g_file_info_get_attribute_string
|
|
|
|
g_file_info_get_attribute_byte_string
|
|
|
|
g_file_info_get_attribute_boolean
|
2007-11-28 17:01:59 +01:00
|
|
|
g_file_info_get_attribute_uint32
|
|
|
|
g_file_info_get_attribute_int32
|
|
|
|
g_file_info_get_attribute_uint64
|
|
|
|
g_file_info_get_attribute_int64
|
2007-11-28 13:39:07 +01:00
|
|
|
g_file_info_get_attribute_object
|
|
|
|
g_file_info_set_attribute
|
|
|
|
g_file_info_set_attribute_string
|
|
|
|
g_file_info_set_attribute_byte_string
|
|
|
|
g_file_info_set_attribute_boolean
|
2007-11-28 17:01:59 +01:00
|
|
|
g_file_info_set_attribute_uint32
|
|
|
|
g_file_info_set_attribute_int32
|
|
|
|
g_file_info_set_attribute_uint64
|
|
|
|
g_file_info_set_attribute_int64
|
2007-11-28 13:39:07 +01:00
|
|
|
g_file_info_set_attribute_object
|
|
|
|
g_file_info_clear_status
|
|
|
|
g_file_info_get_file_type
|
|
|
|
g_file_info_get_is_hidden
|
|
|
|
g_file_info_get_is_backup
|
|
|
|
g_file_info_get_is_symlink
|
|
|
|
g_file_info_get_name
|
|
|
|
g_file_info_get_display_name
|
|
|
|
g_file_info_get_edit_name
|
|
|
|
g_file_info_get_icon
|
|
|
|
g_file_info_get_content_type
|
|
|
|
g_file_info_get_size
|
|
|
|
g_file_info_get_modification_time
|
|
|
|
g_file_info_get_symlink_target
|
|
|
|
g_file_info_get_etag
|
|
|
|
g_file_info_get_sort_order
|
|
|
|
g_file_info_set_attribute_mask
|
|
|
|
g_file_info_unset_attribute_mask
|
|
|
|
g_file_info_set_file_type
|
|
|
|
g_file_info_set_is_hidden
|
|
|
|
g_file_info_set_is_symlink
|
|
|
|
g_file_info_set_name
|
|
|
|
g_file_info_set_display_name
|
|
|
|
g_file_info_set_edit_name
|
|
|
|
g_file_info_set_icon
|
|
|
|
g_file_info_set_content_type
|
|
|
|
g_file_info_set_size
|
|
|
|
g_file_info_set_modification_time
|
|
|
|
g_file_info_set_symlink_target
|
|
|
|
g_file_info_set_sort_order
|
2007-11-28 17:01:59 +01:00
|
|
|
g_file_attribute_matcher_new
|
|
|
|
g_file_attribute_matcher_ref
|
2007-11-28 13:39:07 +01:00
|
|
|
g_file_attribute_matcher_unref
|
|
|
|
g_file_attribute_matcher_matches
|
|
|
|
g_file_attribute_matcher_matches_only
|
|
|
|
g_file_attribute_matcher_enumerate_namespace
|
|
|
|
g_file_attribute_matcher_enumerate_next
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_FILE_INPUT_STREAM_H__)
|
|
|
|
#if IN_FILE(__G_FILE_INPUT_STREAM_C__)
|
|
|
|
g_file_input_stream_get_type G_GNUC_CONST
|
|
|
|
g_file_input_stream_query_info
|
|
|
|
g_file_input_stream_query_info_async
|
|
|
|
g_file_input_stream_query_info_finish
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_FILE_MONITOR_H__)
|
|
|
|
#if IN_FILE(__G_FILE_MONITOR_C__)
|
|
|
|
g_file_monitor_get_type G_GNUC_CONST
|
|
|
|
g_file_monitor_cancel
|
|
|
|
g_file_monitor_is_cancelled
|
|
|
|
g_file_monitor_set_rate_limit
|
|
|
|
g_file_monitor_emit_event
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_FILENAME_COMPLETER_H__)
|
|
|
|
#if IN_FILE(__G_FILENAME_COMPLETER_C__)
|
|
|
|
g_filename_completer_get_type G_GNUC_CONST
|
|
|
|
g_filename_completer_new
|
|
|
|
g_filename_completer_get_completion_suffix
|
|
|
|
g_filename_completer_get_completions
|
|
|
|
g_filename_completer_set_dirs_only
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_FILE_OUTPUT_STREAM_H__)
|
|
|
|
#if IN_FILE(__G_FILE_OUTPUT_STREAM_C__)
|
|
|
|
g_file_output_stream_get_type G_GNUC_CONST
|
|
|
|
g_file_output_stream_query_info
|
|
|
|
g_file_output_stream_query_info_async
|
|
|
|
g_file_output_stream_query_info_finish
|
|
|
|
g_file_output_stream_get_etag
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2009-05-12 16:59:36 +02:00
|
|
|
#if IN_HEADER(__G_FILE_IO_STREAM_H__)
|
|
|
|
#if IN_FILE(__G_FILE_IO_STREAM_C__)
|
|
|
|
g_file_io_stream_get_type G_GNUC_CONST
|
|
|
|
g_file_io_stream_query_info
|
|
|
|
g_file_io_stream_query_info_async
|
|
|
|
g_file_io_stream_query_info_finish
|
|
|
|
g_file_io_stream_get_etag
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2007-11-28 13:39:07 +01:00
|
|
|
#if IN_HEADER(__G_FILTER_INPUT_STREAM_H__)
|
|
|
|
#if IN_FILE(__G_FILTER_INPUT_STREAM_C__)
|
|
|
|
g_filter_input_stream_get_type G_GNUC_CONST
|
|
|
|
g_filter_input_stream_get_base_stream
|
2009-01-21 15:09:56 +01:00
|
|
|
g_filter_input_stream_get_close_base_stream
|
|
|
|
g_filter_input_stream_set_close_base_stream
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_FILTER_OUTPUT_STREAM_H__)
|
|
|
|
#if IN_FILE(__G_FILTER_OUTPUT_STREAM_C__)
|
|
|
|
g_filter_output_stream_get_type G_GNUC_CONST
|
|
|
|
g_filter_output_stream_get_base_stream
|
2009-01-21 15:09:56 +01:00
|
|
|
g_filter_output_stream_get_close_base_stream
|
|
|
|
g_filter_output_stream_set_close_base_stream
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_ICON_H__)
|
|
|
|
#if IN_FILE(__G_ICON_C__)
|
|
|
|
g_icon_get_type G_GNUC_CONST
|
|
|
|
g_icon_hash
|
|
|
|
g_icon_equal
|
2008-10-21 13:51:48 +02:00
|
|
|
g_icon_to_string
|
|
|
|
g_icon_new_for_string
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_INPUT_STREAM_H__)
|
|
|
|
#if IN_FILE(__G_INPUT_STREAM_C__)
|
|
|
|
g_input_stream_get_type G_GNUC_CONST
|
|
|
|
g_input_stream_read
|
|
|
|
g_input_stream_read_all
|
|
|
|
g_input_stream_skip
|
|
|
|
g_input_stream_close
|
|
|
|
g_input_stream_read_async
|
|
|
|
g_input_stream_read_finish
|
|
|
|
g_input_stream_skip_async
|
|
|
|
g_input_stream_skip_finish
|
|
|
|
g_input_stream_close_async
|
|
|
|
g_input_stream_close_finish
|
|
|
|
g_input_stream_is_closed
|
|
|
|
g_input_stream_has_pending
|
|
|
|
g_input_stream_set_pending
|
2007-12-06 06:39:18 +01:00
|
|
|
g_input_stream_clear_pending
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2009-05-12 16:30:15 +02:00
|
|
|
#if IN_HEADER(__G_IO_STREAM_H__)
|
|
|
|
#if IN_FILE(__G_IO_STREAM_C__)
|
|
|
|
g_io_stream_get_type G_GNUC_CONST
|
|
|
|
g_io_stream_get_input_stream
|
|
|
|
g_io_stream_get_output_stream
|
|
|
|
g_io_stream_close
|
|
|
|
g_io_stream_close_async
|
|
|
|
g_io_stream_close_finish
|
|
|
|
g_io_stream_is_closed
|
|
|
|
g_io_stream_has_pending
|
|
|
|
g_io_stream_set_pending
|
|
|
|
g_io_stream_clear_pending
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2007-11-28 13:39:07 +01:00
|
|
|
#if IN_HEADER(__G_IO_ERROR_H__)
|
|
|
|
#if IN_FILE(__G_IO_ERROR_C__)
|
|
|
|
g_io_error_quark
|
|
|
|
g_io_error_from_errno
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_IO_MODULE_H__)
|
|
|
|
#if IN_FILE(__G_IO_MODULE_C__)
|
|
|
|
g_io_module_get_type G_GNUC_CONST
|
|
|
|
g_io_module_new
|
2007-12-05 12:05:49 +01:00
|
|
|
g_io_modules_load_all_in_directory
|
2008-01-28 20:43:10 +01:00
|
|
|
g_io_extension_point_register
|
|
|
|
g_io_extension_point_lookup
|
|
|
|
g_io_extension_point_set_required_type
|
|
|
|
g_io_extension_point_get_required_type
|
|
|
|
g_io_extension_point_get_extensions
|
|
|
|
g_io_extension_point_get_extension_by_name
|
|
|
|
g_io_extension_point_implement
|
|
|
|
g_io_extension_get_type
|
|
|
|
g_io_extension_get_name
|
|
|
|
g_io_extension_get_priority
|
|
|
|
g_io_extension_ref_class
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_IO_SCHEDULER_H__)
|
|
|
|
#if IN_FILE(__G_IO_SCHEDULER_C__)
|
2007-12-14 11:59:10 +01:00
|
|
|
g_io_scheduler_push_job
|
|
|
|
g_io_scheduler_cancel_all_jobs
|
|
|
|
g_io_scheduler_job_send_to_mainloop
|
|
|
|
g_io_scheduler_job_send_to_mainloop_async
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_LOADABLE_ICON_H__)
|
|
|
|
#if IN_FILE(__G_LOADABLE_ICON_C__)
|
|
|
|
g_loadable_icon_get_type G_GNUC_CONST
|
|
|
|
g_loadable_icon_load
|
|
|
|
g_loadable_icon_load_async
|
|
|
|
g_loadable_icon_load_finish
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_MEMORY_INPUT_STREAM_H__)
|
|
|
|
#if IN_FILE(__G_MEMORY_INPUT_STREAM_C__)
|
|
|
|
g_memory_input_stream_get_type G_GNUC_CONST
|
2008-01-04 11:17:57 +01:00
|
|
|
g_memory_input_stream_new
|
|
|
|
g_memory_input_stream_new_from_data
|
|
|
|
g_memory_input_stream_add_data
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_MEMORY_OUTPUT_STREAM_H__)
|
|
|
|
#if IN_FILE(__G_MEMORY_OUTPUT_STREAM_C__)
|
|
|
|
g_memory_output_stream_get_type G_GNUC_CONST
|
|
|
|
g_memory_output_stream_new
|
|
|
|
g_memory_output_stream_get_data
|
2008-05-26 07:56:08 +02:00
|
|
|
g_memory_output_stream_get_data_size
|
2008-01-07 11:11:57 +01:00
|
|
|
g_memory_output_stream_get_size
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_MOUNT_OPERATION_H__)
|
|
|
|
#if IN_FILE(__G_MOUNT_OPERATION_C__)
|
|
|
|
g_mount_operation_get_type G_GNUC_CONST
|
|
|
|
g_mount_operation_new
|
|
|
|
g_mount_operation_get_username
|
|
|
|
g_mount_operation_set_username
|
|
|
|
g_mount_operation_get_password
|
|
|
|
g_mount_operation_set_password
|
|
|
|
g_mount_operation_get_anonymous
|
|
|
|
g_mount_operation_set_anonymous
|
|
|
|
g_mount_operation_get_domain
|
|
|
|
g_mount_operation_set_domain
|
|
|
|
g_mount_operation_get_password_save
|
|
|
|
g_mount_operation_set_password_save
|
|
|
|
g_mount_operation_get_choice
|
|
|
|
g_mount_operation_set_choice
|
|
|
|
g_mount_operation_reply
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_OUTPUT_STREAM_H__)
|
|
|
|
#if IN_FILE(__G_OUTPUT_STREAM_C__)
|
|
|
|
g_output_stream_get_type G_GNUC_CONST
|
|
|
|
g_output_stream_write
|
|
|
|
g_output_stream_write_all
|
|
|
|
g_output_stream_splice
|
|
|
|
g_output_stream_flush
|
|
|
|
g_output_stream_close
|
|
|
|
g_output_stream_write_async
|
|
|
|
g_output_stream_write_finish
|
|
|
|
g_output_stream_splice_async
|
|
|
|
g_output_stream_splice_finish
|
|
|
|
g_output_stream_flush_async
|
|
|
|
g_output_stream_flush_finish
|
|
|
|
g_output_stream_close_async
|
|
|
|
g_output_stream_close_finish
|
|
|
|
g_output_stream_is_closed
|
|
|
|
g_output_stream_has_pending
|
|
|
|
g_output_stream_set_pending
|
2007-12-06 06:39:18 +01:00
|
|
|
g_output_stream_clear_pending
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_SEEKABLE_H__)
|
|
|
|
#if IN_FILE(__G_SEEKABLE_C__)
|
|
|
|
g_seekable_get_type G_GNUC_CONST
|
|
|
|
g_seekable_tell
|
|
|
|
g_seekable_can_seek
|
|
|
|
g_seekable_seek
|
|
|
|
g_seekable_can_truncate
|
|
|
|
g_seekable_truncate
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_SIMPLE_ASYNC_RESULT_H__)
|
|
|
|
#if IN_FILE(__G_SIMPLE_ASYNC_RESULT_C__)
|
|
|
|
g_simple_async_result_get_type G_GNUC_CONST
|
|
|
|
g_simple_async_result_new
|
|
|
|
g_simple_async_result_new_error
|
|
|
|
g_simple_async_result_new_from_error
|
|
|
|
g_simple_async_result_set_op_res_gpointer
|
|
|
|
g_simple_async_result_get_op_res_gpointer
|
|
|
|
g_simple_async_result_set_op_res_gssize
|
|
|
|
g_simple_async_result_get_op_res_gssize
|
|
|
|
g_simple_async_result_set_op_res_gboolean
|
|
|
|
g_simple_async_result_get_op_res_gboolean
|
|
|
|
g_simple_async_result_get_source_tag
|
|
|
|
g_simple_async_result_set_handle_cancellation
|
|
|
|
g_simple_async_result_complete
|
|
|
|
g_simple_async_result_complete_in_idle
|
|
|
|
g_simple_async_result_run_in_thread
|
|
|
|
g_simple_async_result_set_from_error
|
|
|
|
g_simple_async_result_propagate_error
|
|
|
|
g_simple_async_result_set_error
|
|
|
|
g_simple_async_result_set_error_va
|
2009-01-05 07:57:16 +01:00
|
|
|
g_simple_async_result_is_valid
|
2007-11-28 13:39:07 +01:00
|
|
|
g_simple_async_report_error_in_idle
|
2007-12-06 06:39:18 +01:00
|
|
|
g_simple_async_report_gerror_in_idle
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_THEMED_ICON_H__)
|
|
|
|
#if IN_FILE(__G_THEMED_ICON_C__)
|
|
|
|
g_themed_icon_get_type G_GNUC_CONST
|
2008-01-09 16:20:49 +01:00
|
|
|
g_themed_icon_new
|
|
|
|
g_themed_icon_new_with_default_fallbacks
|
|
|
|
g_themed_icon_new_from_names
|
|
|
|
g_themed_icon_get_names
|
2008-06-10 18:45:54 +02:00
|
|
|
g_themed_icon_prepend_name
|
Implement this function by moving bits from glocalfileinfo.c
2008-02-21 David Zeuthen <davidz@redhat.com>
* glocalfileinfo.c: (_g_local_file_info_get):
* gcontenttype.c:
(g_content_type_get_icon): Implement this function by
moving bits from glocalfileinfo.c
(g_content_type_get_description): Unalias before getting
description (#517687)
* gfile.c: (g_file_class_init),
(g_file_query_filesystem_info_async),
(g_file_query_filesystem_info_finish),
(query_filesystem_info_data_free),
(query_filesystem_info_async_thread),
(g_file_real_query_filesystem_info_async),
(g_file_real_query_filesystem_info_finish):
* gfile.h: Implement async version of
g_file_query_filesystem_info()
* gfileinfo.h: Add new attributes for filesystem::use-preview
* gio.symbols: Update
* gthemedicon.c: (g_themed_icon_append_name):
* gthemedicon.h: Add new new convenience function.
* gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
(get_mounts), (get_volumes), (get_connected_drives),
(get_volume_for_uuid), (get_mount_for_uuid),
(g_union_volume_monitor_init), (populate_union_monitor),
(g_volume_monitor_get), (_g_mount_get_for_mount_path),
(g_volume_monitor_adopt_orphan_mount):
* gvolumemonitor.c:
* gvolumemonitor.h: Use recursive locks so it's safe for volume
monitor implementations to call into the main volume monitor. Also
separate object initialization and volume monitor initialization
such that non-native volume monitors can properly adopt their
mounts away.
svn path=/trunk/; revision=6550
2008-02-21 13:35:05 +01:00
|
|
|
g_themed_icon_append_name
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_UNIX_MOUNTS_H__)
|
|
|
|
#if IN_FILE(__G_UNIX_MOUNTS_C__)
|
2007-12-03 23:37:44 +01:00
|
|
|
#ifdef G_OS_UNIX
|
2007-11-28 13:39:07 +01:00
|
|
|
g_unix_mount_free
|
|
|
|
g_unix_mount_point_free
|
|
|
|
g_unix_mount_compare
|
|
|
|
g_unix_mount_get_mount_path
|
|
|
|
g_unix_mount_get_device_path
|
|
|
|
g_unix_mount_get_fs_type
|
|
|
|
g_unix_mount_is_readonly
|
|
|
|
g_unix_mount_is_system_internal
|
2007-12-20 04:11:11 +01:00
|
|
|
g_unix_mount_guess_can_eject
|
2008-01-09 16:45:56 +01:00
|
|
|
g_unix_mount_guess_should_display
|
Rework how volumes, drives and volume monitoring is done. Previosly the
2007-12-11 David Zeuthen <davidz@redhat.com>
Rework how volumes, drives and volume monitoring is
done. Previosly the model was
GDrive <1-1> GVolume
where a GDrive instance represented a mount point and a GVolume
instance represented a mounted file system. This patch changes it
the model to
GDrive <1-N> GVolume <1-1> GMount
where GMount now serves the purpose of the old GVolume and the new
GVolume serves the purpose of the old GDrive. In addition the new
GDrive interface is used to represent a collection of GVolume
instances (typically partitions) and also contains utility to query
the state of the physical drive the GDrive object represents (such
as checking for media, polling the drive, ejecting the media etc.).
Also implement mounting and unmounting in the Unix volume monitor
backend. A subquent patch will introduce GDrive support for ejection
of media.
* Makefile.am:
* gdrive.c: (g_drive_is_media_check_automatic),
(g_drive_is_media_removable), (g_drive_has_media),
(g_drive_can_poll_for_media), (g_drive_eject),
(g_drive_eject_finish), (g_drive_poll_for_media),
(g_drive_poll_for_media_finish):
* gdrive.h:
* gfile.c: (g_file_find_enclosing_mount):
* gfile.h:
* gio.symbols:
* glocaldirectorymonitor.c:
(g_local_directory_monitor_constructor), (mounts_changed):
* glocalfile.c: (get_mount_info),
(g_local_file_find_enclosing_mount),
(g_local_file_file_iface_init):
* gnativevolumemonitor.h:
* gunionvolumemonitor.c: (get_mounts), (get_volumes),
(get_connected_drives), (g_union_volume_monitor_class_init),
(child_volume_added), (child_volume_removed),
(child_volume_changed), (child_mount_added), (child_mount_removed),
(child_mount_pre_unmount), (child_mount_changed),
(child_drive_changed), (g_union_volume_monitor_add_monitor),
(g_union_volume_monitor_remove_monitor),
(_g_mount_get_for_mount_path):
* gunixmounts.c: (g_unix_is_mount_path_system_internal),
(guess_system_internal), (_g_get_unix_mounts),
(_g_get_unix_mount_points), (g_get_unix_mount_at),
(g_unix_mount_free), (g_unix_mount_compare),
(g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
(g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
(g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
(type_to_icon), (g_unix_mount_guess_name),
(g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
(g_unix_mount_point_guess_icon), (_canonicalize_filename),
(_resolve_symlink), (_resolve_dev_root):
* gunixmounts.h:
* gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
(_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
(_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
(g_unix_volume_get_name), (g_unix_volume_can_mount),
(g_unix_volume_get_drive), (g_unix_volume_get_mount),
(_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
(g_unix_volume_mount), (g_unix_volume_mount_finish),
(g_unix_volume_volume_iface_init):
* gunixvolume.h:
* gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
(get_mounts), (get_volumes), (get_connected_drives),
(get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
(mountpoints_changed), (mounts_changed),
(g_unix_volume_monitor_init),
(_g_unix_volume_monitor_lookup_volume_for_mount_path),
(find_mount_by_mountpath), (update_volumes), (update_mounts):
* gunixvolumemonitor.h:
* gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
(g_volume_mount), (g_volume_mount_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_class_init),
(g_volume_monitor_get_connected_drives),
(g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
* gvolumemonitor.h:
svn path=/trunk/; revision=6095
2007-12-11 22:23:55 +01:00
|
|
|
g_unix_mount_guess_name
|
|
|
|
g_unix_mount_guess_icon
|
2007-11-28 13:39:07 +01:00
|
|
|
g_unix_mount_point_compare
|
|
|
|
g_unix_mount_point_get_mount_path
|
|
|
|
g_unix_mount_point_get_device_path
|
|
|
|
g_unix_mount_point_get_fs_type
|
|
|
|
g_unix_mount_point_is_readonly
|
|
|
|
g_unix_mount_point_is_user_mountable
|
|
|
|
g_unix_mount_point_is_loopback
|
2007-12-20 04:11:11 +01:00
|
|
|
g_unix_mount_point_guess_can_eject
|
|
|
|
g_unix_mount_point_guess_name
|
Rework how volumes, drives and volume monitoring is done. Previosly the
2007-12-11 David Zeuthen <davidz@redhat.com>
Rework how volumes, drives and volume monitoring is
done. Previosly the model was
GDrive <1-1> GVolume
where a GDrive instance represented a mount point and a GVolume
instance represented a mounted file system. This patch changes it
the model to
GDrive <1-N> GVolume <1-1> GMount
where GMount now serves the purpose of the old GVolume and the new
GVolume serves the purpose of the old GDrive. In addition the new
GDrive interface is used to represent a collection of GVolume
instances (typically partitions) and also contains utility to query
the state of the physical drive the GDrive object represents (such
as checking for media, polling the drive, ejecting the media etc.).
Also implement mounting and unmounting in the Unix volume monitor
backend. A subquent patch will introduce GDrive support for ejection
of media.
* Makefile.am:
* gdrive.c: (g_drive_is_media_check_automatic),
(g_drive_is_media_removable), (g_drive_has_media),
(g_drive_can_poll_for_media), (g_drive_eject),
(g_drive_eject_finish), (g_drive_poll_for_media),
(g_drive_poll_for_media_finish):
* gdrive.h:
* gfile.c: (g_file_find_enclosing_mount):
* gfile.h:
* gio.symbols:
* glocaldirectorymonitor.c:
(g_local_directory_monitor_constructor), (mounts_changed):
* glocalfile.c: (get_mount_info),
(g_local_file_find_enclosing_mount),
(g_local_file_file_iface_init):
* gnativevolumemonitor.h:
* gunionvolumemonitor.c: (get_mounts), (get_volumes),
(get_connected_drives), (g_union_volume_monitor_class_init),
(child_volume_added), (child_volume_removed),
(child_volume_changed), (child_mount_added), (child_mount_removed),
(child_mount_pre_unmount), (child_mount_changed),
(child_drive_changed), (g_union_volume_monitor_add_monitor),
(g_union_volume_monitor_remove_monitor),
(_g_mount_get_for_mount_path):
* gunixmounts.c: (g_unix_is_mount_path_system_internal),
(guess_system_internal), (_g_get_unix_mounts),
(_g_get_unix_mount_points), (g_get_unix_mount_at),
(g_unix_mount_free), (g_unix_mount_compare),
(g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
(g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
(g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
(type_to_icon), (g_unix_mount_guess_name),
(g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
(g_unix_mount_point_guess_icon), (_canonicalize_filename),
(_resolve_symlink), (_resolve_dev_root):
* gunixmounts.h:
* gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
(_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
(_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
(g_unix_volume_get_name), (g_unix_volume_can_mount),
(g_unix_volume_get_drive), (g_unix_volume_get_mount),
(_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
(g_unix_volume_mount), (g_unix_volume_mount_finish),
(g_unix_volume_volume_iface_init):
* gunixvolume.h:
* gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
(get_mounts), (get_volumes), (get_connected_drives),
(get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
(mountpoints_changed), (mounts_changed),
(g_unix_volume_monitor_init),
(_g_unix_volume_monitor_lookup_volume_for_mount_path),
(find_mount_by_mountpath), (update_volumes), (update_mounts):
* gunixvolumemonitor.h:
* gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
(g_volume_mount), (g_volume_mount_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_class_init),
(g_volume_monitor_get_connected_drives),
(g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
* gvolumemonitor.h:
svn path=/trunk/; revision=6095
2007-12-11 22:23:55 +01:00
|
|
|
g_unix_mount_point_guess_icon
|
2007-12-17 15:59:23 +01:00
|
|
|
g_unix_mount_points_get
|
|
|
|
g_unix_mounts_get
|
|
|
|
g_unix_mount_at
|
2007-11-28 13:39:07 +01:00
|
|
|
g_unix_mounts_changed_since
|
|
|
|
g_unix_mount_points_changed_since
|
|
|
|
g_unix_mount_monitor_get_type G_GNUC_CONST
|
|
|
|
g_unix_mount_monitor_new
|
2008-03-14 12:18:59 +01:00
|
|
|
g_unix_mount_monitor_set_rate_limit
|
Rework how volumes, drives and volume monitoring is done. Previosly the
2007-12-11 David Zeuthen <davidz@redhat.com>
Rework how volumes, drives and volume monitoring is
done. Previosly the model was
GDrive <1-1> GVolume
where a GDrive instance represented a mount point and a GVolume
instance represented a mounted file system. This patch changes it
the model to
GDrive <1-N> GVolume <1-1> GMount
where GMount now serves the purpose of the old GVolume and the new
GVolume serves the purpose of the old GDrive. In addition the new
GDrive interface is used to represent a collection of GVolume
instances (typically partitions) and also contains utility to query
the state of the physical drive the GDrive object represents (such
as checking for media, polling the drive, ejecting the media etc.).
Also implement mounting and unmounting in the Unix volume monitor
backend. A subquent patch will introduce GDrive support for ejection
of media.
* Makefile.am:
* gdrive.c: (g_drive_is_media_check_automatic),
(g_drive_is_media_removable), (g_drive_has_media),
(g_drive_can_poll_for_media), (g_drive_eject),
(g_drive_eject_finish), (g_drive_poll_for_media),
(g_drive_poll_for_media_finish):
* gdrive.h:
* gfile.c: (g_file_find_enclosing_mount):
* gfile.h:
* gio.symbols:
* glocaldirectorymonitor.c:
(g_local_directory_monitor_constructor), (mounts_changed):
* glocalfile.c: (get_mount_info),
(g_local_file_find_enclosing_mount),
(g_local_file_file_iface_init):
* gnativevolumemonitor.h:
* gunionvolumemonitor.c: (get_mounts), (get_volumes),
(get_connected_drives), (g_union_volume_monitor_class_init),
(child_volume_added), (child_volume_removed),
(child_volume_changed), (child_mount_added), (child_mount_removed),
(child_mount_pre_unmount), (child_mount_changed),
(child_drive_changed), (g_union_volume_monitor_add_monitor),
(g_union_volume_monitor_remove_monitor),
(_g_mount_get_for_mount_path):
* gunixmounts.c: (g_unix_is_mount_path_system_internal),
(guess_system_internal), (_g_get_unix_mounts),
(_g_get_unix_mount_points), (g_get_unix_mount_at),
(g_unix_mount_free), (g_unix_mount_compare),
(g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
(g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
(g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
(type_to_icon), (g_unix_mount_guess_name),
(g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
(g_unix_mount_point_guess_icon), (_canonicalize_filename),
(_resolve_symlink), (_resolve_dev_root):
* gunixmounts.h:
* gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
(_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
(_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
(g_unix_volume_get_name), (g_unix_volume_can_mount),
(g_unix_volume_get_drive), (g_unix_volume_get_mount),
(_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
(g_unix_volume_mount), (g_unix_volume_mount_finish),
(g_unix_volume_volume_iface_init):
* gunixvolume.h:
* gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
(get_mounts), (get_volumes), (get_connected_drives),
(get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
(mountpoints_changed), (mounts_changed),
(g_unix_volume_monitor_init),
(_g_unix_volume_monitor_lookup_volume_for_mount_path),
(find_mount_by_mountpath), (update_volumes), (update_mounts):
* gunixvolumemonitor.h:
* gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
(g_volume_mount), (g_volume_mount_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_class_init),
(g_volume_monitor_get_connected_drives),
(g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
* gvolumemonitor.h:
svn path=/trunk/; revision=6095
2007-12-11 22:23:55 +01:00
|
|
|
g_unix_is_mount_path_system_internal
|
2007-12-03 23:37:44 +01:00
|
|
|
#endif /* G_OS_UNIX */
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_UNIX_INPUT_STREAM_H__)
|
|
|
|
#if IN_FILE(__G_UNIX_INPUT_STREAM_C__)
|
2007-12-03 23:37:44 +01:00
|
|
|
#ifdef G_OS_UNIX
|
2007-11-28 13:39:07 +01:00
|
|
|
g_unix_input_stream_get_type G_GNUC_CONST
|
|
|
|
g_unix_input_stream_new
|
2008-12-08 06:41:43 +01:00
|
|
|
g_unix_input_stream_set_close_fd
|
|
|
|
g_unix_input_stream_get_close_fd
|
|
|
|
g_unix_input_stream_get_fd
|
2007-12-03 23:37:44 +01:00
|
|
|
#endif /* G_OS_UNIX */
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_UNIX_OUTPUT_STREAM_H__)
|
|
|
|
#if IN_FILE(__G_UNIX_OUTPUT_STREAM_C__)
|
2007-12-03 23:37:44 +01:00
|
|
|
#ifdef G_OS_UNIX
|
2007-11-28 13:39:07 +01:00
|
|
|
g_unix_output_stream_get_type G_GNUC_CONST
|
|
|
|
g_unix_output_stream_new
|
2008-12-08 06:41:43 +01:00
|
|
|
g_unix_output_stream_set_close_fd
|
|
|
|
g_unix_output_stream_get_close_fd
|
|
|
|
g_unix_output_stream_get_fd
|
2007-12-03 23:37:44 +01:00
|
|
|
#endif /* G_OS_UNIX */
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
Rework how volumes, drives and volume monitoring is done. Previosly the
2007-12-11 David Zeuthen <davidz@redhat.com>
Rework how volumes, drives and volume monitoring is
done. Previosly the model was
GDrive <1-1> GVolume
where a GDrive instance represented a mount point and a GVolume
instance represented a mounted file system. This patch changes it
the model to
GDrive <1-N> GVolume <1-1> GMount
where GMount now serves the purpose of the old GVolume and the new
GVolume serves the purpose of the old GDrive. In addition the new
GDrive interface is used to represent a collection of GVolume
instances (typically partitions) and also contains utility to query
the state of the physical drive the GDrive object represents (such
as checking for media, polling the drive, ejecting the media etc.).
Also implement mounting and unmounting in the Unix volume monitor
backend. A subquent patch will introduce GDrive support for ejection
of media.
* Makefile.am:
* gdrive.c: (g_drive_is_media_check_automatic),
(g_drive_is_media_removable), (g_drive_has_media),
(g_drive_can_poll_for_media), (g_drive_eject),
(g_drive_eject_finish), (g_drive_poll_for_media),
(g_drive_poll_for_media_finish):
* gdrive.h:
* gfile.c: (g_file_find_enclosing_mount):
* gfile.h:
* gio.symbols:
* glocaldirectorymonitor.c:
(g_local_directory_monitor_constructor), (mounts_changed):
* glocalfile.c: (get_mount_info),
(g_local_file_find_enclosing_mount),
(g_local_file_file_iface_init):
* gnativevolumemonitor.h:
* gunionvolumemonitor.c: (get_mounts), (get_volumes),
(get_connected_drives), (g_union_volume_monitor_class_init),
(child_volume_added), (child_volume_removed),
(child_volume_changed), (child_mount_added), (child_mount_removed),
(child_mount_pre_unmount), (child_mount_changed),
(child_drive_changed), (g_union_volume_monitor_add_monitor),
(g_union_volume_monitor_remove_monitor),
(_g_mount_get_for_mount_path):
* gunixmounts.c: (g_unix_is_mount_path_system_internal),
(guess_system_internal), (_g_get_unix_mounts),
(_g_get_unix_mount_points), (g_get_unix_mount_at),
(g_unix_mount_free), (g_unix_mount_compare),
(g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
(g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
(g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
(type_to_icon), (g_unix_mount_guess_name),
(g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
(g_unix_mount_point_guess_icon), (_canonicalize_filename),
(_resolve_symlink), (_resolve_dev_root):
* gunixmounts.h:
* gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
(_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
(_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
(g_unix_volume_get_name), (g_unix_volume_can_mount),
(g_unix_volume_get_drive), (g_unix_volume_get_mount),
(_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
(g_unix_volume_mount), (g_unix_volume_mount_finish),
(g_unix_volume_volume_iface_init):
* gunixvolume.h:
* gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
(get_mounts), (get_volumes), (get_connected_drives),
(get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
(mountpoints_changed), (mounts_changed),
(g_unix_volume_monitor_init),
(_g_unix_volume_monitor_lookup_volume_for_mount_path),
(find_mount_by_mountpath), (update_volumes), (update_mounts):
* gunixvolumemonitor.h:
* gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
(g_volume_mount), (g_volume_mount_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_class_init),
(g_volume_monitor_get_connected_drives),
(g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
* gvolumemonitor.h:
svn path=/trunk/; revision=6095
2007-12-11 22:23:55 +01:00
|
|
|
#if IN_HEADER(__G_MOUNT_H__)
|
|
|
|
#if IN_FILE(__G_MOUNT_C__)
|
|
|
|
g_mount_get_type G_GNUC_CONST
|
|
|
|
g_mount_get_root
|
|
|
|
g_mount_get_name
|
|
|
|
g_mount_get_icon
|
Provide eject() on both GMount and GVolume and utility functions to guess
2007-12-14 David Zeuthen <davidz@redhat.com>
* Makefile.am:
* gio.symbols:
* gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
(g_mount_eject), (g_mount_eject_finish):
* gmount.h:
* gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
(get_volume_for_uuid), (get_mount_for_uuid),
(g_union_volume_monitor_class_init),
(get_default_native_type_with_exclude), (get_default_native_type),
(get_native_type), (update_native_type),
(g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
* gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
(g_unix_mount_can_eject), (eject_unmount_cb),
(eject_unmount_read_error), (eject_unmount_do),
(g_unix_mount_unmount), (g_unix_mount_eject),
(g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
* gunixmounts.c: (g_unix_mount_guess_can_eject),
(g_unix_mount_point_guess_can_eject):
* gunixmounts.h:
* gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
(g_unix_volume_can_eject), (g_unix_volume_get_drive),
(eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
(g_unix_volume_mount), (g_unix_volume_eject),
(g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
* gunixvolumemonitor.c: (get_volume_for_uuid),
(get_mount_for_uuid), (g_unix_volume_monitor_class_init),
(update_mounts):
* gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
(g_volume_eject), (g_volume_eject_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
(g_volume_monitor_get_mount_for_uuid):
* gvolumemonitor.h:
Provide eject() on both GMount and GVolume and utility functions
to guess whether a GUnixMountPoint or GUnixMountEntry should be
ejected. Introduce the concept of UUID's and wire it into GVolume
and GMount and provide API on GVolumeMonitor to find such
instances. Also handle the case where an external
GNativeVolumeMonitor fails to initialize. Lock around the
_g_get_mount_for_mount_path() function such that volume monitor
implementations won't have to do locking themselves.
svn path=/trunk/; revision=6140
2007-12-17 10:31:08 +01:00
|
|
|
g_mount_get_uuid
|
Rework how volumes, drives and volume monitoring is done. Previosly the
2007-12-11 David Zeuthen <davidz@redhat.com>
Rework how volumes, drives and volume monitoring is
done. Previosly the model was
GDrive <1-1> GVolume
where a GDrive instance represented a mount point and a GVolume
instance represented a mounted file system. This patch changes it
the model to
GDrive <1-N> GVolume <1-1> GMount
where GMount now serves the purpose of the old GVolume and the new
GVolume serves the purpose of the old GDrive. In addition the new
GDrive interface is used to represent a collection of GVolume
instances (typically partitions) and also contains utility to query
the state of the physical drive the GDrive object represents (such
as checking for media, polling the drive, ejecting the media etc.).
Also implement mounting and unmounting in the Unix volume monitor
backend. A subquent patch will introduce GDrive support for ejection
of media.
* Makefile.am:
* gdrive.c: (g_drive_is_media_check_automatic),
(g_drive_is_media_removable), (g_drive_has_media),
(g_drive_can_poll_for_media), (g_drive_eject),
(g_drive_eject_finish), (g_drive_poll_for_media),
(g_drive_poll_for_media_finish):
* gdrive.h:
* gfile.c: (g_file_find_enclosing_mount):
* gfile.h:
* gio.symbols:
* glocaldirectorymonitor.c:
(g_local_directory_monitor_constructor), (mounts_changed):
* glocalfile.c: (get_mount_info),
(g_local_file_find_enclosing_mount),
(g_local_file_file_iface_init):
* gnativevolumemonitor.h:
* gunionvolumemonitor.c: (get_mounts), (get_volumes),
(get_connected_drives), (g_union_volume_monitor_class_init),
(child_volume_added), (child_volume_removed),
(child_volume_changed), (child_mount_added), (child_mount_removed),
(child_mount_pre_unmount), (child_mount_changed),
(child_drive_changed), (g_union_volume_monitor_add_monitor),
(g_union_volume_monitor_remove_monitor),
(_g_mount_get_for_mount_path):
* gunixmounts.c: (g_unix_is_mount_path_system_internal),
(guess_system_internal), (_g_get_unix_mounts),
(_g_get_unix_mount_points), (g_get_unix_mount_at),
(g_unix_mount_free), (g_unix_mount_compare),
(g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
(g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
(g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
(type_to_icon), (g_unix_mount_guess_name),
(g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
(g_unix_mount_point_guess_icon), (_canonicalize_filename),
(_resolve_symlink), (_resolve_dev_root):
* gunixmounts.h:
* gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
(_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
(_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
(g_unix_volume_get_name), (g_unix_volume_can_mount),
(g_unix_volume_get_drive), (g_unix_volume_get_mount),
(_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
(g_unix_volume_mount), (g_unix_volume_mount_finish),
(g_unix_volume_volume_iface_init):
* gunixvolume.h:
* gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
(get_mounts), (get_volumes), (get_connected_drives),
(get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
(mountpoints_changed), (mounts_changed),
(g_unix_volume_monitor_init),
(_g_unix_volume_monitor_lookup_volume_for_mount_path),
(find_mount_by_mountpath), (update_volumes), (update_mounts):
* gunixvolumemonitor.h:
* gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
(g_volume_mount), (g_volume_mount_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_class_init),
(g_volume_monitor_get_connected_drives),
(g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
* gvolumemonitor.h:
svn path=/trunk/; revision=6095
2007-12-11 22:23:55 +01:00
|
|
|
g_mount_get_volume
|
|
|
|
g_mount_get_drive
|
|
|
|
g_mount_can_unmount
|
Provide eject() on both GMount and GVolume and utility functions to guess
2007-12-14 David Zeuthen <davidz@redhat.com>
* Makefile.am:
* gio.symbols:
* gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
(g_mount_eject), (g_mount_eject_finish):
* gmount.h:
* gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
(get_volume_for_uuid), (get_mount_for_uuid),
(g_union_volume_monitor_class_init),
(get_default_native_type_with_exclude), (get_default_native_type),
(get_native_type), (update_native_type),
(g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
* gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
(g_unix_mount_can_eject), (eject_unmount_cb),
(eject_unmount_read_error), (eject_unmount_do),
(g_unix_mount_unmount), (g_unix_mount_eject),
(g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
* gunixmounts.c: (g_unix_mount_guess_can_eject),
(g_unix_mount_point_guess_can_eject):
* gunixmounts.h:
* gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
(g_unix_volume_can_eject), (g_unix_volume_get_drive),
(eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
(g_unix_volume_mount), (g_unix_volume_eject),
(g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
* gunixvolumemonitor.c: (get_volume_for_uuid),
(get_mount_for_uuid), (g_unix_volume_monitor_class_init),
(update_mounts):
* gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
(g_volume_eject), (g_volume_eject_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
(g_volume_monitor_get_mount_for_uuid):
* gvolumemonitor.h:
Provide eject() on both GMount and GVolume and utility functions
to guess whether a GUnixMountPoint or GUnixMountEntry should be
ejected. Introduce the concept of UUID's and wire it into GVolume
and GMount and provide API on GVolumeMonitor to find such
instances. Also handle the case where an external
GNativeVolumeMonitor fails to initialize. Lock around the
_g_get_mount_for_mount_path() function such that volume monitor
implementations won't have to do locking themselves.
svn path=/trunk/; revision=6140
2007-12-17 10:31:08 +01:00
|
|
|
g_mount_can_eject
|
Rework how volumes, drives and volume monitoring is done. Previosly the
2007-12-11 David Zeuthen <davidz@redhat.com>
Rework how volumes, drives and volume monitoring is
done. Previosly the model was
GDrive <1-1> GVolume
where a GDrive instance represented a mount point and a GVolume
instance represented a mounted file system. This patch changes it
the model to
GDrive <1-N> GVolume <1-1> GMount
where GMount now serves the purpose of the old GVolume and the new
GVolume serves the purpose of the old GDrive. In addition the new
GDrive interface is used to represent a collection of GVolume
instances (typically partitions) and also contains utility to query
the state of the physical drive the GDrive object represents (such
as checking for media, polling the drive, ejecting the media etc.).
Also implement mounting and unmounting in the Unix volume monitor
backend. A subquent patch will introduce GDrive support for ejection
of media.
* Makefile.am:
* gdrive.c: (g_drive_is_media_check_automatic),
(g_drive_is_media_removable), (g_drive_has_media),
(g_drive_can_poll_for_media), (g_drive_eject),
(g_drive_eject_finish), (g_drive_poll_for_media),
(g_drive_poll_for_media_finish):
* gdrive.h:
* gfile.c: (g_file_find_enclosing_mount):
* gfile.h:
* gio.symbols:
* glocaldirectorymonitor.c:
(g_local_directory_monitor_constructor), (mounts_changed):
* glocalfile.c: (get_mount_info),
(g_local_file_find_enclosing_mount),
(g_local_file_file_iface_init):
* gnativevolumemonitor.h:
* gunionvolumemonitor.c: (get_mounts), (get_volumes),
(get_connected_drives), (g_union_volume_monitor_class_init),
(child_volume_added), (child_volume_removed),
(child_volume_changed), (child_mount_added), (child_mount_removed),
(child_mount_pre_unmount), (child_mount_changed),
(child_drive_changed), (g_union_volume_monitor_add_monitor),
(g_union_volume_monitor_remove_monitor),
(_g_mount_get_for_mount_path):
* gunixmounts.c: (g_unix_is_mount_path_system_internal),
(guess_system_internal), (_g_get_unix_mounts),
(_g_get_unix_mount_points), (g_get_unix_mount_at),
(g_unix_mount_free), (g_unix_mount_compare),
(g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
(g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
(g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
(type_to_icon), (g_unix_mount_guess_name),
(g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
(g_unix_mount_point_guess_icon), (_canonicalize_filename),
(_resolve_symlink), (_resolve_dev_root):
* gunixmounts.h:
* gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
(_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
(_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
(g_unix_volume_get_name), (g_unix_volume_can_mount),
(g_unix_volume_get_drive), (g_unix_volume_get_mount),
(_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
(g_unix_volume_mount), (g_unix_volume_mount_finish),
(g_unix_volume_volume_iface_init):
* gunixvolume.h:
* gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
(get_mounts), (get_volumes), (get_connected_drives),
(get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
(mountpoints_changed), (mounts_changed),
(g_unix_volume_monitor_init),
(_g_unix_volume_monitor_lookup_volume_for_mount_path),
(find_mount_by_mountpath), (update_volumes), (update_mounts):
* gunixvolumemonitor.h:
* gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
(g_volume_mount), (g_volume_mount_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_class_init),
(g_volume_monitor_get_connected_drives),
(g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
* gvolumemonitor.h:
svn path=/trunk/; revision=6095
2007-12-11 22:23:55 +01:00
|
|
|
g_mount_unmount
|
|
|
|
g_mount_unmount_finish
|
Provide eject() on both GMount and GVolume and utility functions to guess
2007-12-14 David Zeuthen <davidz@redhat.com>
* Makefile.am:
* gio.symbols:
* gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
(g_mount_eject), (g_mount_eject_finish):
* gmount.h:
* gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
(get_volume_for_uuid), (get_mount_for_uuid),
(g_union_volume_monitor_class_init),
(get_default_native_type_with_exclude), (get_default_native_type),
(get_native_type), (update_native_type),
(g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
* gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
(g_unix_mount_can_eject), (eject_unmount_cb),
(eject_unmount_read_error), (eject_unmount_do),
(g_unix_mount_unmount), (g_unix_mount_eject),
(g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
* gunixmounts.c: (g_unix_mount_guess_can_eject),
(g_unix_mount_point_guess_can_eject):
* gunixmounts.h:
* gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
(g_unix_volume_can_eject), (g_unix_volume_get_drive),
(eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
(g_unix_volume_mount), (g_unix_volume_eject),
(g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
* gunixvolumemonitor.c: (get_volume_for_uuid),
(get_mount_for_uuid), (g_unix_volume_monitor_class_init),
(update_mounts):
* gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
(g_volume_eject), (g_volume_eject_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
(g_volume_monitor_get_mount_for_uuid):
* gvolumemonitor.h:
Provide eject() on both GMount and GVolume and utility functions
to guess whether a GUnixMountPoint or GUnixMountEntry should be
ejected. Introduce the concept of UUID's and wire it into GVolume
and GMount and provide API on GVolumeMonitor to find such
instances. Also handle the case where an external
GNativeVolumeMonitor fails to initialize. Lock around the
_g_get_mount_for_mount_path() function such that volume monitor
implementations won't have to do locking themselves.
svn path=/trunk/; revision=6140
2007-12-17 10:31:08 +01:00
|
|
|
g_mount_eject
|
|
|
|
g_mount_eject_finish
|
2007-12-20 12:48:14 +01:00
|
|
|
g_mount_remount
|
|
|
|
g_mount_remount_finish
|
2008-07-08 18:02:08 +02:00
|
|
|
g_mount_guess_content_type
|
|
|
|
g_mount_guess_content_type_finish
|
2008-07-24 23:21:22 +02:00
|
|
|
g_mount_guess_content_type_sync
|
2008-12-01 14:46:11 +01:00
|
|
|
g_mount_is_shadowed
|
|
|
|
g_mount_shadow
|
|
|
|
g_mount_unshadow
|
Rework how volumes, drives and volume monitoring is done. Previosly the
2007-12-11 David Zeuthen <davidz@redhat.com>
Rework how volumes, drives and volume monitoring is
done. Previosly the model was
GDrive <1-1> GVolume
where a GDrive instance represented a mount point and a GVolume
instance represented a mounted file system. This patch changes it
the model to
GDrive <1-N> GVolume <1-1> GMount
where GMount now serves the purpose of the old GVolume and the new
GVolume serves the purpose of the old GDrive. In addition the new
GDrive interface is used to represent a collection of GVolume
instances (typically partitions) and also contains utility to query
the state of the physical drive the GDrive object represents (such
as checking for media, polling the drive, ejecting the media etc.).
Also implement mounting and unmounting in the Unix volume monitor
backend. A subquent patch will introduce GDrive support for ejection
of media.
* Makefile.am:
* gdrive.c: (g_drive_is_media_check_automatic),
(g_drive_is_media_removable), (g_drive_has_media),
(g_drive_can_poll_for_media), (g_drive_eject),
(g_drive_eject_finish), (g_drive_poll_for_media),
(g_drive_poll_for_media_finish):
* gdrive.h:
* gfile.c: (g_file_find_enclosing_mount):
* gfile.h:
* gio.symbols:
* glocaldirectorymonitor.c:
(g_local_directory_monitor_constructor), (mounts_changed):
* glocalfile.c: (get_mount_info),
(g_local_file_find_enclosing_mount),
(g_local_file_file_iface_init):
* gnativevolumemonitor.h:
* gunionvolumemonitor.c: (get_mounts), (get_volumes),
(get_connected_drives), (g_union_volume_monitor_class_init),
(child_volume_added), (child_volume_removed),
(child_volume_changed), (child_mount_added), (child_mount_removed),
(child_mount_pre_unmount), (child_mount_changed),
(child_drive_changed), (g_union_volume_monitor_add_monitor),
(g_union_volume_monitor_remove_monitor),
(_g_mount_get_for_mount_path):
* gunixmounts.c: (g_unix_is_mount_path_system_internal),
(guess_system_internal), (_g_get_unix_mounts),
(_g_get_unix_mount_points), (g_get_unix_mount_at),
(g_unix_mount_free), (g_unix_mount_compare),
(g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
(g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
(g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
(type_to_icon), (g_unix_mount_guess_name),
(g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
(g_unix_mount_point_guess_icon), (_canonicalize_filename),
(_resolve_symlink), (_resolve_dev_root):
* gunixmounts.h:
* gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
(_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
(_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
(g_unix_volume_get_name), (g_unix_volume_can_mount),
(g_unix_volume_get_drive), (g_unix_volume_get_mount),
(_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
(g_unix_volume_mount), (g_unix_volume_mount_finish),
(g_unix_volume_volume_iface_init):
* gunixvolume.h:
* gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
(get_mounts), (get_volumes), (get_connected_drives),
(get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
(mountpoints_changed), (mounts_changed),
(g_unix_volume_monitor_init),
(_g_unix_volume_monitor_lookup_volume_for_mount_path),
(find_mount_by_mountpath), (update_volumes), (update_mounts):
* gunixvolumemonitor.h:
* gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
(g_volume_mount), (g_volume_mount_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_class_init),
(g_volume_monitor_get_connected_drives),
(g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
* gvolumemonitor.h:
svn path=/trunk/; revision=6095
2007-12-11 22:23:55 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2007-11-28 13:39:07 +01:00
|
|
|
#if IN_HEADER(__G_VOLUME_H__)
|
|
|
|
#if IN_FILE(__G_VOLUME_C__)
|
|
|
|
g_volume_get_type G_GNUC_CONST
|
|
|
|
g_volume_get_name
|
|
|
|
g_volume_get_icon
|
Provide eject() on both GMount and GVolume and utility functions to guess
2007-12-14 David Zeuthen <davidz@redhat.com>
* Makefile.am:
* gio.symbols:
* gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
(g_mount_eject), (g_mount_eject_finish):
* gmount.h:
* gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
(get_volume_for_uuid), (get_mount_for_uuid),
(g_union_volume_monitor_class_init),
(get_default_native_type_with_exclude), (get_default_native_type),
(get_native_type), (update_native_type),
(g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
* gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
(g_unix_mount_can_eject), (eject_unmount_cb),
(eject_unmount_read_error), (eject_unmount_do),
(g_unix_mount_unmount), (g_unix_mount_eject),
(g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
* gunixmounts.c: (g_unix_mount_guess_can_eject),
(g_unix_mount_point_guess_can_eject):
* gunixmounts.h:
* gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
(g_unix_volume_can_eject), (g_unix_volume_get_drive),
(eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
(g_unix_volume_mount), (g_unix_volume_eject),
(g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
* gunixvolumemonitor.c: (get_volume_for_uuid),
(get_mount_for_uuid), (g_unix_volume_monitor_class_init),
(update_mounts):
* gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
(g_volume_eject), (g_volume_eject_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
(g_volume_monitor_get_mount_for_uuid):
* gvolumemonitor.h:
Provide eject() on both GMount and GVolume and utility functions
to guess whether a GUnixMountPoint or GUnixMountEntry should be
ejected. Introduce the concept of UUID's and wire it into GVolume
and GMount and provide API on GVolumeMonitor to find such
instances. Also handle the case where an external
GNativeVolumeMonitor fails to initialize. Lock around the
_g_get_mount_for_mount_path() function such that volume monitor
implementations won't have to do locking themselves.
svn path=/trunk/; revision=6140
2007-12-17 10:31:08 +01:00
|
|
|
g_volume_get_uuid
|
2007-11-28 13:39:07 +01:00
|
|
|
g_volume_get_drive
|
Rework how volumes, drives and volume monitoring is done. Previosly the
2007-12-11 David Zeuthen <davidz@redhat.com>
Rework how volumes, drives and volume monitoring is
done. Previosly the model was
GDrive <1-1> GVolume
where a GDrive instance represented a mount point and a GVolume
instance represented a mounted file system. This patch changes it
the model to
GDrive <1-N> GVolume <1-1> GMount
where GMount now serves the purpose of the old GVolume and the new
GVolume serves the purpose of the old GDrive. In addition the new
GDrive interface is used to represent a collection of GVolume
instances (typically partitions) and also contains utility to query
the state of the physical drive the GDrive object represents (such
as checking for media, polling the drive, ejecting the media etc.).
Also implement mounting and unmounting in the Unix volume monitor
backend. A subquent patch will introduce GDrive support for ejection
of media.
* Makefile.am:
* gdrive.c: (g_drive_is_media_check_automatic),
(g_drive_is_media_removable), (g_drive_has_media),
(g_drive_can_poll_for_media), (g_drive_eject),
(g_drive_eject_finish), (g_drive_poll_for_media),
(g_drive_poll_for_media_finish):
* gdrive.h:
* gfile.c: (g_file_find_enclosing_mount):
* gfile.h:
* gio.symbols:
* glocaldirectorymonitor.c:
(g_local_directory_monitor_constructor), (mounts_changed):
* glocalfile.c: (get_mount_info),
(g_local_file_find_enclosing_mount),
(g_local_file_file_iface_init):
* gnativevolumemonitor.h:
* gunionvolumemonitor.c: (get_mounts), (get_volumes),
(get_connected_drives), (g_union_volume_monitor_class_init),
(child_volume_added), (child_volume_removed),
(child_volume_changed), (child_mount_added), (child_mount_removed),
(child_mount_pre_unmount), (child_mount_changed),
(child_drive_changed), (g_union_volume_monitor_add_monitor),
(g_union_volume_monitor_remove_monitor),
(_g_mount_get_for_mount_path):
* gunixmounts.c: (g_unix_is_mount_path_system_internal),
(guess_system_internal), (_g_get_unix_mounts),
(_g_get_unix_mount_points), (g_get_unix_mount_at),
(g_unix_mount_free), (g_unix_mount_compare),
(g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
(g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
(g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
(type_to_icon), (g_unix_mount_guess_name),
(g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
(g_unix_mount_point_guess_icon), (_canonicalize_filename),
(_resolve_symlink), (_resolve_dev_root):
* gunixmounts.h:
* gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
(_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
(_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
(g_unix_volume_get_name), (g_unix_volume_can_mount),
(g_unix_volume_get_drive), (g_unix_volume_get_mount),
(_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
(g_unix_volume_mount), (g_unix_volume_mount_finish),
(g_unix_volume_volume_iface_init):
* gunixvolume.h:
* gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
(get_mounts), (get_volumes), (get_connected_drives),
(get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
(mountpoints_changed), (mounts_changed),
(g_unix_volume_monitor_init),
(_g_unix_volume_monitor_lookup_volume_for_mount_path),
(find_mount_by_mountpath), (update_volumes), (update_mounts):
* gunixvolumemonitor.h:
* gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
(g_volume_mount), (g_volume_mount_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_class_init),
(g_volume_monitor_get_connected_drives),
(g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
* gvolumemonitor.h:
svn path=/trunk/; revision=6095
2007-12-11 22:23:55 +01:00
|
|
|
g_volume_get_mount
|
2008-02-08 17:12:55 +01:00
|
|
|
g_volume_should_automount
|
Rework how volumes, drives and volume monitoring is done. Previosly the
2007-12-11 David Zeuthen <davidz@redhat.com>
Rework how volumes, drives and volume monitoring is
done. Previosly the model was
GDrive <1-1> GVolume
where a GDrive instance represented a mount point and a GVolume
instance represented a mounted file system. This patch changes it
the model to
GDrive <1-N> GVolume <1-1> GMount
where GMount now serves the purpose of the old GVolume and the new
GVolume serves the purpose of the old GDrive. In addition the new
GDrive interface is used to represent a collection of GVolume
instances (typically partitions) and also contains utility to query
the state of the physical drive the GDrive object represents (such
as checking for media, polling the drive, ejecting the media etc.).
Also implement mounting and unmounting in the Unix volume monitor
backend. A subquent patch will introduce GDrive support for ejection
of media.
* Makefile.am:
* gdrive.c: (g_drive_is_media_check_automatic),
(g_drive_is_media_removable), (g_drive_has_media),
(g_drive_can_poll_for_media), (g_drive_eject),
(g_drive_eject_finish), (g_drive_poll_for_media),
(g_drive_poll_for_media_finish):
* gdrive.h:
* gfile.c: (g_file_find_enclosing_mount):
* gfile.h:
* gio.symbols:
* glocaldirectorymonitor.c:
(g_local_directory_monitor_constructor), (mounts_changed):
* glocalfile.c: (get_mount_info),
(g_local_file_find_enclosing_mount),
(g_local_file_file_iface_init):
* gnativevolumemonitor.h:
* gunionvolumemonitor.c: (get_mounts), (get_volumes),
(get_connected_drives), (g_union_volume_monitor_class_init),
(child_volume_added), (child_volume_removed),
(child_volume_changed), (child_mount_added), (child_mount_removed),
(child_mount_pre_unmount), (child_mount_changed),
(child_drive_changed), (g_union_volume_monitor_add_monitor),
(g_union_volume_monitor_remove_monitor),
(_g_mount_get_for_mount_path):
* gunixmounts.c: (g_unix_is_mount_path_system_internal),
(guess_system_internal), (_g_get_unix_mounts),
(_g_get_unix_mount_points), (g_get_unix_mount_at),
(g_unix_mount_free), (g_unix_mount_compare),
(g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
(g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
(g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
(type_to_icon), (g_unix_mount_guess_name),
(g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
(g_unix_mount_point_guess_icon), (_canonicalize_filename),
(_resolve_symlink), (_resolve_dev_root):
* gunixmounts.h:
* gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
(_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
(_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
(g_unix_volume_get_name), (g_unix_volume_can_mount),
(g_unix_volume_get_drive), (g_unix_volume_get_mount),
(_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
(g_unix_volume_mount), (g_unix_volume_mount_finish),
(g_unix_volume_volume_iface_init):
* gunixvolume.h:
* gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
(get_mounts), (get_volumes), (get_connected_drives),
(get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
(mountpoints_changed), (mounts_changed),
(g_unix_volume_monitor_init),
(_g_unix_volume_monitor_lookup_volume_for_mount_path),
(find_mount_by_mountpath), (update_volumes), (update_mounts):
* gunixvolumemonitor.h:
* gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
(g_volume_mount), (g_volume_mount_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_class_init),
(g_volume_monitor_get_connected_drives),
(g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
* gvolumemonitor.h:
svn path=/trunk/; revision=6095
2007-12-11 22:23:55 +01:00
|
|
|
g_volume_can_mount
|
Provide eject() on both GMount and GVolume and utility functions to guess
2007-12-14 David Zeuthen <davidz@redhat.com>
* Makefile.am:
* gio.symbols:
* gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
(g_mount_eject), (g_mount_eject_finish):
* gmount.h:
* gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
(get_volume_for_uuid), (get_mount_for_uuid),
(g_union_volume_monitor_class_init),
(get_default_native_type_with_exclude), (get_default_native_type),
(get_native_type), (update_native_type),
(g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
* gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
(g_unix_mount_can_eject), (eject_unmount_cb),
(eject_unmount_read_error), (eject_unmount_do),
(g_unix_mount_unmount), (g_unix_mount_eject),
(g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
* gunixmounts.c: (g_unix_mount_guess_can_eject),
(g_unix_mount_point_guess_can_eject):
* gunixmounts.h:
* gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
(g_unix_volume_can_eject), (g_unix_volume_get_drive),
(eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
(g_unix_volume_mount), (g_unix_volume_eject),
(g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
* gunixvolumemonitor.c: (get_volume_for_uuid),
(get_mount_for_uuid), (g_unix_volume_monitor_class_init),
(update_mounts):
* gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
(g_volume_eject), (g_volume_eject_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
(g_volume_monitor_get_mount_for_uuid):
* gvolumemonitor.h:
Provide eject() on both GMount and GVolume and utility functions
to guess whether a GUnixMountPoint or GUnixMountEntry should be
ejected. Introduce the concept of UUID's and wire it into GVolume
and GMount and provide API on GVolumeMonitor to find such
instances. Also handle the case where an external
GNativeVolumeMonitor fails to initialize. Lock around the
_g_get_mount_for_mount_path() function such that volume monitor
implementations won't have to do locking themselves.
svn path=/trunk/; revision=6140
2007-12-17 10:31:08 +01:00
|
|
|
g_volume_can_eject
|
Rework how volumes, drives and volume monitoring is done. Previosly the
2007-12-11 David Zeuthen <davidz@redhat.com>
Rework how volumes, drives and volume monitoring is
done. Previosly the model was
GDrive <1-1> GVolume
where a GDrive instance represented a mount point and a GVolume
instance represented a mounted file system. This patch changes it
the model to
GDrive <1-N> GVolume <1-1> GMount
where GMount now serves the purpose of the old GVolume and the new
GVolume serves the purpose of the old GDrive. In addition the new
GDrive interface is used to represent a collection of GVolume
instances (typically partitions) and also contains utility to query
the state of the physical drive the GDrive object represents (such
as checking for media, polling the drive, ejecting the media etc.).
Also implement mounting and unmounting in the Unix volume monitor
backend. A subquent patch will introduce GDrive support for ejection
of media.
* Makefile.am:
* gdrive.c: (g_drive_is_media_check_automatic),
(g_drive_is_media_removable), (g_drive_has_media),
(g_drive_can_poll_for_media), (g_drive_eject),
(g_drive_eject_finish), (g_drive_poll_for_media),
(g_drive_poll_for_media_finish):
* gdrive.h:
* gfile.c: (g_file_find_enclosing_mount):
* gfile.h:
* gio.symbols:
* glocaldirectorymonitor.c:
(g_local_directory_monitor_constructor), (mounts_changed):
* glocalfile.c: (get_mount_info),
(g_local_file_find_enclosing_mount),
(g_local_file_file_iface_init):
* gnativevolumemonitor.h:
* gunionvolumemonitor.c: (get_mounts), (get_volumes),
(get_connected_drives), (g_union_volume_monitor_class_init),
(child_volume_added), (child_volume_removed),
(child_volume_changed), (child_mount_added), (child_mount_removed),
(child_mount_pre_unmount), (child_mount_changed),
(child_drive_changed), (g_union_volume_monitor_add_monitor),
(g_union_volume_monitor_remove_monitor),
(_g_mount_get_for_mount_path):
* gunixmounts.c: (g_unix_is_mount_path_system_internal),
(guess_system_internal), (_g_get_unix_mounts),
(_g_get_unix_mount_points), (g_get_unix_mount_at),
(g_unix_mount_free), (g_unix_mount_compare),
(g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
(g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
(g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
(type_to_icon), (g_unix_mount_guess_name),
(g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
(g_unix_mount_point_guess_icon), (_canonicalize_filename),
(_resolve_symlink), (_resolve_dev_root):
* gunixmounts.h:
* gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
(_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
(_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
(g_unix_volume_get_name), (g_unix_volume_can_mount),
(g_unix_volume_get_drive), (g_unix_volume_get_mount),
(_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
(g_unix_volume_mount), (g_unix_volume_mount_finish),
(g_unix_volume_volume_iface_init):
* gunixvolume.h:
* gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
(get_mounts), (get_volumes), (get_connected_drives),
(get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
(mountpoints_changed), (mounts_changed),
(g_unix_volume_monitor_init),
(_g_unix_volume_monitor_lookup_volume_for_mount_path),
(find_mount_by_mountpath), (update_volumes), (update_mounts):
* gunixvolumemonitor.h:
* gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
(g_volume_mount), (g_volume_mount_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_class_init),
(g_volume_monitor_get_connected_drives),
(g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
* gvolumemonitor.h:
svn path=/trunk/; revision=6095
2007-12-11 22:23:55 +01:00
|
|
|
g_volume_mount
|
|
|
|
g_volume_mount_finish
|
Provide eject() on both GMount and GVolume and utility functions to guess
2007-12-14 David Zeuthen <davidz@redhat.com>
* Makefile.am:
* gio.symbols:
* gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
(g_mount_eject), (g_mount_eject_finish):
* gmount.h:
* gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
(get_volume_for_uuid), (get_mount_for_uuid),
(g_union_volume_monitor_class_init),
(get_default_native_type_with_exclude), (get_default_native_type),
(get_native_type), (update_native_type),
(g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
* gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
(g_unix_mount_can_eject), (eject_unmount_cb),
(eject_unmount_read_error), (eject_unmount_do),
(g_unix_mount_unmount), (g_unix_mount_eject),
(g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
* gunixmounts.c: (g_unix_mount_guess_can_eject),
(g_unix_mount_point_guess_can_eject):
* gunixmounts.h:
* gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
(g_unix_volume_can_eject), (g_unix_volume_get_drive),
(eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
(g_unix_volume_mount), (g_unix_volume_eject),
(g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
* gunixvolumemonitor.c: (get_volume_for_uuid),
(get_mount_for_uuid), (g_unix_volume_monitor_class_init),
(update_mounts):
* gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
(g_volume_eject), (g_volume_eject_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
(g_volume_monitor_get_mount_for_uuid):
* gvolumemonitor.h:
Provide eject() on both GMount and GVolume and utility functions
to guess whether a GUnixMountPoint or GUnixMountEntry should be
ejected. Introduce the concept of UUID's and wire it into GVolume
and GMount and provide API on GVolumeMonitor to find such
instances. Also handle the case where an external
GNativeVolumeMonitor fails to initialize. Lock around the
_g_get_mount_for_mount_path() function such that volume monitor
implementations won't have to do locking themselves.
svn path=/trunk/; revision=6140
2007-12-17 10:31:08 +01:00
|
|
|
g_volume_eject
|
2008-01-24 17:06:33 +01:00
|
|
|
g_volume_eject_finish
|
|
|
|
g_volume_get_identifier
|
|
|
|
g_volume_enumerate_identifiers
|
2008-07-07 17:38:38 +02:00
|
|
|
g_volume_get_activation_root
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_VOLUME_MONITOR_H__)
|
|
|
|
#if IN_FILE(__G_VOLUME_MONITOR_C__)
|
|
|
|
g_volume_monitor_get_type G_GNUC_CONST
|
|
|
|
g_volume_monitor_get_connected_drives
|
2007-12-20 04:11:11 +01:00
|
|
|
g_volume_monitor_get_volume_for_uuid
|
Rework how volumes, drives and volume monitoring is done. Previosly the
2007-12-11 David Zeuthen <davidz@redhat.com>
Rework how volumes, drives and volume monitoring is
done. Previosly the model was
GDrive <1-1> GVolume
where a GDrive instance represented a mount point and a GVolume
instance represented a mounted file system. This patch changes it
the model to
GDrive <1-N> GVolume <1-1> GMount
where GMount now serves the purpose of the old GVolume and the new
GVolume serves the purpose of the old GDrive. In addition the new
GDrive interface is used to represent a collection of GVolume
instances (typically partitions) and also contains utility to query
the state of the physical drive the GDrive object represents (such
as checking for media, polling the drive, ejecting the media etc.).
Also implement mounting and unmounting in the Unix volume monitor
backend. A subquent patch will introduce GDrive support for ejection
of media.
* Makefile.am:
* gdrive.c: (g_drive_is_media_check_automatic),
(g_drive_is_media_removable), (g_drive_has_media),
(g_drive_can_poll_for_media), (g_drive_eject),
(g_drive_eject_finish), (g_drive_poll_for_media),
(g_drive_poll_for_media_finish):
* gdrive.h:
* gfile.c: (g_file_find_enclosing_mount):
* gfile.h:
* gio.symbols:
* glocaldirectorymonitor.c:
(g_local_directory_monitor_constructor), (mounts_changed):
* glocalfile.c: (get_mount_info),
(g_local_file_find_enclosing_mount),
(g_local_file_file_iface_init):
* gnativevolumemonitor.h:
* gunionvolumemonitor.c: (get_mounts), (get_volumes),
(get_connected_drives), (g_union_volume_monitor_class_init),
(child_volume_added), (child_volume_removed),
(child_volume_changed), (child_mount_added), (child_mount_removed),
(child_mount_pre_unmount), (child_mount_changed),
(child_drive_changed), (g_union_volume_monitor_add_monitor),
(g_union_volume_monitor_remove_monitor),
(_g_mount_get_for_mount_path):
* gunixmounts.c: (g_unix_is_mount_path_system_internal),
(guess_system_internal), (_g_get_unix_mounts),
(_g_get_unix_mount_points), (g_get_unix_mount_at),
(g_unix_mount_free), (g_unix_mount_compare),
(g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
(g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
(g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
(type_to_icon), (g_unix_mount_guess_name),
(g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
(g_unix_mount_point_guess_icon), (_canonicalize_filename),
(_resolve_symlink), (_resolve_dev_root):
* gunixmounts.h:
* gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
(_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
(_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
(g_unix_volume_get_name), (g_unix_volume_can_mount),
(g_unix_volume_get_drive), (g_unix_volume_get_mount),
(_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
(g_unix_volume_mount), (g_unix_volume_mount_finish),
(g_unix_volume_volume_iface_init):
* gunixvolume.h:
* gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
(get_mounts), (get_volumes), (get_connected_drives),
(get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
(mountpoints_changed), (mounts_changed),
(g_unix_volume_monitor_init),
(_g_unix_volume_monitor_lookup_volume_for_mount_path),
(find_mount_by_mountpath), (update_volumes), (update_mounts):
* gunixvolumemonitor.h:
* gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
(g_volume_mount), (g_volume_mount_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_class_init),
(g_volume_monitor_get_connected_drives),
(g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
* gvolumemonitor.h:
svn path=/trunk/; revision=6095
2007-12-11 22:23:55 +01:00
|
|
|
g_volume_monitor_get_volumes
|
|
|
|
g_volume_monitor_get_mounts
|
Provide eject() on both GMount and GVolume and utility functions to guess
2007-12-14 David Zeuthen <davidz@redhat.com>
* Makefile.am:
* gio.symbols:
* gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
(g_mount_eject), (g_mount_eject_finish):
* gmount.h:
* gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
(get_volume_for_uuid), (get_mount_for_uuid),
(g_union_volume_monitor_class_init),
(get_default_native_type_with_exclude), (get_default_native_type),
(get_native_type), (update_native_type),
(g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
* gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
(g_unix_mount_can_eject), (eject_unmount_cb),
(eject_unmount_read_error), (eject_unmount_do),
(g_unix_mount_unmount), (g_unix_mount_eject),
(g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
* gunixmounts.c: (g_unix_mount_guess_can_eject),
(g_unix_mount_point_guess_can_eject):
* gunixmounts.h:
* gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
(g_unix_volume_can_eject), (g_unix_volume_get_drive),
(eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
(g_unix_volume_mount), (g_unix_volume_eject),
(g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
* gunixvolumemonitor.c: (get_volume_for_uuid),
(get_mount_for_uuid), (g_unix_volume_monitor_class_init),
(update_mounts):
* gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
(g_volume_eject), (g_volume_eject_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
(g_volume_monitor_get_mount_for_uuid):
* gvolumemonitor.h:
Provide eject() on both GMount and GVolume and utility functions
to guess whether a GUnixMountPoint or GUnixMountEntry should be
ejected. Introduce the concept of UUID's and wire it into GVolume
and GMount and provide API on GVolumeMonitor to find such
instances. Also handle the case where an external
GNativeVolumeMonitor fails to initialize. Lock around the
_g_get_mount_for_mount_path() function such that volume monitor
implementations won't have to do locking themselves.
svn path=/trunk/; revision=6140
2007-12-17 10:31:08 +01:00
|
|
|
g_volume_monitor_get_mount_for_uuid
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#if IN_FILE(__G_UNION_VOLUME_MONITOR_C__)
|
|
|
|
g_volume_monitor_get
|
2008-10-12 19:05:17 +02:00
|
|
|
#ifndef G_DISABLE_DEPRECATED
|
2007-12-19 10:39:50 +01:00
|
|
|
g_volume_monitor_adopt_orphan_mount
|
2007-11-28 13:39:07 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
2008-10-12 19:05:17 +02:00
|
|
|
#endif
|
2007-11-28 17:01:59 +01:00
|
|
|
|
|
|
|
#if IN_HEADER(__G_NATIVE_VOLUME_MONITOR_H__)
|
|
|
|
#if IN_FILE(__G_NATIVE_VOLUME_MONITOR_C__)
|
|
|
|
g_native_volume_monitor_get_type G_GNUC_CONST
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_LOCAL_FILE_MONITOR_H__)
|
|
|
|
#if IN_FILE(__G_LOCAL_FILE_MONITOR_C__)
|
2007-12-03 23:37:44 +01:00
|
|
|
#ifdef G_OS_UNIX
|
2007-11-28 17:01:59 +01:00
|
|
|
g_local_file_monitor_get_type G_GNUC_CONST
|
|
|
|
#endif
|
|
|
|
#endif
|
2007-12-03 23:37:44 +01:00
|
|
|
#endif
|
2007-11-28 17:01:59 +01:00
|
|
|
|
|
|
|
#if IN_HEADER(__G_LOCAL_DIRECTORY_MONITOR_H__)
|
|
|
|
#if IN_FILE(__G_LOCAL_DIRECTORY_MONITOR_C__)
|
2007-12-03 23:37:44 +01:00
|
|
|
#ifdef G_OS_UNIX
|
2007-11-28 17:01:59 +01:00
|
|
|
g_local_directory_monitor_get_type G_GNUC_CONST
|
|
|
|
#endif
|
|
|
|
#endif
|
2007-12-03 23:37:44 +01:00
|
|
|
#endif
|
2007-12-01 02:53:00 +01:00
|
|
|
|
|
|
|
#if IN_HEADER(__GIO_ENUM_TYPES_H__)
|
|
|
|
#if IN_FILE(__GIO_ENUM_TYPES_C__)
|
2007-12-20 12:48:14 +01:00
|
|
|
g_mount_unmount_flags_get_type G_GNUC_CONST
|
2007-12-01 02:53:00 +01:00
|
|
|
g_app_info_create_flags_get_type G_GNUC_CONST
|
|
|
|
g_data_stream_byte_order_get_type G_GNUC_CONST
|
|
|
|
g_data_stream_newline_type_get_type G_GNUC_CONST
|
2007-12-14 12:07:31 +01:00
|
|
|
g_file_attribute_info_flags_get_type G_GNUC_CONST
|
2007-12-01 02:53:00 +01:00
|
|
|
g_file_attribute_status_get_type G_GNUC_CONST
|
|
|
|
g_file_attribute_type_get_type G_GNUC_CONST
|
|
|
|
g_file_copy_flags_get_type G_GNUC_CONST
|
|
|
|
g_file_create_flags_get_type G_GNUC_CONST
|
|
|
|
g_file_monitor_event_get_type G_GNUC_CONST
|
|
|
|
g_file_monitor_flags_get_type G_GNUC_CONST
|
|
|
|
g_file_query_info_flags_get_type G_GNUC_CONST
|
|
|
|
g_file_type_get_type G_GNUC_CONST
|
2008-02-23 07:34:41 +01:00
|
|
|
g_filesystem_preview_type_get_type G_GNUC_CONST
|
2007-12-01 02:53:00 +01:00
|
|
|
g_io_error_enum_get_type G_GNUC_CONST
|
2008-02-11 19:31:43 +01:00
|
|
|
g_mount_mount_flags_get_type G_GNUC_CONST
|
2008-01-14 17:43:59 +01:00
|
|
|
g_mount_operation_result_get_type G_GNUC_CONST
|
2007-12-01 02:53:00 +01:00
|
|
|
g_output_stream_splice_flags_get_type G_GNUC_CONST
|
2007-12-14 12:07:31 +01:00
|
|
|
g_ask_password_flags_get_type G_GNUC_CONST
|
2007-12-01 02:53:00 +01:00
|
|
|
g_password_save_get_type G_GNUC_CONST
|
2008-08-04 19:19:30 +02:00
|
|
|
g_emblem_origin_get_type G_GNUC_CONST
|
2008-12-12 19:13:55 +01:00
|
|
|
g_socket_family_get_type G_GNUC_CONST
|
2009-05-14 15:26:37 +02:00
|
|
|
g_socket_type_get_type G_GNUC_CONST
|
2009-05-20 12:10:33 +02:00
|
|
|
g_socket_protocol_get_type G_GNUC_CONST
|
2009-05-14 15:26:37 +02:00
|
|
|
g_socket_msg_flags_get_type G_GNUC_CONST
|
2008-12-29 18:53:47 +01:00
|
|
|
g_resolver_error_get_type G_GNUC_CONST
|
2007-12-01 02:53:00 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
2008-07-28 17:35:07 +02:00
|
|
|
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_EMBLEMED_ICON_H__)
|
|
|
|
#if IN_FILE(__G_EMBLEMED_ICON_C__)
|
|
|
|
g_emblemed_icon_get_type G_GNUC_CONST
|
|
|
|
g_emblemed_icon_new
|
|
|
|
g_emblemed_icon_get_icon
|
2008-08-04 19:19:30 +02:00
|
|
|
g_emblemed_icon_get_emblems
|
|
|
|
g_emblemed_icon_add_emblem
|
2008-07-28 17:35:07 +02:00
|
|
|
#endif
|
|
|
|
#endif
|
2008-08-04 19:19:30 +02:00
|
|
|
|
|
|
|
#if IN_HEADER(__G_EMBLEM_H__)
|
|
|
|
#if IN_FILE(__G_EMBLEM_C__)
|
|
|
|
g_emblem_get_type G_GNUC_CONST
|
|
|
|
g_emblem_new
|
|
|
|
g_emblem_new_with_origin
|
|
|
|
g_emblem_get_icon
|
|
|
|
g_emblem_get_origin
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2008-12-12 19:13:55 +01:00
|
|
|
#if IN_HEADER(__G_INET_ADDRESS_H__)
|
|
|
|
#if IN_FILE(__G_INET_ADDRESS_C__)
|
|
|
|
g_inet_address_new_from_string
|
|
|
|
g_inet_address_new_from_bytes
|
|
|
|
g_inet_address_new_any
|
|
|
|
g_inet_address_new_loopback
|
|
|
|
g_inet_address_get_family
|
|
|
|
g_inet_address_get_type G_GNUC_CONST
|
|
|
|
g_inet_address_get_is_any
|
|
|
|
g_inet_address_get_is_link_local
|
|
|
|
g_inet_address_get_is_loopback
|
|
|
|
g_inet_address_get_is_mc_global
|
|
|
|
g_inet_address_get_is_mc_link_local
|
|
|
|
g_inet_address_get_is_mc_node_local
|
|
|
|
g_inet_address_get_is_mc_org_local
|
|
|
|
g_inet_address_get_is_mc_site_local
|
|
|
|
g_inet_address_get_is_multicast
|
|
|
|
g_inet_address_get_is_site_local
|
|
|
|
g_inet_address_to_bytes
|
2009-05-25 11:33:56 +02:00
|
|
|
g_inet_address_get_native_size
|
2008-12-12 19:13:55 +01:00
|
|
|
g_inet_address_to_string
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_INET_SOCKET_ADDRESS_H__)
|
|
|
|
#if IN_FILE(__G_INET_SOCKET_ADDRESS_C__)
|
|
|
|
g_inet_socket_address_get_address
|
|
|
|
g_inet_socket_address_get_port
|
|
|
|
g_inet_socket_address_get_type G_GNUC_CONST
|
|
|
|
g_inet_socket_address_new
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_UNIX_SOCKET_ADDRESS_H__)
|
|
|
|
#if IN_FILE(__G_UNIX_SOCKET_ADDRESS_C__)
|
|
|
|
#ifdef G_OS_UNIX
|
|
|
|
g_unix_socket_address_get_type G_GNUC_CONST
|
|
|
|
g_unix_socket_address_new
|
2009-05-20 12:10:33 +02:00
|
|
|
g_unix_socket_address_new_abstract
|
|
|
|
g_unix_socket_address_abstract_names_supported
|
|
|
|
g_unix_socket_address_get_is_abstract
|
|
|
|
g_unix_socket_address_get_path
|
|
|
|
g_unix_socket_address_get_path_len
|
2008-12-12 19:13:55 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_SOCKET_ADDRESS_H__)
|
|
|
|
#if IN_FILE(__G_SOCKET_ADDRESS_C__)
|
|
|
|
g_socket_address_new_from_native
|
|
|
|
g_socket_address_get_type G_GNUC_CONST
|
|
|
|
g_socket_address_get_family
|
|
|
|
g_socket_address_get_native_size
|
|
|
|
g_socket_address_to_native
|
|
|
|
#endif
|
|
|
|
#endif
|
2008-12-29 18:53:47 +01:00
|
|
|
|
|
|
|
#if IN_HEADER(__G_RESOLVER_H__)
|
|
|
|
#if IN_FILE(__G_RESOLVER_C__)
|
|
|
|
g_resolver_error_quark
|
|
|
|
g_resolver_free_addresses
|
|
|
|
g_resolver_free_targets
|
|
|
|
g_resolver_get_type G_GNUC_CONST
|
|
|
|
g_resolver_get_default
|
|
|
|
g_resolver_set_default
|
|
|
|
g_resolver_lookup_by_name
|
|
|
|
g_resolver_lookup_by_name_async
|
|
|
|
g_resolver_lookup_by_name_finish
|
|
|
|
g_resolver_lookup_by_address
|
|
|
|
g_resolver_lookup_by_address_async
|
|
|
|
g_resolver_lookup_by_address_finish
|
|
|
|
g_resolver_lookup_service
|
|
|
|
g_resolver_lookup_service_async
|
|
|
|
g_resolver_lookup_service_finish
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_THREADED_RESOLVER_H__)
|
|
|
|
#if IN_FILE(__G_THREADED_RESOLVER_C__)
|
|
|
|
g_threaded_resolver_get_type G_GNUC_CONST
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_UNIX_RESOLVER_H__)
|
|
|
|
#if IN_FILE(__G_UNIX_RESOLVER_C__)
|
|
|
|
#ifdef G_OS_UNIX
|
|
|
|
g_unix_resolver_get_type G_GNUC_CONST
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_WIN32_RESOLVER_H__)
|
|
|
|
#if IN_FILE(__G_WIN32_RESOLVER_C__)
|
|
|
|
#ifdef G_OS_WIN32
|
|
|
|
g_win32_resolver_get_type G_GNUC_CONST
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_SRV_TARGET_H__)
|
|
|
|
#if IN_FILE(__G_SRV_TARGET_C__)
|
|
|
|
g_srv_target_get_type G_GNUC_CONST
|
|
|
|
g_srv_target_new
|
|
|
|
g_srv_target_copy
|
|
|
|
g_srv_target_free
|
|
|
|
g_srv_target_get_hostname
|
|
|
|
g_srv_target_get_port
|
|
|
|
g_srv_target_get_priority
|
|
|
|
g_srv_target_get_weight
|
|
|
|
g_srv_target_list_sort
|
|
|
|
#endif
|
|
|
|
#endif
|
2008-12-29 19:38:28 +01:00
|
|
|
|
|
|
|
#if IN_HEADER(__G_NETWORK_ADDRESS_H__)
|
|
|
|
#if IN_FILE(__G_NETWORK_ADDRESS_C__)
|
|
|
|
g_network_address_get_type G_GNUC_CONST
|
|
|
|
g_network_address_get_hostname
|
|
|
|
g_network_address_get_port
|
|
|
|
g_network_address_new
|
2009-05-14 10:53:53 +02:00
|
|
|
g_network_address_parse
|
2008-12-29 19:38:28 +01:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_NETWORK_SERVICE_H__)
|
|
|
|
#if IN_FILE(__G_NETWORK_SERVICE_C__)
|
|
|
|
g_network_service_get_type G_GNUC_CONST
|
|
|
|
g_network_service_get_service
|
|
|
|
g_network_service_get_protocol
|
|
|
|
g_network_service_get_domain
|
|
|
|
g_network_service_new
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_SOCKET_CONNECTABLE_H__)
|
|
|
|
#if IN_FILE(__G_SOCKET_CONNECTABLE_C__)
|
|
|
|
g_socket_connectable_enumerate
|
|
|
|
g_socket_connectable_get_type G_GNUC_CONST
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_SOCKET_ADDRESS_ENUMERATOR_H__)
|
|
|
|
#if IN_FILE(__G_SOCKET_ADDRESS_ENUMERATOR_C__)
|
|
|
|
g_socket_address_enumerator_get_type G_GNUC_CONST
|
|
|
|
g_socket_address_enumerator_next
|
|
|
|
g_socket_address_enumerator_next_async
|
|
|
|
g_socket_address_enumerator_next_finish
|
|
|
|
#endif
|
|
|
|
#endif
|
2009-05-14 15:26:37 +02:00
|
|
|
|
|
|
|
#if IN_HEADER(__G_ASYNC_INITABLE_H__)
|
|
|
|
#if IN_FILE(__G_ASYNC_INITABLE_C__)
|
|
|
|
g_async_initable_get_type G_GNUC_CONST
|
|
|
|
g_async_initable_init_async
|
|
|
|
g_async_initable_init_finish
|
|
|
|
g_async_initable_new_async
|
|
|
|
g_async_initable_new_finish
|
|
|
|
g_async_initable_new_valist_async
|
|
|
|
g_async_initable_newv_async
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_INITABLE_H__)
|
|
|
|
#if IN_FILE(__G_INITABLE_C__)
|
|
|
|
g_initable_get_type G_GNUC_CONST
|
|
|
|
g_initable_init
|
|
|
|
g_initable_new
|
|
|
|
g_initable_newv
|
|
|
|
g_initable_new_valist
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_SOCKET_H__)
|
|
|
|
#if IN_FILE(__G_SOCKET_C__)
|
|
|
|
g_socket_get_type G_GNUC_CONST
|
|
|
|
g_socket_accept
|
|
|
|
g_socket_bind
|
2009-05-19 10:57:58 +02:00
|
|
|
g_socket_check_connect_result
|
2009-05-14 15:26:37 +02:00
|
|
|
g_socket_close
|
2009-05-19 11:52:33 +02:00
|
|
|
g_socket_shutdown
|
2009-05-14 15:26:37 +02:00
|
|
|
g_socket_condition_check
|
|
|
|
g_socket_condition_wait
|
|
|
|
g_socket_connect
|
|
|
|
g_socket_create_source
|
|
|
|
g_socket_get_blocking
|
|
|
|
g_socket_get_family
|
|
|
|
g_socket_get_fd
|
|
|
|
g_socket_get_keepalive
|
|
|
|
g_socket_get_listen_backlog
|
|
|
|
g_socket_get_local_address
|
2009-05-20 12:01:29 +02:00
|
|
|
g_socket_get_protocol
|
2009-05-14 15:26:37 +02:00
|
|
|
g_socket_get_remote_address
|
|
|
|
g_socket_get_socket_type
|
|
|
|
g_socket_is_closed
|
|
|
|
g_socket_is_connected
|
|
|
|
g_socket_listen
|
|
|
|
g_socket_new
|
|
|
|
g_socket_new_from_fd
|
|
|
|
g_socket_receive
|
|
|
|
g_socket_receive_from
|
|
|
|
g_socket_receive_message
|
|
|
|
g_socket_send
|
|
|
|
g_socket_send_message
|
|
|
|
g_socket_send_to
|
|
|
|
g_socket_set_blocking
|
|
|
|
g_socket_set_keepalive
|
|
|
|
g_socket_set_listen_backlog
|
2009-06-12 18:21:07 +02:00
|
|
|
g_socket_speaks_ipv4
|
2009-05-14 15:26:37 +02:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_SOCKET_CONTROL_MESSAGE_H__)
|
|
|
|
#if IN_FILE(__G_SOCKET_CONTROL_MESSAGE_C__)
|
|
|
|
g_socket_control_message_get_type G_GNUC_CONST
|
|
|
|
g_socket_control_message_deserialize
|
|
|
|
g_socket_control_message_get_level
|
|
|
|
g_socket_control_message_get_msg_type
|
|
|
|
g_socket_control_message_get_size
|
|
|
|
g_socket_control_message_serialize
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2009-05-15 21:26:24 +02:00
|
|
|
#if IN_HEADER(__G_SOCKET_CLIENT_H__)
|
|
|
|
#if IN_FILE(__G_SOCKET_CLIENT_C__)
|
|
|
|
g_socket_client_get_type G_GNUC_CONST
|
|
|
|
g_socket_client_connect
|
|
|
|
g_socket_client_connect_async
|
|
|
|
g_socket_client_connect_finish
|
|
|
|
g_socket_client_connect_to_host
|
|
|
|
g_socket_client_connect_to_host_async
|
|
|
|
g_socket_client_connect_to_host_finish
|
2009-05-20 12:41:50 +02:00
|
|
|
g_socket_client_connect_to_service
|
|
|
|
g_socket_client_connect_to_service_async
|
|
|
|
g_socket_client_connect_to_service_finish
|
2009-05-15 21:26:24 +02:00
|
|
|
g_socket_client_get_family
|
|
|
|
g_socket_client_get_local_address
|
|
|
|
g_socket_client_get_protocol
|
|
|
|
g_socket_client_get_socket_type
|
|
|
|
g_socket_client_new
|
|
|
|
g_socket_client_set_family
|
|
|
|
g_socket_client_set_local_address
|
|
|
|
g_socket_client_set_protocol
|
|
|
|
g_socket_client_set_socket_type
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_SOCKET_CONNECTION_H__)
|
|
|
|
#if IN_FILE(__G_SOCKET_CONNECTION_C__)
|
|
|
|
g_socket_connection_get_type G_GNUC_CONST
|
|
|
|
g_socket_connection_factory_create_connection
|
|
|
|
g_socket_connection_factory_lookup_type
|
|
|
|
g_socket_connection_factory_register_type
|
|
|
|
g_socket_connection_get_local_address
|
|
|
|
g_socket_connection_get_remote_address
|
|
|
|
g_socket_connection_get_socket
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_SOCKET_LISTENER_H__)
|
|
|
|
#if IN_FILE(__G_SOCKET_LISTENER_C__)
|
|
|
|
g_socket_listener_get_type G_GNUC_CONST
|
|
|
|
g_socket_listener_accept
|
|
|
|
g_socket_listener_accept_async
|
|
|
|
g_socket_listener_accept_finish
|
|
|
|
g_socket_listener_accept_socket
|
|
|
|
g_socket_listener_accept_socket_async
|
|
|
|
g_socket_listener_accept_socket_finish
|
|
|
|
g_socket_listener_add_address
|
|
|
|
g_socket_listener_add_inet_port
|
|
|
|
g_socket_listener_add_socket
|
|
|
|
g_socket_listener_close
|
|
|
|
g_socket_listener_new
|
|
|
|
g_socket_listener_set_backlog
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_SOCKET_SERVICE_H__)
|
|
|
|
#if IN_FILE(__G_SOCKET_SERVICE_C__)
|
|
|
|
g_socket_service_get_type G_GNUC_CONST
|
|
|
|
g_socket_service_is_active
|
|
|
|
g_socket_service_new
|
|
|
|
g_socket_service_start
|
|
|
|
g_socket_service_stop
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_THREADED_SOCKET_SERVICE_H__)
|
|
|
|
#if IN_FILE(__G_THREADED_SOCKET_SERVICE_C__)
|
|
|
|
g_threaded_socket_service_get_type G_GNUC_CONST
|
|
|
|
g_threaded_socket_service_new
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_TCP_CONNECTION_H__)
|
|
|
|
#if IN_FILE(__G_TCP_CONNECTION_C__)
|
|
|
|
g_tcp_connection_get_type G_GNUC_CONST
|
2009-05-20 11:19:47 +02:00
|
|
|
g_tcp_connection_set_graceful_disconnect
|
|
|
|
g_tcp_connection_get_graceful_disconnect
|
2009-05-15 21:26:24 +02:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if IN_HEADER(__G_UNIX_CONNECTION_H__)
|
|
|
|
#if IN_FILE(__G_UNIX_CONNECTION_C__)
|
2009-05-20 15:58:28 +02:00
|
|
|
#ifndef G_OS_WIN32
|
2009-05-15 21:26:24 +02:00
|
|
|
g_unix_connection_get_type G_GNUC_CONST
|
|
|
|
g_unix_connection_receive_fd
|
|
|
|
g_unix_connection_send_fd
|
|
|
|
#endif
|
|
|
|
#endif
|
2009-05-20 15:58:28 +02:00
|
|
|
#endif
|
2009-05-15 21:26:24 +02:00
|
|
|
|
2009-05-14 15:26:37 +02:00
|
|
|
#if IN_HEADER(__G_UNIX_FD_MESSAGE_H__)
|
|
|
|
#if IN_FILE(__G_UNIX_FD_MESSAGE_C__)
|
2009-05-20 15:58:28 +02:00
|
|
|
#ifndef G_OS_WIN32
|
2009-05-14 15:26:37 +02:00
|
|
|
g_unix_fd_message_get_type G_GNUC_CONST
|
|
|
|
g_unix_fd_message_append_fd
|
|
|
|
g_unix_fd_message_new
|
|
|
|
g_unix_fd_message_steal_fds
|
|
|
|
#endif
|
|
|
|
#endif
|
2009-05-20 15:58:28 +02:00
|
|
|
#endif
|