| 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>OobsError</title> |
| 6 |
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> |
| 7 |
<link rel="home" href="index.html" title="Liboobs (System configuration management) Reference Manual"> |
| 8 |
<link rel="up" href="ch01.html" title="Common API"> |
| 9 |
<link rel="prev" href="OobsList.html" title="OobsList"> |
| 10 |
<link rel="next" href="ch02.html" title="Users and groups management"> |
| 11 |
<meta name="generator" content="GTK-Doc V1.15 (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="2"> |
| 16 |
<tr valign="middle"> |
| 17 |
<td><a accesskey="p" href="OobsList.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> |
| 18 |
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> |
| 19 |
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> |
| 20 |
<th width="100%" align="center">Liboobs (System configuration management) Reference Manual</th> |
| 21 |
<td><a accesskey="n" href="ch02.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> |
| 22 |
</tr> |
| 23 |
<tr><td colspan="5" class="shortcuts"> |
| 24 |
<a href="#liboobs-OobsError.synopsis" class="shortcut">Top</a> |
| 25 |
| |
| 26 |
<a href="#liboobs-OobsError.description" class="shortcut">Description</a> |
| 27 |
</td></tr> |
| 28 |
</table> |
| 29 |
<div class="refentry" title="OobsError"> |
| 30 |
<a name="liboobs-OobsError"></a><div class="titlepage"></div> |
| 31 |
<div class="refnamediv"><table width="100%"><tr> |
| 32 |
<td valign="top"> |
| 33 |
<h2><span class="refentrytitle"><a name="liboobs-OobsError.top_of_page"></a>OobsError</span></h2> |
| 34 |
<p>OobsError — Error codes</p> |
| 35 |
</td> |
| 36 |
<td valign="top" align="right"></td> |
| 37 |
</tr></table></div> |
| 38 |
<div class="refsynopsisdiv" title="Synopsis"> |
| 39 |
<a name="liboobs-OobsError.synopsis"></a><h2>Synopsis</h2> |
| 40 |
<pre class="synopsis">#define <a class="link" href="liboobs-OobsError.html#OOBS-ERROR:CAPS" title="OOBS_ERROR">OOBS_ERROR</a> |
| 41 |
<span class="returnvalue">GQuark</span> <a class="link" href="liboobs-OobsError.html#oobs-error-quark" title="oobs_error_quark ()">oobs_error_quark</a> (<em class="parameter"><code><span class="type">void</span></code></em>); |
| 42 |
enum <a class="link" href="liboobs-OobsError.html#OobsError" title="enum OobsError">OobsError</a>; |
| 43 |
</pre> |
| 44 |
</div> |
| 45 |
<div class="refsect1" title="Description"> |
| 46 |
<a name="liboobs-OobsError.description"></a><h2>Description</h2> |
| 47 |
</div> |
| 48 |
<div class="refsect1" title="Details"> |
| 49 |
<a name="liboobs-OobsError.details"></a><h2>Details</h2> |
| 50 |
<div class="refsect2" title="OOBS_ERROR"> |
| 51 |
<a name="OOBS-ERROR:CAPS"></a><h3>OOBS_ERROR</h3> |
| 52 |
<pre class="programlisting">#define OOBS_ERROR oobs_error_quark() |
| 53 |
</pre> |
| 54 |
<p> |
| 55 |
Error domain for errors when using Oobs. Errors in this domain will be from the <a class="link" href="liboobs-OobsError.html#OobsError" title="enum OobsError"><span class="type">OobsError</span></a> |
| 56 |
enumeration. See <span class="type">GError</span> for information on error domains |
| 57 |
</p> |
| 58 |
</div> |
| 59 |
<hr> |
| 60 |
<div class="refsect2" title="oobs_error_quark ()"> |
| 61 |
<a name="oobs-error-quark"></a><h3>oobs_error_quark ()</h3> |
| 62 |
<pre class="programlisting"><span class="returnvalue">GQuark</span> oobs_error_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> |
| 63 |
<p> |
| 64 |
</p> |
| 65 |
<div class="variablelist"><table border="0"> |
| 66 |
<col align="left" valign="top"> |
| 67 |
<tbody><tr> |
| 68 |
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> |
| 69 |
<td> |
| 70 |
</td> |
| 71 |
</tr></tbody> |
| 72 |
</table></div> |
| 73 |
</div> |
| 74 |
<hr> |
| 75 |
<div class="refsect2" title="enum OobsError"> |
| 76 |
<a name="OobsError"></a><h3>enum OobsError</h3> |
| 77 |
<pre class="programlisting">typedef enum |
| 78 |
{ |
| 79 |
OOBS_ERROR_AUTHENTICATION_FAILED, |
| 80 |
OOBS_ERROR_AUTHENTICATION_CANCELLED, |
| 81 |
} OobsError; |
| 82 |
</pre> |
| 83 |
<p> |
| 84 |
Error codes possible with liboobs. |
| 85 |
</p> |
| 86 |
<div class="variablelist"><table border="0"> |
| 87 |
<col align="left" valign="top"> |
| 88 |
<tbody> |
| 89 |
<tr> |
| 90 |
<td><p><a name="OOBS-ERROR-AUTHENTICATION-FAILED:CAPS"></a><span class="term"><code class="literal">OOBS_ERROR_AUTHENTICATION_FAILED</code></span></p></td> |
| 91 |
<td>Error in the backends when authenticating via PolicyKit. |
| 92 |
</td> |
| 93 |
</tr> |
| 94 |
<tr> |
| 95 |
<td><p><a name="OOBS-ERROR-AUTHENTICATION-CANCELLED:CAPS"></a><span class="term"><code class="literal">OOBS_ERROR_AUTHENTICATION_CANCELLED</code></span></p></td> |
| 96 |
<td>User manually cancelled the authentication. |
| 97 |
</td> |
| 98 |
</tr> |
| 99 |
</tbody> |
| 100 |
</table></div> |
| 101 |
</div> |
| 102 |
</div> |
| 103 |
</div> |
| 104 |
<div class="footer"> |
| 105 |
<hr> |
| 106 |
Generated by GTK-Doc V1.15</div> |
| 107 |
</body> |
| 108 |
</html> |