| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 5 |
<title>UDisksError: UDisks Reference Manual</title> |
| 6 |
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> |
| 7 |
<link rel="home" href="index.html" title="UDisks Reference Manual"> |
| 8 |
<link rel="up" href="ref-library.html" title="Part III. Library API Reference"> |
| 9 |
<link rel="prev" href="UDisksObjectInfo.html" title="UDisksObjectInfo"> |
| 10 |
<link rel="next" href="ref-library-generated.html" title="Generated Code"> |
| 11 |
<meta name="generator" content="GTK-Doc V1.35.1 (XML mode)"> |
| 12 |
<link rel="stylesheet" href="style.css" type="text/css"> |
| 13 |
</head> |
| 14 |
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
| 15 |
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> |
| 16 |
<td width="100%" align="left" class="shortcuts"> |
| 17 |
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> |
| 18 |
<a href="#udisks2-UDisksError.description" class="shortcut">Description</a></span> |
| 19 |
</td> |
| 20 |
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> |
| 21 |
<td><a accesskey="u" href="ref-library.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> |
| 22 |
<td><a accesskey="p" href="UDisksObjectInfo.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> |
| 23 |
<td><a accesskey="n" href="ref-library-generated.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> |
| 24 |
</tr></table> |
| 25 |
<div class="refentry"> |
| 26 |
<a name="udisks2-UDisksError"></a><div class="titlepage"></div> |
| 27 |
<div class="refnamediv"><table width="100%"><tr> |
| 28 |
<td valign="top"> |
| 29 |
<h2><span class="refentrytitle"><a name="udisks2-UDisksError.top_of_page"></a>UDisksError</span></h2> |
| 30 |
<p>UDisksError — Possible errors that can be returned</p> |
| 31 |
</td> |
| 32 |
<td class="gallery_image" valign="top" align="right"></td> |
| 33 |
</tr></table></div> |
| 34 |
<div class="refsect1"> |
| 35 |
<a name="udisks2-UDisksError.other"></a><h2>Types and Values</h2> |
| 36 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 37 |
<colgroup> |
| 38 |
<col width="150px" class="other_proto_type"> |
| 39 |
<col class="other_proto_name"> |
| 40 |
</colgroup> |
| 41 |
<tbody> |
| 42 |
<tr> |
| 43 |
<td class="define_keyword">#define</td> |
| 44 |
<td class="function_name"><a class="link" href="udisks2-UDisksError.html#UDISKS-ERROR:CAPS" title="UDISKS_ERROR">UDISKS_ERROR</a></td> |
| 45 |
</tr> |
| 46 |
<tr> |
| 47 |
<td class="datatype_keyword">enum</td> |
| 48 |
<td class="function_name"><a class="link" href="udisks2-UDisksError.html#UDisksError" title="enum UDisksError">UDisksError</a></td> |
| 49 |
</tr> |
| 50 |
</tbody> |
| 51 |
</table></div> |
| 52 |
</div> |
| 53 |
<div class="refsect1"> |
| 54 |
<a name="udisks2-UDisksError.description"></a><h2>Description</h2> |
| 55 |
<p>Error codes and D-Bus errors.</p> |
| 56 |
</div> |
| 57 |
<div class="refsect1"> |
| 58 |
<a name="udisks2-UDisksError.functions_details"></a><h2>Functions</h2> |
| 59 |
<p></p> |
| 60 |
</div> |
| 61 |
<div class="refsect1"> |
| 62 |
<a name="udisks2-UDisksError.other_details"></a><h2>Types and Values</h2> |
| 63 |
<div class="refsect2"> |
| 64 |
<a name="UDISKS-ERROR:CAPS"></a><h3>UDISKS_ERROR</h3> |
| 65 |
<pre class="programlisting">#define UDISKS_ERROR (udisks_error_quark ()) |
| 66 |
</pre> |
| 67 |
<p>Error domain for UDisks. Errors in this domain will be form the |
| 68 |
<a class="link" href="udisks2-UDisksError.html#UDisksError" title="enum UDisksError"><span class="type">UDisksError</span></a> enumeration. See <span class="type">GError</span> for more information on error |
| 69 |
domains.</p> |
| 70 |
</div> |
| 71 |
<hr> |
| 72 |
<div class="refsect2"> |
| 73 |
<a name="UDisksError"></a><h3>enum UDisksError</h3> |
| 74 |
<p>Error codes for the <a class="link" href="udisks2-UDisksError.html#UDISKS-ERROR:CAPS" title="UDISKS_ERROR"><span class="type">UDISKS_ERROR</span></a> error domain and the |
| 75 |
corresponding D-Bus error names.</p> |
| 76 |
<div class="refsect3"> |
| 77 |
<a name="UDisksError.members"></a><h4>Members</h4> |
| 78 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 79 |
<colgroup> |
| 80 |
<col width="300px" class="enum_members_name"> |
| 81 |
<col class="enum_members_description"> |
| 82 |
<col width="200px" class="enum_members_annotations"> |
| 83 |
</colgroup> |
| 84 |
<tbody> |
| 85 |
<tr> |
| 86 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-FAILED:CAPS"></a>UDISKS_ERROR_FAILED</p></td> |
| 87 |
<td class="enum_member_description"> |
| 88 |
<p>The operation failed.</p> |
| 89 |
</td> |
| 90 |
<td class="enum_member_annotations"> </td> |
| 91 |
</tr> |
| 92 |
<tr> |
| 93 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-CANCELLED:CAPS"></a>UDISKS_ERROR_CANCELLED</p></td> |
| 94 |
<td class="enum_member_description"> |
| 95 |
<p>The operation was cancelled.</p> |
| 96 |
</td> |
| 97 |
<td class="enum_member_annotations"> </td> |
| 98 |
</tr> |
| 99 |
<tr> |
| 100 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-ALREADY-CANCELLED:CAPS"></a>UDISKS_ERROR_ALREADY_CANCELLED</p></td> |
| 101 |
<td class="enum_member_description"> |
| 102 |
<p>The operation has already been cancelled.</p> |
| 103 |
</td> |
| 104 |
<td class="enum_member_annotations"> </td> |
| 105 |
</tr> |
| 106 |
<tr> |
| 107 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-NOT-AUTHORIZED:CAPS"></a>UDISKS_ERROR_NOT_AUTHORIZED</p></td> |
| 108 |
<td class="enum_member_description"> |
| 109 |
<p>Not authorized to perform the requested operation.</p> |
| 110 |
</td> |
| 111 |
<td class="enum_member_annotations"> </td> |
| 112 |
</tr> |
| 113 |
<tr> |
| 114 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-NOT-AUTHORIZED-CAN-OBTAIN:CAPS"></a>UDISKS_ERROR_NOT_AUTHORIZED_CAN_OBTAIN</p></td> |
| 115 |
<td class="enum_member_description"> |
| 116 |
<p>Like <a class="link" href="udisks2-UDisksError.html#UDISKS-ERROR-NOT-AUTHORIZED:CAPS"><code class="literal">UDISKS_ERROR_NOT_AUTHORIZED</code></a> but authorization can be obtained through e.g. authentication.</p> |
| 117 |
</td> |
| 118 |
<td class="enum_member_annotations"> </td> |
| 119 |
</tr> |
| 120 |
<tr> |
| 121 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-NOT-AUTHORIZED-DISMISSED:CAPS"></a>UDISKS_ERROR_NOT_AUTHORIZED_DISMISSED</p></td> |
| 122 |
<td class="enum_member_description"> |
| 123 |
<p>Like <a class="link" href="udisks2-UDisksError.html#UDISKS-ERROR-NOT-AUTHORIZED:CAPS"><code class="literal">UDISKS_ERROR_NOT_AUTHORIZED</code></a> but an authentication was shown and the user dismissed it.</p> |
| 124 |
</td> |
| 125 |
<td class="enum_member_annotations"> </td> |
| 126 |
</tr> |
| 127 |
<tr> |
| 128 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-ALREADY-MOUNTED:CAPS"></a>UDISKS_ERROR_ALREADY_MOUNTED</p></td> |
| 129 |
<td class="enum_member_description"> |
| 130 |
<p>The device is already mounted.</p> |
| 131 |
</td> |
| 132 |
<td class="enum_member_annotations"> </td> |
| 133 |
</tr> |
| 134 |
<tr> |
| 135 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-NOT-MOUNTED:CAPS"></a>UDISKS_ERROR_NOT_MOUNTED</p></td> |
| 136 |
<td class="enum_member_description"> |
| 137 |
<p>The device is not mounted.</p> |
| 138 |
</td> |
| 139 |
<td class="enum_member_annotations"> </td> |
| 140 |
</tr> |
| 141 |
<tr> |
| 142 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-OPTION-NOT-PERMITTED:CAPS"></a>UDISKS_ERROR_OPTION_NOT_PERMITTED</p></td> |
| 143 |
<td class="enum_member_description"> |
| 144 |
<p>Not permitted to use the requested option.</p> |
| 145 |
</td> |
| 146 |
<td class="enum_member_annotations"> </td> |
| 147 |
</tr> |
| 148 |
<tr> |
| 149 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-MOUNTED-BY-OTHER-USER:CAPS"></a>UDISKS_ERROR_MOUNTED_BY_OTHER_USER</p></td> |
| 150 |
<td class="enum_member_description"> |
| 151 |
<p>The device is mounted by another user.</p> |
| 152 |
</td> |
| 153 |
<td class="enum_member_annotations"> </td> |
| 154 |
</tr> |
| 155 |
<tr> |
| 156 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-ALREADY-UNMOUNTING:CAPS"></a>UDISKS_ERROR_ALREADY_UNMOUNTING</p></td> |
| 157 |
<td class="enum_member_description"> |
| 158 |
<p>The device is already unmounting.</p> |
| 159 |
</td> |
| 160 |
<td class="enum_member_annotations"> </td> |
| 161 |
</tr> |
| 162 |
<tr> |
| 163 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-NOT-SUPPORTED:CAPS"></a>UDISKS_ERROR_NOT_SUPPORTED</p></td> |
| 164 |
<td class="enum_member_description"> |
| 165 |
<p>The operation is not supported due to missing driver/tool support.</p> |
| 166 |
</td> |
| 167 |
<td class="enum_member_annotations"> </td> |
| 168 |
</tr> |
| 169 |
<tr> |
| 170 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-TIMED-OUT:CAPS"></a>UDISKS_ERROR_TIMED_OUT</p></td> |
| 171 |
<td class="enum_member_description"> |
| 172 |
<p>The operation timed out.</p> |
| 173 |
</td> |
| 174 |
<td class="enum_member_annotations"> </td> |
| 175 |
</tr> |
| 176 |
<tr> |
| 177 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-WOULD-WAKEUP:CAPS"></a>UDISKS_ERROR_WOULD_WAKEUP</p></td> |
| 178 |
<td class="enum_member_description"> |
| 179 |
<p>The operation would wake up a disk that is in a deep-sleep state.</p> |
| 180 |
</td> |
| 181 |
<td class="enum_member_annotations"> </td> |
| 182 |
</tr> |
| 183 |
<tr> |
| 184 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-DEVICE-BUSY:CAPS"></a>UDISKS_ERROR_DEVICE_BUSY</p></td> |
| 185 |
<td class="enum_member_description"> |
| 186 |
<p>Attempting to unmount a device that is busy.</p> |
| 187 |
</td> |
| 188 |
<td class="enum_member_annotations"> </td> |
| 189 |
</tr> |
| 190 |
<tr> |
| 191 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-ISCSI-DAEMON-TRANSPORT-FAILED:CAPS"></a>UDISKS_ERROR_ISCSI_DAEMON_TRANSPORT_FAILED</p></td> |
| 192 |
<td> </td> |
| 193 |
<td> </td> |
| 194 |
</tr> |
| 195 |
<tr> |
| 196 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-ISCSI-HOST-NOT-FOUND:CAPS"></a>UDISKS_ERROR_ISCSI_HOST_NOT_FOUND</p></td> |
| 197 |
<td> </td> |
| 198 |
<td> </td> |
| 199 |
</tr> |
| 200 |
<tr> |
| 201 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-ISCSI-IDMB:CAPS"></a>UDISKS_ERROR_ISCSI_IDMB</p></td> |
| 202 |
<td> </td> |
| 203 |
<td> </td> |
| 204 |
</tr> |
| 205 |
<tr> |
| 206 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-ISCSI-LOGIN-FAILED:CAPS"></a>UDISKS_ERROR_ISCSI_LOGIN_FAILED</p></td> |
| 207 |
<td> </td> |
| 208 |
<td> </td> |
| 209 |
</tr> |
| 210 |
<tr> |
| 211 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-ISCSI-LOGIN-AUTH-FAILED:CAPS"></a>UDISKS_ERROR_ISCSI_LOGIN_AUTH_FAILED</p></td> |
| 212 |
<td> </td> |
| 213 |
<td> </td> |
| 214 |
</tr> |
| 215 |
<tr> |
| 216 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-ISCSI-LOGIN-FATAL:CAPS"></a>UDISKS_ERROR_ISCSI_LOGIN_FATAL</p></td> |
| 217 |
<td> </td> |
| 218 |
<td> </td> |
| 219 |
</tr> |
| 220 |
<tr> |
| 221 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-ISCSI-LOGOUT-FAILED:CAPS"></a>UDISKS_ERROR_ISCSI_LOGOUT_FAILED</p></td> |
| 222 |
<td> </td> |
| 223 |
<td> </td> |
| 224 |
</tr> |
| 225 |
<tr> |
| 226 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-ISCSI-NO-FIRMWARE:CAPS"></a>UDISKS_ERROR_ISCSI_NO_FIRMWARE</p></td> |
| 227 |
<td> </td> |
| 228 |
<td> </td> |
| 229 |
</tr> |
| 230 |
<tr> |
| 231 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-ISCSI-NO-OBJECTS-FOUND:CAPS"></a>UDISKS_ERROR_ISCSI_NO_OBJECTS_FOUND</p></td> |
| 232 |
<td> </td> |
| 233 |
<td> </td> |
| 234 |
</tr> |
| 235 |
<tr> |
| 236 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-ISCSI-NOT-CONNECTED:CAPS"></a>UDISKS_ERROR_ISCSI_NOT_CONNECTED</p></td> |
| 237 |
<td> </td> |
| 238 |
<td> </td> |
| 239 |
</tr> |
| 240 |
<tr> |
| 241 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-ISCSI-TRANSPORT-FAILED:CAPS"></a>UDISKS_ERROR_ISCSI_TRANSPORT_FAILED</p></td> |
| 242 |
<td> </td> |
| 243 |
<td> </td> |
| 244 |
</tr> |
| 245 |
<tr> |
| 246 |
<td class="enum_member_name"><p><a name="UDISKS-ERROR-ISCSI-UNKNOWN-DISCOVERY-TYPE:CAPS"></a>UDISKS_ERROR_ISCSI_UNKNOWN_DISCOVERY_TYPE</p></td> |
| 247 |
<td> </td> |
| 248 |
<td> </td> |
| 249 |
</tr> |
| 250 |
</tbody> |
| 251 |
</table></div> |
| 252 |
</div> |
| 253 |
</div> |
| 254 |
</div> |
| 255 |
</div> |
| 256 |
<div class="footer"> |
| 257 |
<hr>Generated by GTK-Doc V1.35.1</div> |
| 258 |
</body> |
| 259 |
</html> |