1 <refentry id="gnome-vfs-20-gnome-vfs-file-advanced-ops">
3 <refentrytitle>Advanced File Operations</refentrytitle>
4 <manvolnum>3</manvolnum>
5 <refmiscinfo>GNOME-VFS-2.0 Library</refmiscinfo>
9 <refname>Advanced File Operations</refname><refpurpose></refpurpose>
12 <refsynopsisdiv><title>Synopsis</title>
18 <link linkend="GnomeVFSResult">GnomeVFSResult</link> <link linkend="gnome-vfs-file-control">gnome_vfs_file_control</link> (<link linkend="GnomeVFSHandle">GnomeVFSHandle</link> *handle,
19 const <link linkend="char">char</link> *operation,
20 <link linkend="gpointer">gpointer</link> operation_data);
33 <title>Description</title>
40 <title>Details</title>
42 <title><anchor id="gnome-vfs-file-control"/>gnome_vfs_file_control ()</title>
43 <indexterm><primary>gnome_vfs_file_control</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_file_control (<link linkend="GnomeVFSHandle">GnomeVFSHandle</link> *handle,
44 const <link linkend="char">char</link> *operation,
45 <link linkend="gpointer">gpointer</link> operation_data);</programlisting>
47 Execute a backend dependent operation specified by the string <parameter>operation</parameter>.
48 This is typically used for specialized vfs backends that need additional
49 operations that gnome-vfs doesn't have. Compare it to the unix call <link linkend="ioctl"><function>ioctl()</function></link>.
50 The format of <parameter>operation_data</parameter> depends on the operation. Operation that are
51 backend specific are normally namespaced by their module name.</para>
54 </para><variablelist role="params">
55 <varlistentry><term><parameter>handle</parameter> :</term>
56 <listitem><simpara> handle of the file to affect
57 </simpara></listitem></varlistentry>
58 <varlistentry><term><parameter>operation</parameter> :</term>
59 <listitem><simpara> The operation to execute
60 </simpara></listitem></varlistentry>
61 <varlistentry><term><parameter>operation_data</parameter> :</term>
62 <listitem><simpara> The data needed to execute the operation
63 </simpara></listitem></varlistentry>
64 <varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> an integer representing the success of the operation
65 </simpara></listitem></varlistentry>
66 </variablelist></refsect2>