Your IP : 216.73.216.48


Current Path : /usr/X11R6/share/gtk-doc/html/udisks2/
Upload File :
Current File : //usr/X11R6/share/gtk-doc/html/udisks2/UDisksObjectManagerClient.html

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>UDisks Reference Manual: UDisksObjectManagerClient</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="UDisks Reference Manual">
<link rel="up" href="ref-library-generated.html" title="Generated Code">
<link rel="prev" href="UDisksObject.html" title="UDisksObject">
<link rel="next" href="UDisksManager.html" title="UDisksManager">
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#UDisksObjectManagerClient.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#UDisksObjectManagerClient.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span> 
                  <a href="#UDisksObjectManagerClient.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ref-library-generated.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="UDisksObject.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="UDisksManager.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="UDisksObjectManagerClient"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="UDisksObjectManagerClient.top_of_page"></a>UDisksObjectManagerClient</span></h2>
<p>UDisksObjectManagerClient — Generated GDBusObjectManagerClient type</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="UDisksObjectManagerClient.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<span class="returnvalue">GType</span>
</td>
<td class="function_name">
<a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-get-proxy-type" title="udisks_object_manager_client_get_proxy_type ()">udisks_object_manager_client_get_proxy_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new" title="udisks_object_manager_client_new ()">udisks_object_manager_client_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GDBusObjectManager</span> *
</td>
<td class="function_name">
<a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-finish" title="udisks_object_manager_client_new_finish ()">udisks_object_manager_client_new_finish</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-for-bus" title="udisks_object_manager_client_new_for_bus ()">udisks_object_manager_client_new_for_bus</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GDBusObjectManager</span> *
</td>
<td class="function_name">
<a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-for-bus-finish" title="udisks_object_manager_client_new_for_bus_finish ()">udisks_object_manager_client_new_for_bus_finish</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GDBusObjectManager</span> *
</td>
<td class="function_name">
<a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-for-bus-sync" title="udisks_object_manager_client_new_for_bus_sync ()">udisks_object_manager_client_new_for_bus_sync</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GDBusObjectManager</span> *
</td>
<td class="function_name">
<a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-sync" title="udisks_object_manager_client_new_sync ()">udisks_object_manager_client_new_sync</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="UDisksObjectManagerClient.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="UDisksObjectManagerClient.html#UDisksObjectManagerClient-struct" title="struct UDisksObjectManagerClient">UDisksObjectManagerClient</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="UDisksObjectManagerClient.html#UDisksObjectManagerClientClass" title="struct UDisksObjectManagerClientClass">UDisksObjectManagerClientClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="UDisksObjectManagerClient.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    GObject
    <span class="lineart">╰──</span> GDBusObjectManagerClient
        <span class="lineart">╰──</span> UDisksObjectManagerClient
</pre>
</div>
<div class="refsect1">
<a name="UDisksObjectManagerClient.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
UDisksObjectManagerClient implements
 GInitable,  GAsyncInitable and  GDBusObjectManager.</p>
</div>
<div class="refsect1">
<a name="UDisksObjectManagerClient.description"></a><h2>Description</h2>
<p>This section contains a <span class="type">GDBusObjectManagerClient</span> that uses <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-get-proxy-type" title="udisks_object_manager_client_get_proxy_type ()"><code class="function">udisks_object_manager_client_get_proxy_type()</code></a> as the <span class="type">GDBusProxyTypeFunc</span>.</p>
</div>
<div class="refsect1">
<a name="UDisksObjectManagerClient.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="udisks-object-manager-client-get-proxy-type"></a><h3>udisks_object_manager_client_get_proxy_type ()</h3>
<pre class="programlisting"><span class="returnvalue">GType</span>
udisks_object_manager_client_get_proxy_type
                               (<em class="parameter"><code><span class="type">GDBusObjectManagerClient</span> *manager</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *interface_name</code></em>,
                                <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
<p>A <span class="type">GDBusProxyTypeFunc</span> that maps <em class="parameter"><code>interface_name</code></em>
 to the generated <span class="type">GDBusObjectProxy</span>- and <span class="type">GDBusProxy</span>-derived types.</p>
<div class="refsect3">
<a name="id-1.4.5.3.8.2.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>manager</p></td>
<td class="parameter_description"><p>A <span class="type">GDBusObjectManagerClient</span>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>object_path</p></td>
<td class="parameter_description"><p>The object path of the remote object (unused).</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>interface_name</p></td>
<td class="parameter_description"><p> Interface name of the remote object or <code class="literal">NULL</code> to get the object proxy <span class="type">GType</span>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>User data (unused).</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.5.3.8.2.6"></a><h4>Returns</h4>
<p> A <span class="type">GDBusProxy</span>-derived <span class="type">GType</span> if <em class="parameter"><code>interface_name</code></em>
is not <code class="literal">NULL</code>, otherwise the <span class="type">GType</span> for <a class="link" href="UDisksObject.html#UDisksObjectProxy"><span class="type">UDisksObjectProxy</span></a>.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-object-manager-client-new"></a><h3>udisks_object_manager_client_new ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
udisks_object_manager_client_new (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
                                  <em class="parameter"><code><span class="type">GDBusObjectManagerClientFlags</span> flags</code></em>,
                                  <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
                                  <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
                                  <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
                                  <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
                                  <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
<p>Asynchronously creates <span class="type">GDBusObjectManagerClient</span> using <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-get-proxy-type" title="udisks_object_manager_client_get_proxy_type ()"><code class="function">udisks_object_manager_client_get_proxy_type()</code></a> as the <span class="type">GDBusProxyTypeFunc</span>. See <code class="function">g_dbus_object_manager_client_new()</code> for more details.</p>
<p>When the operation is finished, <em class="parameter"><code>callback</code></em>
 will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-finish" title="udisks_object_manager_client_new_finish ()"><code class="function">udisks_object_manager_client_new_finish()</code></a> to get the result of the operation.</p>
<p>See <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-sync" title="udisks_object_manager_client_new_sync ()"><code class="function">udisks_object_manager_client_new_sync()</code></a> for the synchronous, blocking version of this constructor.</p>
<div class="refsect3">
<a name="id-1.4.5.3.8.3.7"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>connection</p></td>
<td class="parameter_description"><p>A <span class="type">GDBusConnection</span>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>Flags from the <span class="type">GDBusObjectManagerClientFlags</span> enumeration.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p> A bus name (well-known or unique) or <code class="literal">NULL</code> if <em class="parameter"><code>connection</code></em>
is not a message bus connection. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>object_path</p></td>
<td class="parameter_description"><p>An object path.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p> A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-object-manager-client-new-finish"></a><h3>udisks_object_manager_client_new_finish ()</h3>
<pre class="programlisting"><span class="returnvalue">GDBusObjectManager</span> *
udisks_object_manager_client_new_finish
                               (<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
                                <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Finishes an operation started with <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new" title="udisks_object_manager_client_new ()"><code class="function">udisks_object_manager_client_new()</code></a>.</p>
<div class="refsect3">
<a name="id-1.4.5.3.8.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>res</p></td>
<td class="parameter_description"><p>The <span class="type">GAsyncResult</span> obtained from the <span class="type">GAsyncReadyCallback</span> passed to <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new" title="udisks_object_manager_client_new ()"><code class="function">udisks_object_manager_client_new()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.5.3.8.4.6"></a><h4>Returns</h4>
<p> The constructed object manager client or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
is set. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> UDisksObjectManagerClient]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-object-manager-client-new-for-bus"></a><h3>udisks_object_manager_client_new_for_bus ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
udisks_object_manager_client_new_for_bus
                               (<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
                                <em class="parameter"><code><span class="type">GDBusObjectManagerClientFlags</span> flags</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
                                <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
                                <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
                                <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
<p>Like <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new" title="udisks_object_manager_client_new ()"><code class="function">udisks_object_manager_client_new()</code></a> but takes a <span class="type">GBusType</span> instead of a <span class="type">GDBusConnection</span>.</p>
<p>When the operation is finished, <em class="parameter"><code>callback</code></em>
 will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-for-bus-finish" title="udisks_object_manager_client_new_for_bus_finish ()"><code class="function">udisks_object_manager_client_new_for_bus_finish()</code></a> to get the result of the operation.</p>
<p>See <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-for-bus-sync" title="udisks_object_manager_client_new_for_bus_sync ()"><code class="function">udisks_object_manager_client_new_for_bus_sync()</code></a> for the synchronous, blocking version of this constructor.</p>
<div class="refsect3">
<a name="id-1.4.5.3.8.5.7"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>bus_type</p></td>
<td class="parameter_description"><p>A <span class="type">GBusType</span>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>Flags from the <span class="type">GDBusObjectManagerClientFlags</span> enumeration.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>A bus name (well-known or unique).</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>object_path</p></td>
<td class="parameter_description"><p>An object path.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p> A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-object-manager-client-new-for-bus-finish"></a><h3>udisks_object_manager_client_new_for_bus_finish ()</h3>
<pre class="programlisting"><span class="returnvalue">GDBusObjectManager</span> *
udisks_object_manager_client_new_for_bus_finish
                               (<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
                                <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Finishes an operation started with <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-for-bus" title="udisks_object_manager_client_new_for_bus ()"><code class="function">udisks_object_manager_client_new_for_bus()</code></a>.</p>
<div class="refsect3">
<a name="id-1.4.5.3.8.6.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>res</p></td>
<td class="parameter_description"><p>The <span class="type">GAsyncResult</span> obtained from the <span class="type">GAsyncReadyCallback</span> passed to <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-for-bus" title="udisks_object_manager_client_new_for_bus ()"><code class="function">udisks_object_manager_client_new_for_bus()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.5.3.8.6.6"></a><h4>Returns</h4>
<p> The constructed object manager client or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
is set. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> UDisksObjectManagerClient]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-object-manager-client-new-for-bus-sync"></a><h3>udisks_object_manager_client_new_for_bus_sync ()</h3>
<pre class="programlisting"><span class="returnvalue">GDBusObjectManager</span> *
udisks_object_manager_client_new_for_bus_sync
                               (<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
                                <em class="parameter"><code><span class="type">GDBusObjectManagerClientFlags</span> flags</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
                                <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
                                <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Like <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-sync" title="udisks_object_manager_client_new_sync ()"><code class="function">udisks_object_manager_client_new_sync()</code></a> but takes a <span class="type">GBusType</span> instead of a <span class="type">GDBusConnection</span>.</p>
<p>The calling thread is blocked until a reply is received.</p>
<p>See <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-for-bus" title="udisks_object_manager_client_new_for_bus ()"><code class="function">udisks_object_manager_client_new_for_bus()</code></a> for the asynchronous version of this constructor.</p>
<div class="refsect3">
<a name="id-1.4.5.3.8.7.7"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>bus_type</p></td>
<td class="parameter_description"><p>A <span class="type">GBusType</span>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>Flags from the <span class="type">GDBusObjectManagerClientFlags</span> enumeration.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>A bus name (well-known or unique).</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>object_path</p></td>
<td class="parameter_description"><p>An object path.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p> A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.5.3.8.7.8"></a><h4>Returns</h4>
<p> The constructed object manager client or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
is set. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> UDisksObjectManagerClient]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-object-manager-client-new-sync"></a><h3>udisks_object_manager_client_new_sync ()</h3>
<pre class="programlisting"><span class="returnvalue">GDBusObjectManager</span> *
udisks_object_manager_client_new_sync (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
                                       <em class="parameter"><code><span class="type">GDBusObjectManagerClientFlags</span> flags</code></em>,
                                       <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
                                       <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
                                       <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
                                       <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Synchronously creates <span class="type">GDBusObjectManagerClient</span> using <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-get-proxy-type" title="udisks_object_manager_client_get_proxy_type ()"><code class="function">udisks_object_manager_client_get_proxy_type()</code></a> as the <span class="type">GDBusProxyTypeFunc</span>. See <code class="function">g_dbus_object_manager_client_new_sync()</code> for more details.</p>
<p>The calling thread is blocked until a reply is received.</p>
<p>See <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new" title="udisks_object_manager_client_new ()"><code class="function">udisks_object_manager_client_new()</code></a> for the asynchronous version of this constructor.</p>
<div class="refsect3">
<a name="id-1.4.5.3.8.8.7"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>connection</p></td>
<td class="parameter_description"><p>A <span class="type">GDBusConnection</span>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>Flags from the <span class="type">GDBusObjectManagerClientFlags</span> enumeration.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p> A bus name (well-known or unique) or <code class="literal">NULL</code> if <em class="parameter"><code>connection</code></em>
is not a message bus connection. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>object_path</p></td>
<td class="parameter_description"><p>An object path.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p> A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.5.3.8.8.8"></a><h4>Returns</h4>
<p> The constructed object manager client or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
is set. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> UDisksObjectManagerClient]</span></p>
</div>
</div>
</div>
<div class="refsect1">
<a name="UDisksObjectManagerClient.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="UDisksObjectManagerClient-struct"></a><h3>struct UDisksObjectManagerClient</h3>
<pre class="programlisting">struct UDisksObjectManagerClient;</pre>
<p>The <a class="link" href="UDisksObjectManagerClient.html" title="UDisksObjectManagerClient"><span class="type">UDisksObjectManagerClient</span></a> structure contains only private data and should only be accessed using the provided API.</p>
</div>
<hr>
<div class="refsect2">
<a name="UDisksObjectManagerClientClass"></a><h3>struct UDisksObjectManagerClientClass</h3>
<pre class="programlisting">struct UDisksObjectManagerClientClass {
  GDBusObjectManagerClientClass parent_class;
};
</pre>
<p>Class structure for <a class="link" href="UDisksObjectManagerClient.html" title="UDisksObjectManagerClient"><span class="type">UDisksObjectManagerClient</span></a>.</p>
<div class="refsect3">
<a name="id-1.4.5.3.9.3.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><span class="type">GDBusObjectManagerClientClass</span> <em class="structfield"><code><a name="UDisksObjectManagerClientClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>The parent class.</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.21</div>
</body>
</html>