openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/glib-2.0/1_2.60.3-r0/glib-2.60.3/gio/gfile.c
void g_file_mount_enclosing_volume(GFile* location, GMountMountFlags flags,
                                   GMountOperation* mount_operation,
                                   GCancellable* cancellable,
                                   GAsyncReadyCallback callback,
                                   gpointer user_data)
{
    GFileIface* iface;

    g_return_if_fail(G_IS_FILE(location));

    iface = G_FILE_GET_IFACE(location);

    if (iface->mount_enclosing_volume == NULL)
    {
        g_task_report_new_error(location, callback, user_data,
                                g_file_mount_enclosing_volume, G_IO_ERROR,
                                G_IO_ERROR_NOT_SUPPORTED,
                                _("volume doesn’t implement mount"));
        return;
    }

    (*iface->mount_enclosing_volume)(location, flags, mount_operation,
                                     cancellable, callback, user_data);
}
/**
 * g_file_mount_enclosing_volume:
 * @location: input #GFile
 * @flags: flags affecting the operation
 * @mount_operation: (nullable): a #GMountOperation
 *     or %NULL to avoid user interaction
 * @cancellable: (nullable): optional #GCancellable object,
 *     %NULL to ignore
 * @callback: (nullable): a #GAsyncReadyCallback to call
 *     when the request is satisfied, or %NULL
 * @user_data: the data to pass to callback function
 *
 * Starts a @mount_operation, mounting the volume that contains
 * the file @location.
 *
 * When this operation has completed, @callback will be called with
 * @user_user data, and the operation can be finalized with
 * g_file_mount_enclosing_volume_finish().
 *
 * If @cancellable is not %NULL, then the operation can be cancelled by
 * triggering the cancellable object from another thread. If the operation
 * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
 */


Starts a @mount_operation, mounting the volume that contains
the file @location.

When this operation has completed, @callback will be called with
@user_user data, and the operation can be finalized with
g_file_mount_enclosing_volume_finish().

If @cancellable is not %NULL, then the operation can be cancelled by
triggering the cancellable object from another thread. If the operation
was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
Starts a @mount_operation mounting the volume that contains the file @location . When this operation has completed @callback will be called with @user_user data and the operation can be finalized with g_file_mount_enclosing_volume_finish () . If @cancellable is not %NULL then the operation can be cancelled by triggering the cancellable object from another thread . If the operation was cancelled the error %G_IO_ERROR_CANCELLED will be returned .
void g_file_mount_enclosing_volume(GFile* location, GMountMountFlags flags,
                                   GMountOperation* mount_operation,
                                   GCancellable* cancellable,
                                   GAsyncReadyCallback callback,
                                   gpointer user_data)
{
    GFileIface* iface;
    g_return_if_fail(G_IS_FILE(location));
    iface = G_FILE_GET_IFACE(location);
    if (iface->mount_enclosing_volume == NULL)
    {
        g_task_report_new_error(location, callback, user_data,
                                g_file_mount_enclosing_volume, G_IO_ERROR,
                                G_IO_ERROR_NOT_SUPPORTED,
                                _("volume doesn’t implement mount"));
        return;
    }
    (*iface->mount_enclosing_volume)(location, flags, mount_operation,
                                     cancellable, callback, user_data);
}
void g_file_mount_enclosing_volume ( GFile * location , GMountMountFlags flags , GMountOperation * mount_operation , GCancellable * cancellable , GAsyncReadyCallback callback , gpointer user_data ) { GFileIface * iface ; g_return_if_fail ( G_IS_FILE ( location ) ) ; iface = G_FILE_GET_IFACE ( location ) ; if ( iface -> mount_enclosing_volume == NULL ) { g_task_report_new_error ( location , callback , user_data , g_file_mount_enclosing_volume , G_IO_ERROR , G_IO_ERROR_NOT_SUPPORTED , _ ( " ) ; return ; } ( * iface -> mount_enclosing_volume ) ( location , flags , mount_operation , cancellable , callback , user_data ) ; }
g_file_mount_enclosing_volume:
 @location: input #GFile
 @flags: flags affecting the operation
 @mount_operation: (nullable): a #GMountOperation
     or %NULL to avoid user interaction
 @cancellable: (nullable): optional #GCancellable object,
     %NULL to ignore
 @callback: (nullable): a #GAsyncReadyCallback to call
     when the request is satisfied, or %NULL
 @user_data: the data to pass to callback function
g_file_mount_enclosing_volume : @location : input #GFile @flags : flags affecting the operation @mount_operation : ( nullable ) : a #GMountOperation or %NULL to avoid user interaction @cancellable : ( nullable ) : optional #GCancellable object %NULL to ignore @callback : ( nullable ) : a #GAsyncReadyCallback to call when the request is satisfied or %NULL @user_data : the data to pass to callback function