ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS/gnome-vfs2-2.3.8-1.src.rpm
[gnome-vfs-httpcaptive.git] / doc / html / gnome-vfs-gnome-vfs-result.html
1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>
2 GnomeVFSResult</title><meta name="generator" content="DocBook XSL Stylesheets V1.61.0"><meta name="generator" content="GTK-Doc V1.1 (XML mode)"><style type="text/css">
3         .synopsis, .classsynopsis {
4             background: #eeeeee;
5             border: solid 1px #aaaaaa;
6             padding: 0.5em;
7         }
8         .programlisting {
9             background: #eeeeff;
10             border: solid 1px #aaaaff;
11             padding: 0.5em;
12         }
13         .variablelist {
14             padding: 4px;
15             margin-left: 3em;
16         }
17         .navigation {
18             background: #ffeeee;
19             border: solid 1px #ffaaaa;
20             margin-top: 0.5em;
21             margin-bottom: 0.5em;
22         }
23         .navigation a {
24             color: #770000;
25         }
26         .navigation a:visited {
27             color: #550000;
28         }
29         .navigation .title {
30             font-size: 200%;
31         }
32       </style><link rel="home" href="index.html" title="GnomeVFS - Filesystem Abstraction library"><link rel="up" href="data-types.html" title="Data Types"><link rel="previous" href="gnome-vfs-gnome-vfs-file-size.html" title="
33 GnomeVFSFileSize"><link rel="next" href="gnome-vfs-gnome-vfs-uri.html" title="
34 GnomeVFSURI"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"><td><a accesskey="p" href="gnome-vfs-gnome-vfs-file-size.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td><td><a accesskey="u" href="data-types.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td><td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td><th width="100%" align="center">GnomeVFS - Filesystem Abstraction library</th><td><a accesskey="n" href="gnome-vfs-gnome-vfs-uri.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td></tr></table><div class="refentry" lang="en"><a name="gnome-vfs-gnome-vfs-result"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2><span class="refentrytitle">
35 GnomeVFSResult</span></h2><p>
36 GnomeVFSResult &#8212; 
37 Result of I/O operations, the equivalent of errno</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">
38
39
40
41 enum        <a href="gnome-vfs-gnome-vfs-result.html#GnomeVFSResult">GnomeVFSResult</a>;
42 const char* <a href="gnome-vfs-gnome-vfs-result.html#gnome-vfs-result-to-string">gnome_vfs_result_to_string</a>      (<a href="gnome-vfs-gnome-vfs-result.html#GnomeVFSResult">GnomeVFSResult</a> result);
43 <a href="gnome-vfs-gnome-vfs-result.html#GnomeVFSResult">GnomeVFSResult</a> <a href="gnome-vfs-gnome-vfs-result.html#gnome-vfs-result-from-errno-code">gnome_vfs_result_from_errno_code</a>
44                                             (int errno_code);
45 <a href="gnome-vfs-gnome-vfs-result.html#GnomeVFSResult">GnomeVFSResult</a> <a href="gnome-vfs-gnome-vfs-result.html#gnome-vfs-result-from-errno">gnome_vfs_result_from_errno</a>  (void);
46 <a href="gnome-vfs-gnome-vfs-result.html#GnomeVFSResult">GnomeVFSResult</a> <a href="gnome-vfs-gnome-vfs-result.html#gnome-vfs-result-from-h-errno">gnome_vfs_result_from_h_errno</a>
47                                             (void);
48 </pre></div><div class="refsect1" lang="en"><h2>Description</h2><p>
49
50 </p></div><div class="refsect1" lang="en"><h2>Details</h2><div class="refsect2" lang="en"><h3><a name="GnomeVFSResult"></a>enum GnomeVFSResult</h3><pre class="programlisting">typedef enum {
51         GNOME_VFS_OK,
52         GNOME_VFS_ERROR_NOT_FOUND,
53         GNOME_VFS_ERROR_GENERIC,
54         GNOME_VFS_ERROR_INTERNAL,
55         GNOME_VFS_ERROR_BAD_PARAMETERS,
56         GNOME_VFS_ERROR_NOT_SUPPORTED,
57         GNOME_VFS_ERROR_IO,
58         GNOME_VFS_ERROR_CORRUPTED_DATA,
59         GNOME_VFS_ERROR_WRONG_FORMAT,
60         GNOME_VFS_ERROR_BAD_FILE,
61         GNOME_VFS_ERROR_TOO_BIG,
62         GNOME_VFS_ERROR_NO_SPACE,
63         GNOME_VFS_ERROR_READ_ONLY,
64         GNOME_VFS_ERROR_INVALID_URI,
65         GNOME_VFS_ERROR_NOT_OPEN,
66         GNOME_VFS_ERROR_INVALID_OPEN_MODE,
67         GNOME_VFS_ERROR_ACCESS_DENIED,
68         GNOME_VFS_ERROR_TOO_MANY_OPEN_FILES,
69         GNOME_VFS_ERROR_EOF,
70         GNOME_VFS_ERROR_NOT_A_DIRECTORY,
71         GNOME_VFS_ERROR_IN_PROGRESS,
72         GNOME_VFS_ERROR_INTERRUPTED,
73         GNOME_VFS_ERROR_FILE_EXISTS,
74         GNOME_VFS_ERROR_LOOP,
75         GNOME_VFS_ERROR_NOT_PERMITTED,
76         GNOME_VFS_ERROR_IS_DIRECTORY,
77         GNOME_VFS_ERROR_NO_MEMORY,
78         GNOME_VFS_ERROR_HOST_NOT_FOUND,
79         GNOME_VFS_ERROR_INVALID_HOST_NAME,
80         GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS,
81         GNOME_VFS_ERROR_LOGIN_FAILED,
82         GNOME_VFS_ERROR_CANCELLED,
83         GNOME_VFS_ERROR_DIRECTORY_BUSY,
84         GNOME_VFS_ERROR_DIRECTORY_NOT_EMPTY,
85         GNOME_VFS_ERROR_TOO_MANY_LINKS,
86         GNOME_VFS_ERROR_READ_ONLY_FILE_SYSTEM,
87         GNOME_VFS_ERROR_NOT_SAME_FILE_SYSTEM,
88         GNOME_VFS_ERROR_NAME_TOO_LONG,
89         GNOME_VFS_ERROR_SERVICE_NOT_AVAILABLE,
90         GNOME_VFS_ERROR_SERVICE_OBSOLETE,
91         GNOME_VFS_ERROR_PROTOCOL_ERROR,
92         GNOME_VFS_ERROR_NO_MASTER_BROWSER,
93         GNOME_VFS_ERROR_NO_DEFAULT,
94         GNOME_VFS_ERROR_NO_HANDLER,
95         GNOME_VFS_ERROR_PARSE,
96         GNOME_VFS_ERROR_LAUNCH,
97         GNOME_VFS_NUM_ERRORS
98 } GnomeVFSResult;
99 </pre><p>
100  
101 </p></div><hr><div class="refsect2" lang="en"><h3><a name="gnome-vfs-result-to-string"></a>gnome_vfs_result_to_string ()</h3><pre class="programlisting">const char* gnome_vfs_result_to_string      (<a href="gnome-vfs-gnome-vfs-result.html#GnomeVFSResult">GnomeVFSResult</a> result);</pre><p>
102 Returns a string representation of <i class="parameter"><tt>result</tt></i>, useful for debugging
103 purposes, but probably not appropriate for passing to the user.</p><p>
104
105 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>result</tt></i> :</span></td><td> the result to convert to a string
106 </td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> a string representing <i class="parameter"><tt>result</tt></i>
107 </td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="gnome-vfs-result-from-errno-code"></a>gnome_vfs_result_from_errno_code ()</h3><pre class="programlisting"><a href="gnome-vfs-gnome-vfs-result.html#GnomeVFSResult">GnomeVFSResult</a> gnome_vfs_result_from_errno_code
108                                             (int errno_code);</pre><p>
109 Converts a system errno value to a GnomeVFSResult.</p><p>
110
111 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>errno_code</tt></i> :</span></td><td> integer of the same type as the system &quot;errno&quot;
112 </td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> a GnomeVFSResult equivalent to <i class="parameter"><tt>errno_code</tt></i>
113 </td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="gnome-vfs-result-from-errno"></a>gnome_vfs_result_from_errno ()</h3><pre class="programlisting"><a href="gnome-vfs-gnome-vfs-result.html#GnomeVFSResult">GnomeVFSResult</a> gnome_vfs_result_from_errno  (void);</pre><p>
114 Converts the system errno to a GnomeVFSResult.</p><p>
115
116 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> a GnomeVFSResult equivalent to the current system errno
117 </td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="gnome-vfs-result-from-h-errno"></a>gnome_vfs_result_from_h_errno ()</h3><pre class="programlisting"><a href="gnome-vfs-gnome-vfs-result.html#GnomeVFSResult">GnomeVFSResult</a> gnome_vfs_result_from_h_errno
118                                             (void);</pre><p>
119 Converts the system &quot;h_errno&quot; to a GnomeVFSResult (h_errno represents errors
120 accessing and finding internet hosts)</p><p>
121
122 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> a GnomeVFSResult equivalent to the current system &quot;h_errno&quot;
123 </td></tr></tbody></table></div></div></div></div><table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle"><td align="left"><a accesskey="p" href="gnome-vfs-gnome-vfs-file-size.html"><b>&lt;&lt; 
124 GnomeVFSFileSize</b></a></td><td align="right"><a accesskey="n" href="gnome-vfs-gnome-vfs-uri.html"><b>
125 GnomeVFSURI &gt;&gt;</b></a></td></tr></table></body></html>