<refentry id="gnome-vfs-20-gnome-vfs-volume">
<refmeta>
<refentrytitle id="top_of_page">GnomeVFSVolume</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GNOME-VFS-2.0 Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>GnomeVFSVolume</refname>
<refpurpose>Abstraction for a mounted file system or a network location.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<anchor id="GnomeVFSVolume"/>
<synopsis>



#define     <link linkend="GNOME-IS-VFS-VOLUME:CAPS">GNOME_IS_VFS_VOLUME</link>             (o)
#define     <link linkend="GNOME-IS-VFS-VOLUME-CLASS:CAPS">GNOME_IS_VFS_VOLUME_CLASS</link>       (k)
#define     <link linkend="GNOME-VFS-TYPE-VOLUME:CAPS">GNOME_VFS_TYPE_VOLUME</link>
#define     <link linkend="GNOME-VFS-VOLUME:CAPS">GNOME_VFS_VOLUME</link>                (o)
#define     <link linkend="GNOME-VFS-VOLUME-CLASS:CAPS">GNOME_VFS_VOLUME_CLASS</link>          (k)
            <link linkend="GnomeVFSVolume-struct">GnomeVFSVolume</link>;
            <link linkend="GnomeVFSVolumeClass">GnomeVFSVolumeClass</link>;
<link linkend="void">void</link>        (<link linkend="GnomeVFSVolumeOpCallback">*GnomeVFSVolumeOpCallback</link>)     (<link linkend="gboolean">gboolean</link> succeeded,
                                             <link linkend="char">char</link> *error,
                                             <link linkend="char">char</link> *detailed_error,
                                             <link linkend="gpointer">gpointer</link> data);
enum        <link linkend="GnomeVFSVolumeType">GnomeVFSVolumeType</link>;
<link linkend="gint">gint</link>        <link linkend="gnome-vfs-volume-compare">gnome_vfs_volume_compare</link>        (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *a,
                                             <link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *b);
<link linkend="void">void</link>        <link linkend="gnome-vfs-volume-eject">gnome_vfs_volume_eject</link>          (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume,
                                             <link linkend="GnomeVFSVolumeOpCallback">GnomeVFSVolumeOpCallback</link> callback,
                                             <link linkend="gpointer">gpointer</link> user_data);
<link linkend="char">char</link>*       <link linkend="gnome-vfs-volume-get-activation-uri">gnome_vfs_volume_get_activation_uri</link>
                                            (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);
<link linkend="char">char</link>*       <link linkend="gnome-vfs-volume-get-device-path">gnome_vfs_volume_get_device_path</link>
                                            (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);
<link linkend="GnomeVFSDeviceType">GnomeVFSDeviceType</link> <link linkend="gnome-vfs-volume-get-device-type">gnome_vfs_volume_get_device_type</link>
                                            (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);
<link linkend="char">char</link>*       <link linkend="gnome-vfs-volume-get-display-name">gnome_vfs_volume_get_display_name</link>
                                            (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);
<link linkend="GnomeVFSDrive">GnomeVFSDrive</link>* <link linkend="gnome-vfs-volume-get-drive">gnome_vfs_volume_get_drive</link>   (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);
<link linkend="char">char</link>*       <link linkend="gnome-vfs-volume-get-filesystem-type">gnome_vfs_volume_get_filesystem_type</link>
                                            (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);
<link linkend="char">char</link>*       <link linkend="gnome-vfs-volume-get-hal-udi">gnome_vfs_volume_get_hal_udi</link>    (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);
<link linkend="char">char</link>*       <link linkend="gnome-vfs-volume-get-icon">gnome_vfs_volume_get_icon</link>       (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);
<link linkend="gulong">gulong</link>      <link linkend="gnome-vfs-volume-get-id">gnome_vfs_volume_get_id</link>         (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);
<link linkend="GType">GType</link>       <link linkend="gnome-vfs-volume-get-type">gnome_vfs_volume_get_type</link>       (void);
<link linkend="GnomeVFSVolumeType">GnomeVFSVolumeType</link> <link linkend="gnome-vfs-volume-get-volume-type">gnome_vfs_volume_get_volume_type</link>
                                            (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);
<link linkend="gboolean">gboolean</link>    <link linkend="gnome-vfs-volume-handles-trash">gnome_vfs_volume_handles_trash</link>  (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);
<link linkend="gboolean">gboolean</link>    <link linkend="gnome-vfs-volume-is-mounted">gnome_vfs_volume_is_mounted</link>     (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);
<link linkend="gboolean">gboolean</link>    <link linkend="gnome-vfs-volume-is-read-only">gnome_vfs_volume_is_read_only</link>   (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);
<link linkend="gboolean">gboolean</link>    <link linkend="gnome-vfs-volume-is-user-visible">gnome_vfs_volume_is_user_visible</link>
                                            (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);
<link linkend="GnomeVFSVolume">GnomeVFSVolume</link>* <link linkend="gnome-vfs-volume-ref">gnome_vfs_volume_ref</link>        (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);
<link linkend="GType">GType</link>       <link linkend="gnome-vfs-volume-type-get-type">gnome_vfs_volume_type_get_type</link>  (void);
<link linkend="void">void</link>        <link linkend="gnome-vfs-volume-unmount">gnome_vfs_volume_unmount</link>        (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume,
                                             <link linkend="GnomeVFSVolumeOpCallback">GnomeVFSVolumeOpCallback</link> callback,
                                             <link linkend="gpointer">gpointer</link> user_data);
<link linkend="void">void</link>        <link linkend="gnome-vfs-volume-unref">gnome_vfs_volume_unref</link>          (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);
<link linkend="void">void</link>        <link linkend="gnome-vfs-connect-to-server">gnome_vfs_connect_to_server</link>     (<link linkend="char">char</link> *uri,
                                             <link linkend="char">char</link> *display_name,
                                             <link linkend="char">char</link> *icon);
</synopsis>
</refsynopsisdiv>

<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>

  <link linkend="GObject">GObject</link>
   +----GnomeVFSVolume
</synopsis>

</refsect1>








<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>

</para>
</refsect1>

<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GNOME-IS-VFS-VOLUME:CAPS" role="macro"/>GNOME_IS_VFS_VOLUME()</title>
<indexterm><primary>GNOME_IS_VFS_VOLUME</primary></indexterm><programlisting>#define GNOME_IS_VFS_VOLUME(o)       (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNOME_VFS_TYPE_VOLUME))
</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>o</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GNOME-IS-VFS-VOLUME-CLASS:CAPS" role="macro"/>GNOME_IS_VFS_VOLUME_CLASS()</title>
<indexterm><primary>GNOME_IS_VFS_VOLUME_CLASS</primary></indexterm><programlisting>#define GNOME_IS_VFS_VOLUME_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GNOME_VFS_TYPE_VOLUME))
</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>k</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GNOME-VFS-TYPE-VOLUME:CAPS" role="macro"/>GNOME_VFS_TYPE_VOLUME</title>
<indexterm><primary>GNOME_VFS_TYPE_VOLUME</primary></indexterm><programlisting>#define GNOME_VFS_TYPE_VOLUME        (gnome_vfs_volume_get_type ())
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="GNOME-VFS-VOLUME:CAPS" role="macro"/>GNOME_VFS_VOLUME()</title>
<indexterm><primary>GNOME_VFS_VOLUME</primary></indexterm><programlisting>#define GNOME_VFS_VOLUME(o)          (G_TYPE_CHECK_INSTANCE_CAST ((o), GNOME_VFS_TYPE_VOLUME, GnomeVFSVolume))
</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>o</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GNOME-VFS-VOLUME-CLASS:CAPS" role="macro"/>GNOME_VFS_VOLUME_CLASS()</title>
<indexterm><primary>GNOME_VFS_VOLUME_CLASS</primary></indexterm><programlisting>#define GNOME_VFS_VOLUME_CLASS(k)    (G_TYPE_CHECK_CLASS_CAST((k), GNOME_VFS_TYPE_VOLUME, GnomeVFSVolumeClass))
</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>k</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GnomeVFSVolume-struct" role="struct"/>GnomeVFSVolume</title>
<indexterm><primary>GnomeVFSVolume</primary></indexterm><programlisting>typedef struct _GnomeVFSVolume GnomeVFSVolume;</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="GnomeVFSVolumeClass" role="struct"/>GnomeVFSVolumeClass</title>
<indexterm><primary>GnomeVFSVolumeClass</primary></indexterm><programlisting>typedef struct {
	GObjectClass parent_class;
} GnomeVFSVolumeClass;
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="GnomeVFSVolumeOpCallback" role="function" condition="since:2.6"/>GnomeVFSVolumeOpCallback ()</title>
<indexterm role="2.6"><primary>GnomeVFSVolumeOpCallback</primary></indexterm><programlisting><link linkend="void">void</link>        (*GnomeVFSVolumeOpCallback)     (<link linkend="gboolean">gboolean</link> succeeded,
                                             <link linkend="char">char</link> *error,
                                             <link linkend="char">char</link> *detailed_error,
                                             <link linkend="gpointer">gpointer</link> data);</programlisting>
<para>
Note that if succeeded is FALSE and error, detailed_error are both
empty strings the client is not supposed to display a dialog as an
external mount/umount/eject helper will have done so.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>succeeded</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>detailed_error</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>data</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist><para>Since  2.6
</para></refsect2>
<refsect2>
<title><anchor id="GnomeVFSVolumeType" role="enum"/>enum GnomeVFSVolumeType</title>
<indexterm><primary>GnomeVFSVolumeType</primary></indexterm><programlisting>typedef enum {
	GNOME_VFS_VOLUME_TYPE_MOUNTPOINT,
	GNOME_VFS_VOLUME_TYPE_VFS_MOUNT,
	GNOME_VFS_VOLUME_TYPE_CONNECTED_SERVER
} GnomeVFSVolumeType;
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-volume-compare" role="function" condition="since:2.6"/>gnome_vfs_volume_compare ()</title>
<indexterm role="2.6"><primary>gnome_vfs_volume_compare</primary></indexterm><programlisting><link linkend="gint">gint</link>        gnome_vfs_volume_compare        (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *a,
                                             <link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *b);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>a</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeVFSVolume"><type>GnomeVFSVolume</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>b</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeVFSVolume"><type>GnomeVFSVolume</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> 0 if volumes <parameter>a</parameter> and <parameter>b</parameter> are same.

</simpara></listitem></varlistentry>
</variablelist><para>Since  2.6
</para></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-volume-eject" role="function" condition="since:2.6"/>gnome_vfs_volume_eject ()</title>
<indexterm role="2.6"><primary>gnome_vfs_volume_eject</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_vfs_volume_eject          (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume,
                                             <link linkend="GnomeVFSVolumeOpCallback">GnomeVFSVolumeOpCallback</link> callback,
                                             <link linkend="gpointer">gpointer</link> user_data);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>volume</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>callback</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist><para>Since  2.6
</para></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-volume-get-activation-uri" role="function" condition="since:2.6"/>gnome_vfs_volume_get_activation_uri ()</title>
<indexterm role="2.6"><primary>gnome_vfs_volume_get_activation_uri</primary></indexterm><programlisting><link linkend="char">char</link>*       gnome_vfs_volume_get_activation_uri
                                            (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>volume</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeVFSVolume"><type>GnomeVFSVolume</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a newly allocated string for activation uri of <parameter>volume</parameter>.

</simpara></listitem></varlistentry>
</variablelist><para>Since  2.6
</para></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-volume-get-device-path" role="function" condition="since:2.6"/>gnome_vfs_volume_get_device_path ()</title>
<indexterm role="2.6"><primary>gnome_vfs_volume_get_device_path</primary></indexterm><programlisting><link linkend="char">char</link>*       gnome_vfs_volume_get_device_path
                                            (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>volume</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeVFSVolume"><type>GnomeVFSVolume</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a newly allocated string for device path of <parameter>volume</parameter>.

</simpara></listitem></varlistentry>
</variablelist><para>Since  2.6
</para></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-volume-get-device-type" role="function" condition="since:2.6"/>gnome_vfs_volume_get_device_type ()</title>
<indexterm role="2.6"><primary>gnome_vfs_volume_get_device_type</primary></indexterm><programlisting><link linkend="GnomeVFSDeviceType">GnomeVFSDeviceType</link> gnome_vfs_volume_get_device_type
                                            (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>volume</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeVFSVolume"><type>GnomeVFSVolume</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the device type for <parameter>volume</parameter>.

</simpara></listitem></varlistentry>
</variablelist><para>Since  2.6
</para></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-volume-get-display-name" role="function" condition="since:2.6"/>gnome_vfs_volume_get_display_name ()</title>
<indexterm role="2.6"><primary>gnome_vfs_volume_get_display_name</primary></indexterm><programlisting><link linkend="char">char</link>*       gnome_vfs_volume_get_display_name
                                            (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>volume</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeVFSVolume"><type>GnomeVFSVolume</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a newly allocated string for display name of <parameter>volume</parameter>.

</simpara></listitem></varlistentry>
</variablelist><para>Since  2.6
</para></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-volume-get-drive" role="function" condition="since:2.6"/>gnome_vfs_volume_get_drive ()</title>
<indexterm role="2.6"><primary>gnome_vfs_volume_get_drive</primary></indexterm><programlisting><link linkend="GnomeVFSDrive">GnomeVFSDrive</link>* gnome_vfs_volume_get_drive   (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>volume</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeVFSVolume"><type>GnomeVFSVolume</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the drive for the <parameter>volume</parameter>.

</simpara></listitem></varlistentry>
</variablelist><para>Since  2.6
</para></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-volume-get-filesystem-type" role="function" condition="since:2.6"/>gnome_vfs_volume_get_filesystem_type ()</title>
<indexterm role="2.6"><primary>gnome_vfs_volume_get_filesystem_type</primary></indexterm><programlisting><link linkend="char">char</link>*       gnome_vfs_volume_get_filesystem_type
                                            (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>volume</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeVFSVolume"><type>GnomeVFSVolume</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a newly allocated string for filesystem type of <parameter>volume</parameter>.

</simpara></listitem></varlistentry>
</variablelist><para>Since  2.6
</para></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-volume-get-hal-udi" role="function" condition="since:2.6"/>gnome_vfs_volume_get_hal_udi ()</title>
<indexterm role="2.6"><primary>gnome_vfs_volume_get_hal_udi</primary></indexterm><programlisting><link linkend="char">char</link>*       gnome_vfs_volume_get_hal_udi    (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>volume</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeVFSVolume"><type>GnomeVFSVolume</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a newly allocated string for unique device id of <parameter>volume</parameter>.

</simpara></listitem></varlistentry>
</variablelist><para>Since  2.6
</para></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-volume-get-icon" role="function" condition="since:2.6"/>gnome_vfs_volume_get_icon ()</title>
<indexterm role="2.6"><primary>gnome_vfs_volume_get_icon</primary></indexterm><programlisting><link linkend="char">char</link>*       gnome_vfs_volume_get_icon       (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>volume</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeVFSVolume"><type>GnomeVFSVolume</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a newly allocated string for the icon filename of <parameter>volume</parameter>.

</simpara></listitem></varlistentry>
</variablelist><para>Since  2.6
</para></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-volume-get-id" role="function" condition="since:2.6"/>gnome_vfs_volume_get_id ()</title>
<indexterm role="2.6"><primary>gnome_vfs_volume_get_id</primary></indexterm><programlisting><link linkend="gulong">gulong</link>      gnome_vfs_volume_get_id         (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>volume</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeVFSVolume"><type>GnomeVFSVolume</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the id for the <parameter>volume</parameter>.

</simpara></listitem></varlistentry>
</variablelist><para>Since  2.6
</para></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-volume-get-type" role="function"/>gnome_vfs_volume_get_type ()</title>
<indexterm><primary>gnome_vfs_volume_get_type</primary></indexterm><programlisting><link linkend="GType">GType</link>       gnome_vfs_volume_get_type       (void);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-volume-get-volume-type" role="function" condition="since:2.6"/>gnome_vfs_volume_get_volume_type ()</title>
<indexterm role="2.6"><primary>gnome_vfs_volume_get_volume_type</primary></indexterm><programlisting><link linkend="GnomeVFSVolumeType">GnomeVFSVolumeType</link> gnome_vfs_volume_get_volume_type
                                            (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>volume</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeVFSVolume"><type>GnomeVFSVolume</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the volume type for <parameter>volume</parameter>.

</simpara></listitem></varlistentry>
</variablelist><para>Since  2.6
</para></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-volume-handles-trash" role="function" condition="since:2.6"/>gnome_vfs_volume_handles_trash ()</title>
<indexterm role="2.6"><primary>gnome_vfs_volume_handles_trash</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>    gnome_vfs_volume_handles_trash  (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>volume</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeVFSVolume"><type>GnomeVFSVolume</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <literal>TRUE</literal> if <parameter>volume</parameter> handles trash, <literal>FALSE</literal> otherwise.

</simpara></listitem></varlistentry>
</variablelist><para>Since  2.6
</para></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-volume-is-mounted" role="function" condition="since:2.6"/>gnome_vfs_volume_is_mounted ()</title>
<indexterm role="2.6"><primary>gnome_vfs_volume_is_mounted</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>    gnome_vfs_volume_is_mounted     (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>volume</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeVFSVolume"><type>GnomeVFSVolume</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <literal>TRUE</literal> if the <parameter>volume</parameter> is mounted, <literal>FALSE</literal> otherwise.

</simpara></listitem></varlistentry>
</variablelist><para>Since  2.6
</para></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-volume-is-read-only" role="function" condition="since:2.6"/>gnome_vfs_volume_is_read_only ()</title>
<indexterm role="2.6"><primary>gnome_vfs_volume_is_read_only</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>    gnome_vfs_volume_is_read_only   (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>volume</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeVFSVolume"><type>GnomeVFSVolume</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <literal>TRUE</literal> if the <parameter>volume</parameter> is read-only to the user, <literal>FALSE</literal> otherwise.

</simpara></listitem></varlistentry>
</variablelist><para>Since  2.6
</para></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-volume-is-user-visible" role="function" condition="since:2.6"/>gnome_vfs_volume_is_user_visible ()</title>
<indexterm role="2.6"><primary>gnome_vfs_volume_is_user_visible</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>    gnome_vfs_volume_is_user_visible
                                            (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>volume</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeVFSVolume"><type>GnomeVFSVolume</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <literal>TRUE</literal> if <parameter>volume</parameter> is visible to the user, <literal>FALSE</literal> otherwise.

</simpara></listitem></varlistentry>
</variablelist><para>Since  2.6
</para></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-volume-ref" role="function" condition="since:2.6"/>gnome_vfs_volume_ref ()</title>
<indexterm role="2.6"><primary>gnome_vfs_volume_ref</primary></indexterm><programlisting><link linkend="GnomeVFSVolume">GnomeVFSVolume</link>* gnome_vfs_volume_ref        (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);</programlisting>
<para>
Increases the refcount of the <parameter>volume</parameter> by 1.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>volume</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeVFSVolume"><type>GnomeVFSVolume</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the <parameter>volume</parameter>.

</simpara></listitem></varlistentry>
</variablelist><para>Since  2.6
</para></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-volume-type-get-type" role="function"/>gnome_vfs_volume_type_get_type ()</title>
<indexterm><primary>gnome_vfs_volume_type_get_type</primary></indexterm><programlisting><link linkend="GType">GType</link>       gnome_vfs_volume_type_get_type  (void);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-volume-unmount" role="function" condition="since:2.6"/>gnome_vfs_volume_unmount ()</title>
<indexterm role="2.6"><primary>gnome_vfs_volume_unmount</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_vfs_volume_unmount        (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume,
                                             <link linkend="GnomeVFSVolumeOpCallback">GnomeVFSVolumeOpCallback</link> callback,
                                             <link linkend="gpointer">gpointer</link> user_data);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>volume</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>callback</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist><para>Since  2.6
</para></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-volume-unref" role="function" condition="since:2.6"/>gnome_vfs_volume_unref ()</title>
<indexterm role="2.6"><primary>gnome_vfs_volume_unref</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_vfs_volume_unref          (<link linkend="GnomeVFSVolume">GnomeVFSVolume</link> *volume);</programlisting>
<para>
Decreases the refcount of the <parameter>volume</parameter> by 1.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>volume</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GnomeVFSVolume"><type>GnomeVFSVolume</type></link>.
</simpara></listitem></varlistentry>
</variablelist><para>Since  2.6
</para></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-connect-to-server" role="function" condition="since:2.6"/>gnome_vfs_connect_to_server ()</title>
<indexterm role="2.6"><primary>gnome_vfs_connect_to_server</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_vfs_connect_to_server     (<link linkend="char">char</link> *uri,
                                             <link linkend="char">char</link> *display_name,
                                             <link linkend="char">char</link> *icon);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>uri</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>display_name</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>icon</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist><para>Since  2.6
</para></refsect2>

</refsect1>




</refentry>
