<?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="PkTransactionList">
<refmeta>
<refentrytitle role="top_of_page" id="PkTransactionList.top_of_page">PkTransactionList</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>PACKAGEKIT Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>PkTransactionList</refname>
<refpurpose></refpurpose>
</refnamediv>

<refsynopsisdiv id="PkTransactionList.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
                    <link linkend="PkTransactionListPrivate">PkTransactionListPrivate</link>;
                    <link linkend="PkTransactionList-struct">PkTransactionList</link>;
<link linkend="PkTransactionList">PkTransactionList</link> * <link linkend="pk-transaction-list-new">pk_transaction_list_new</link>             (void);
<link linkend="void">void</link>                <link linkend="pk-transaction-list-test">pk_transaction_list_test</link>            (<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gchar">gchar</link> **            <link linkend="pk-transaction-list-get-ids">pk_transaction_list_get_ids</link>         (<link linkend="PkTransactionList">PkTransactionList</link> *tlist);
</synopsis>
</refsynopsisdiv>

<refsect1 id="PkTransactionList.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
  <link linkend="GObject">GObject</link>
   +----PkTransactionList
</synopsis>
</refsect1>






<refsect1 id="PkTransactionList.signals" role="signal_proto">
<title role="signal_proto.title">Signals</title>
<synopsis>
  &quot;<link linkend="PkTransactionList-added">added</link>&quot;                                          : Run Last
  &quot;<link linkend="PkTransactionList-removed">removed</link>&quot;                                        : Run Last
</synopsis>
</refsect1>


<refsect1 id="PkTransactionList.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>

<refsect1 id="PkTransactionList.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="PkTransactionListPrivate" role="struct">
<title>PkTransactionListPrivate</title>
<indexterm zone="PkTransactionListPrivate"><primary sortas="PkTransactionListPrivate">PkTransactionListPrivate</primary></indexterm><programlisting>typedef struct _PkTransactionListPrivate PkTransactionListPrivate;</programlisting>
<para>
Private <link linkend="PkTransactionList"><type>PkTransactionList</type></link> data</para>
<para>
</para></refsect2>
<refsect2 id="PkTransactionList-struct" role="struct">
<title>PkTransactionList</title>
<indexterm zone="PkTransactionList-struct"><primary sortas="PkTransactionList">PkTransactionList</primary></indexterm><programlisting>typedef struct _PkTransactionList PkTransactionList;</programlisting>
<para>
</para></refsect2>
<refsect2 id="pk-transaction-list-new" role="function">
<title>pk_transaction_list_new ()</title>
<indexterm zone="pk-transaction-list-new"><primary sortas="pk_transaction_list_new">pk_transaction_list_new</primary></indexterm><programlisting><link linkend="PkTransactionList">PkTransactionList</link> * pk_transaction_list_new             (void);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-transaction-list-test" role="function">
<title>pk_transaction_list_test ()</title>
<indexterm zone="pk-transaction-list-test"><primary sortas="pk_transaction_list_test">pk_transaction_list_test</primary></indexterm><programlisting><link linkend="void">void</link>                pk_transaction_list_test            (<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>user_data</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-transaction-list-get-ids" role="function">
<title>pk_transaction_list_get_ids ()</title>
<indexterm zone="pk-transaction-list-get-ids"><primary sortas="pk_transaction_list_get_ids">pk_transaction_list_get_ids</primary></indexterm><programlisting><link linkend="gchar">gchar</link> **            pk_transaction_list_get_ids         (<link linkend="PkTransactionList">PkTransactionList</link> *tlist);</programlisting>
<para>
Gets the string lists of transaction IDs recognised as pending, running or finished by the daemon.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>tlist</parameter>&#160;:</term>
<listitem><simpara> a valid <link linkend="PkTransactionList"><type>PkTransactionList</type></link> instance
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> the array of strings, free with <link linkend="g-strfreev"><function>g_strfreev()</function></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>

<refsect1 id="PkTransactionList.signal-details" role="signals">
<title role="signals.title">Signal Details</title>
<refsect2 id="PkTransactionList-added" role="signal"><title>The <literal>&quot;added&quot;</literal> signal</title>
<indexterm zone="PkTransactionList-added"><primary sortas="PkTransactionList::added">PkTransactionList::added</primary></indexterm><programlisting><link linkend="void">void</link>                user_function                      (<link linkend="PkTransactionList">PkTransactionList</link> *tlist,
                                                        <link linkend="gchar">gchar</link>             *arg1,
                                                        <link linkend="gpointer">gpointer</link>           user_data)      : Run Last</programlisting>
<para>
The ::added signal is emitted when a tid has been added to the transaction list</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>tlist</parameter>&#160;:</term>
<listitem><simpara> the <link linkend="PkTransactionList"><type>PkTransactionList</type></link> instance that emitted the signal
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&#160;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2><refsect2 id="PkTransactionList-removed" role="signal"><title>The <literal>&quot;removed&quot;</literal> signal</title>
<indexterm zone="PkTransactionList-removed"><primary sortas="PkTransactionList::removed">PkTransactionList::removed</primary></indexterm><programlisting><link linkend="void">void</link>                user_function                      (<link linkend="PkTransactionList">PkTransactionList</link> *tlist,
                                                        <link linkend="gchar">gchar</link>             *arg1,
                                                        <link linkend="gpointer">gpointer</link>           user_data)      : Run Last</programlisting>
<para>
The ::removed signal is emitted when a tid has been removed from the transaction list</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>tlist</parameter>&#160;:</term>
<listitem><simpara> the <link linkend="PkTransactionList"><type>PkTransactionList</type></link> instance that emitted the signal
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&#160;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2>
</refsect1>



</refentry>
