<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY version SYSTEM "version.xml">
]>
<refentry id="PackageKit-pk-control-sync">
<refmeta>
<refentrytitle role="top_of_page" id="PackageKit-pk-control-sync.top_of_page">pk-control-sync</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>PACKAGEKIT Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>pk-control-sync</refname>
<refpurpose></refpurpose>
</refnamediv>

<refsynopsisdiv id="PackageKit-pk-control-sync.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
<link linkend="gboolean">gboolean</link>            <link linkend="pk-control-get-properties">pk_control_get_properties</link>           (<link linkend="PkControl">PkControl</link> *control,
                                                         <link linkend="GCancellable">GCancellable</link> *cancellable,
                                                         <link linkend="GError">GError</link> **error);
<link linkend="gchar">gchar</link> **            <link linkend="pk-control-get-transaction-list">pk_control_get_transaction_list</link>     (<link linkend="PkControl">PkControl</link> *control,
                                                         <link linkend="GCancellable">GCancellable</link> *cancellable,
                                                         <link linkend="GError">GError</link> **error);
</synopsis>
</refsynopsisdiv>









<refsect1 id="PackageKit-pk-control-sync.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>

<refsect1 id="PackageKit-pk-control-sync.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="pk-control-get-properties" role="function">
<title>pk_control_get_properties ()</title>
<indexterm zone="pk-control-get-properties"><primary sortas="pk_control_get_properties">pk_control_get_properties</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            pk_control_get_properties           (<link linkend="PkControl">PkControl</link> *control,
                                                         <link linkend="GCancellable">GCancellable</link> *cancellable,
                                                         <link linkend="GError">GError</link> **error);</programlisting>
<para>
Gets the properties the daemon supports.
Warning: this function is synchronous, and may block. Do not use it in GUI
applications.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>control</parameter>&#160;:</term>
<listitem><simpara> a valid <link linkend="PkControl"><type>PkControl</type></link> instance
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>cancellable</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="GCancellable"><type>GCancellable</type></link> or <link linkend="NULL--CAPS"><literal>NULL</literal></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara> A <link linkend="GError"><type>GError</type></link> or <link linkend="NULL--CAPS"><literal>NULL</literal></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> <link linkend="TRUE--CAPS"><literal>TRUE</literal></link> if the properties were set correctly
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-control-get-transaction-list" role="function">
<title>pk_control_get_transaction_list ()</title>
<indexterm zone="pk-control-get-transaction-list"><primary sortas="pk_control_get_transaction_list">pk_control_get_transaction_list</primary></indexterm><programlisting><link linkend="gchar">gchar</link> **            pk_control_get_transaction_list     (<link linkend="PkControl">PkControl</link> *control,
                                                         <link linkend="GCancellable">GCancellable</link> *cancellable,
                                                         <link linkend="GError">GError</link> **error);</programlisting>
<para>
Gets the transaction list in progress.
Warning: this function is synchronous, and may block. Do not use it in GUI
applications.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>control</parameter>&#160;:</term>
<listitem><simpara> a valid <link linkend="PkControl"><type>PkControl</type></link> instance
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>cancellable</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="GCancellable"><type>GCancellable</type></link> or <link linkend="NULL--CAPS"><literal>NULL</literal></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara> A <link linkend="GError"><type>GError</type></link> or <link linkend="NULL--CAPS"><literal>NULL</literal></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> The list of transaction id's, or <link linkend="NULL--CAPS"><literal>NULL</literal></link>, free with <link linkend="g-strfreev"><function>g_strfreev()</function></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
