static MateVFSResult
do_tell (MateVFSMethod *method,
	 MateVFSMethodHandle *method_handle,
	 MateVFSFileSize *offset_return)
{
	PERFORM_OPERATION_NO_URI (tell, mate_vfs_tell ((MateVFSHandle *) method_handle, offset_return));
}
static MateVFSResult
do_close_directory (MateVFSMethod *method,
		    MateVFSMethodHandle *method_handle,
		    MateVFSContext *context)
{
	PERFORM_OPERATION_NO_URI (close_directory, mate_vfs_directory_close ((MateVFSDirectoryHandle *) method_handle));
}
static MateVFSResult
do_close (MateVFSMethod *method,
	  MateVFSMethodHandle *method_handle,
	  MateVFSContext *context)
{
	PERFORM_OPERATION_NO_URI (close, mate_vfs_close_cancellable ((MateVFSHandle *) method_handle, context));
}
Beispiel #4
0
static GnomeVFSResult
do_close_directory (GnomeVFSMethod *method,
		    GnomeVFSMethodHandle *method_handle,
		    GnomeVFSContext *context)
{
	PERFORM_OPERATION_NO_URI (close_directory, gnome_vfs_directory_close ((GnomeVFSDirectoryHandle *) method_handle));
}
Beispiel #5
0
static GnomeVFSResult
do_tell (GnomeVFSMethod *method,
	 GnomeVFSMethodHandle *method_handle,
	 GnomeVFSFileSize *offset_return)
{
	PERFORM_OPERATION_NO_URI (tell, gnome_vfs_tell ((GnomeVFSHandle *) method_handle, offset_return));
}
Beispiel #6
0
static GnomeVFSResult
do_close (GnomeVFSMethod *method,
	  GnomeVFSMethodHandle *method_handle,
	  GnomeVFSContext *context)
{
	PERFORM_OPERATION_NO_URI (close, gnome_vfs_close_cancellable ((GnomeVFSHandle *) method_handle, context));
}
static MateVFSResult
do_truncate_handle (MateVFSMethod *method,
		    MateVFSMethodHandle *method_handle,
		    MateVFSFileSize where,
		    MateVFSContext *context)
{
	PERFORM_OPERATION_NO_URI (truncate_handle, mate_vfs_truncate_handle_cancellable ((MateVFSHandle *) method_handle, where, context));
}
static MateVFSResult
do_read_directory (MateVFSMethod *method,
		   MateVFSMethodHandle *method_handle,
		   MateVFSFileInfo *file_info,
		   MateVFSContext *context)
{
	PERFORM_OPERATION_NO_URI (read_directory, mate_vfs_directory_read_next ((MateVFSDirectoryHandle *) method_handle, file_info));
}
static MateVFSResult
do_get_file_info_from_handle (MateVFSMethod *method,
			      MateVFSMethodHandle *method_handle,
			      MateVFSFileInfo *file_info,
			      MateVFSFileInfoOptions options,
			      MateVFSContext *context)
{
	PERFORM_OPERATION_NO_URI (get_file_info_from_handle, mate_vfs_get_file_info_from_handle_cancellable ((MateVFSHandle *) method_handle, file_info, options, context));
}
static MateVFSResult
do_seek (MateVFSMethod *method,
	 MateVFSMethodHandle *method_handle,
	 MateVFSSeekPosition whence,
	 MateVFSFileOffset offset,
	 MateVFSContext *context)
{
	PERFORM_OPERATION_NO_URI (seek, mate_vfs_seek_cancellable ((MateVFSHandle *) method_handle, whence, offset, context));
}
static MateVFSResult
do_write (MateVFSMethod *method,
	  MateVFSMethodHandle *method_handle,
	  gconstpointer buffer,
	  MateVFSFileSize num_bytes,
	  MateVFSFileSize *bytes_written,
	  MateVFSContext *context)
{
	PERFORM_OPERATION_NO_URI (write, mate_vfs_write_cancellable((MateVFSHandle *) method_handle, buffer, num_bytes, bytes_written, context));
}
static MateVFSResult
do_read (MateVFSMethod *method,
	 MateVFSMethodHandle *method_handle,
	 gpointer buffer,
	 MateVFSFileSize num_bytes,
	 MateVFSFileSize *bytes_read,
	 MateVFSContext *context)
{
	PERFORM_OPERATION_NO_URI (read, mate_vfs_read_cancellable ((MateVFSHandle *) method_handle, buffer, num_bytes, bytes_read, context));
}