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

<refnamediv>
<refname>PkPackage</refname>
<refpurpose>Package object</refpurpose>
</refnamediv>

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

<synopsis>
#define             <link linkend="PK-PACKAGE-ERROR--CAPS">PK_PACKAGE_ERROR</link>
#define             <link linkend="PK-PACKAGE-TYPE-ERROR--CAPS">PK_PACKAGE_TYPE_ERROR</link>
                    <link linkend="PkPackagePrivate">PkPackagePrivate</link>;
                    <link linkend="PkPackage-struct">PkPackage</link>;
<link linkend="GQuark">GQuark</link>              <link linkend="pk-package-error-quark">pk_package_error_quark</link>              (void);
<link linkend="PkPackage">PkPackage</link> *         <link linkend="pk-package-new">pk_package_new</link>                      (void);
<link linkend="void">void</link>                <link linkend="pk-package-test">pk_package_test</link>                     (<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gboolean">gboolean</link>            <link linkend="pk-package-set-id">pk_package_set_id</link>                   (<link linkend="PkPackage">PkPackage</link> *package,
                                                         const <link linkend="gchar">gchar</link> *package_id,
                                                         <link linkend="GError">GError</link> **error);
const <link linkend="gchar">gchar</link> *       <link linkend="pk-package-get-id">pk_package_get_id</link>                   (<link linkend="PkPackage">PkPackage</link> *package);
<link linkend="PkInfoEnum">PkInfoEnum</link>          <link linkend="pk-package-get-info">pk_package_get_info</link>                 (<link linkend="PkPackage">PkPackage</link> *package);
const <link linkend="gchar">gchar</link> *       <link linkend="pk-package-get-summary">pk_package_get_summary</link>              (<link linkend="PkPackage">PkPackage</link> *package);
<link linkend="void">void</link>                <link linkend="pk-package-print">pk_package_print</link>                    (<link linkend="PkPackage">PkPackage</link> *package);
<link linkend="gboolean">gboolean</link>            <link linkend="pk-package-equal">pk_package_equal</link>                    (<link linkend="PkPackage">PkPackage</link> *package1,
                                                         <link linkend="PkPackage">PkPackage</link> *package2);
<link linkend="gboolean">gboolean</link>            <link linkend="pk-package-equal-id">pk_package_equal_id</link>                 (<link linkend="PkPackage">PkPackage</link> *package1,
                                                         <link linkend="PkPackage">PkPackage</link> *package2);
</synopsis>
</refsynopsisdiv>

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





<refsect1 id="PkPackage.properties" role="properties">
<title role="properties.title">Properties</title>
<synopsis>
  &quot;<link linkend="PkPackage--description">description</link>&quot;              <link linkend="gchar">gchar</link>*                : Read / Write
  &quot;<link linkend="PkPackage--group">group</link>&quot;                    <link linkend="guint">guint</link>                 : Read / Write
  &quot;<link linkend="PkPackage--info">info</link>&quot;                     <link linkend="guint">guint</link>                 : Read / Write
  &quot;<link linkend="PkPackage--license">license</link>&quot;                  <link linkend="gchar">gchar</link>*                : Read / Write
  &quot;<link linkend="PkPackage--package-id">package-id</link>&quot;               <link linkend="gchar">gchar</link>*                : Read / Write
  &quot;<link linkend="PkPackage--size">size</link>&quot;                     <link linkend="guint64">guint64</link>               : Read / Write
  &quot;<link linkend="PkPackage--summary">summary</link>&quot;                  <link linkend="gchar">gchar</link>*                : Read / Write
  &quot;<link linkend="PkPackage--update-bugzilla-url">update-bugzilla-url</link>&quot;      <link linkend="gchar">gchar</link>*                : Read / Write
  &quot;<link linkend="PkPackage--update-changelog">update-changelog</link>&quot;         <link linkend="gchar">gchar</link>*                : Read / Write
  &quot;<link linkend="PkPackage--update-cve-url">update-cve-url</link>&quot;           <link linkend="gchar">gchar</link>*                : Read / Write
  &quot;<link linkend="PkPackage--update-issued">update-issued</link>&quot;            <link linkend="gchar">gchar</link>*                : Read / Write
  &quot;<link linkend="PkPackage--update-obsoletes">update-obsoletes</link>&quot;         <link linkend="gchar">gchar</link>*                : Read / Write
  &quot;<link linkend="PkPackage--update-restart">update-restart</link>&quot;           <link linkend="guint">guint</link>                 : Read / Write
  &quot;<link linkend="PkPackage--update-state">update-state</link>&quot;             <link linkend="guint">guint</link>                 : Read / Write
  &quot;<link linkend="PkPackage--update-text">update-text</link>&quot;              <link linkend="gchar">gchar</link>*                : Read / Write
  &quot;<link linkend="PkPackage--update-updated">update-updated</link>&quot;           <link linkend="gchar">gchar</link>*                : Read / Write
  &quot;<link linkend="PkPackage--update-updates">update-updates</link>&quot;           <link linkend="gchar">gchar</link>*                : Read / Write
  &quot;<link linkend="PkPackage--update-vendor-url">update-vendor-url</link>&quot;        <link linkend="gchar">gchar</link>*                : Read / Write
  &quot;<link linkend="PkPackage--url">url</link>&quot;                      <link linkend="gchar">gchar</link>*                : Read / Write
</synopsis>
</refsect1>

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


<refsect1 id="PkPackage.description" role="desc">
<title role="desc.title">Description</title>
<para>
This GObject represents a package from a transaction.
These objects represent single items of data from the transaction, and are
often present in lists (<link linkend="PkResults"><type>PkResults</type></link>) or just refcounted in client programs.</para>
<para>
</para>
</refsect1>

<refsect1 id="PkPackage.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="PK-PACKAGE-ERROR--CAPS" role="macro">
<title>PK_PACKAGE_ERROR</title>
<indexterm zone="PK-PACKAGE-ERROR--CAPS"><primary sortas="PK_PACKAGE_ERROR">PK_PACKAGE_ERROR</primary></indexterm><programlisting>#define PK_PACKAGE_ERROR	(pk_package_error_quark ())
</programlisting>
<para>
</para></refsect2>
<refsect2 id="PK-PACKAGE-TYPE-ERROR--CAPS" role="macro">
<title>PK_PACKAGE_TYPE_ERROR</title>
<indexterm zone="PK-PACKAGE-TYPE-ERROR--CAPS"><primary sortas="PK_PACKAGE_TYPE_ERROR">PK_PACKAGE_TYPE_ERROR</primary></indexterm><programlisting>#define PK_PACKAGE_TYPE_ERROR	(pk_package_error_get_type ())
</programlisting>
<para>
</para></refsect2>
<refsect2 id="PkPackagePrivate" role="struct">
<title>PkPackagePrivate</title>
<indexterm zone="PkPackagePrivate"><primary sortas="PkPackagePrivate">PkPackagePrivate</primary></indexterm><programlisting>typedef struct _PkPackagePrivate PkPackagePrivate;</programlisting>
<para>
Private <link linkend="PkPackage"><type>PkPackage</type></link> data</para>
<para>
</para></refsect2>
<refsect2 id="PkPackage-struct" role="struct">
<title>PkPackage</title>
<indexterm zone="PkPackage-struct"><primary sortas="PkPackage">PkPackage</primary></indexterm><programlisting>typedef struct _PkPackage PkPackage;</programlisting>
<para>
</para></refsect2>
<refsect2 id="pk-package-error-quark" role="function">
<title>pk_package_error_quark ()</title>
<indexterm zone="pk-package-error-quark"><primary sortas="pk_package_error_quark">pk_package_error_quark</primary></indexterm><programlisting><link linkend="GQuark">GQuark</link>              pk_package_error_quark              (void);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-package-new" role="function">
<title>pk_package_new ()</title>
<indexterm zone="pk-package-new"><primary sortas="pk_package_new">pk_package_new</primary></indexterm><programlisting><link linkend="PkPackage">PkPackage</link> *         pk_package_new                      (void);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> a new PkPackage object.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-package-test" role="function">
<title>pk_package_test ()</title>
<indexterm zone="pk-package-test"><primary sortas="pk_package_test">pk_package_test</primary></indexterm><programlisting><link linkend="void">void</link>                pk_package_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-package-set-id" role="function">
<title>pk_package_set_id ()</title>
<indexterm zone="pk-package-set-id"><primary sortas="pk_package_set_id">pk_package_set_id</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            pk_package_set_id                   (<link linkend="PkPackage">PkPackage</link> *package,
                                                         const <link linkend="gchar">gchar</link> *package_id,
                                                         <link linkend="GError">GError</link> **error);</programlisting>
<para>
Sets the package object to have the given ID</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>package</parameter>&#160;:</term>
<listitem><simpara> a valid <link linkend="PkPackage"><type>PkPackage</type></link> instance
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>package_id</parameter>&#160;:</term>
<listitem><simpara> the valid package_id
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="GError"><literal>GError</literal></link> to put the error code and message in, 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 package_id was set
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-package-get-id" role="function">
<title>pk_package_get_id ()</title>
<indexterm zone="pk-package-get-id"><primary sortas="pk_package_get_id">pk_package_get_id</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link> *       pk_package_get_id                   (<link linkend="PkPackage">PkPackage</link> *package);</programlisting>
<para>
Gets the package object ID</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>package</parameter>&#160;:</term>
<listitem><simpara> a valid <link linkend="PkPackage"><type>PkPackage</type></link> instance
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> the ID, or <link linkend="NULL--CAPS"><literal>NULL</literal></link> if unset
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-package-get-info" role="function">
<title>pk_package_get_info ()</title>
<indexterm zone="pk-package-get-info"><primary sortas="pk_package_get_info">pk_package_get_info</primary></indexterm><programlisting><link linkend="PkInfoEnum">PkInfoEnum</link>          pk_package_get_info                 (<link linkend="PkPackage">PkPackage</link> *package);</programlisting>
<para>
Gets the package object ID</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>package</parameter>&#160;:</term>
<listitem><simpara> a valid <link linkend="PkPackage"><type>PkPackage</type></link> instance
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> the <link linkend="PkInfoEnum"><literal>PkInfoEnum</literal></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-package-get-summary" role="function">
<title>pk_package_get_summary ()</title>
<indexterm zone="pk-package-get-summary"><primary sortas="pk_package_get_summary">pk_package_get_summary</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link> *       pk_package_get_summary              (<link linkend="PkPackage">PkPackage</link> *package);</programlisting>
<para>
Gets the package object ID</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>package</parameter>&#160;:</term>
<listitem><simpara> a valid <link linkend="PkPackage"><type>PkPackage</type></link> instance
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> the summary, or <link linkend="NULL--CAPS"><literal>NULL</literal></link> if unset
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-package-print" role="function">
<title>pk_package_print ()</title>
<indexterm zone="pk-package-print"><primary sortas="pk_package_print">pk_package_print</primary></indexterm><programlisting><link linkend="void">void</link>                pk_package_print                    (<link linkend="PkPackage">PkPackage</link> *package);</programlisting>
<para>
Prints details about the package to standard out.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>package</parameter>&#160;:</term>
<listitem><simpara> a valid <link linkend="PkPackage"><type>PkPackage</type></link> instance
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-package-equal" role="function">
<title>pk_package_equal ()</title>
<indexterm zone="pk-package-equal"><primary sortas="pk_package_equal">pk_package_equal</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            pk_package_equal                    (<link linkend="PkPackage">PkPackage</link> *package1,
                                                         <link linkend="PkPackage">PkPackage</link> *package2);</programlisting>
<para>
Do the <link linkend="PkPackage"><type>PkPackage</type></link>'s have the same ID.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>package1</parameter>&#160;:</term>
<listitem><simpara> a valid <link linkend="PkPackage"><type>PkPackage</type></link> instance
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>package2</parameter>&#160;:</term>
<listitem><simpara> a valid <link linkend="PkPackage"><type>PkPackage</type></link> instance
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> <link linkend="TRUE--CAPS"><literal>TRUE</literal></link> if the packages have the same package_id, info and summary.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-package-equal-id" role="function">
<title>pk_package_equal_id ()</title>
<indexterm zone="pk-package-equal-id"><primary sortas="pk_package_equal_id">pk_package_equal_id</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            pk_package_equal_id                 (<link linkend="PkPackage">PkPackage</link> *package1,
                                                         <link linkend="PkPackage">PkPackage</link> *package2);</programlisting>
<para>
Do the <link linkend="PkPackage"><type>PkPackage</type></link>'s have the same ID.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>package1</parameter>&#160;:</term>
<listitem><simpara> a valid <link linkend="PkPackage"><type>PkPackage</type></link> instance
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>package2</parameter>&#160;:</term>
<listitem><simpara> a valid <link linkend="PkPackage"><type>PkPackage</type></link> instance
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> <link linkend="TRUE--CAPS"><literal>TRUE</literal></link> if the packages have the same package_id.
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>
<refsect1 id="PkPackage.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="PkPackage--description" role="property"><title>The <literal>&quot;description&quot;</literal> property</title>
<indexterm zone="PkPackage--description"><primary sortas="PkPackage:description">PkPackage:description</primary></indexterm><programlisting>  &quot;description&quot;              <link linkend="gchar">gchar</link>*                : Read / Write</programlisting>
<para>
</para>
<para>
</para><para>Default value: NULL</para>
</refsect2>
<refsect2 id="PkPackage--group" role="property"><title>The <literal>&quot;group&quot;</literal> property</title>
<indexterm zone="PkPackage--group"><primary sortas="PkPackage:group">PkPackage:group</primary></indexterm><programlisting>  &quot;group&quot;                    <link linkend="guint">guint</link>                 : Read / Write</programlisting>
<para>
</para>
<para>
</para><para>Allowed values: &lt;= 35</para>
<para>Default value: 0</para>
</refsect2>
<refsect2 id="PkPackage--info" role="property"><title>The <literal>&quot;info&quot;</literal> property</title>
<indexterm zone="PkPackage--info"><primary sortas="PkPackage:info">PkPackage:info</primary></indexterm><programlisting>  &quot;info&quot;                     <link linkend="guint">guint</link>                 : Read / Write</programlisting>
<para>
</para>
<para>
</para><para>Default value: 0</para>
</refsect2>
<refsect2 id="PkPackage--license" role="property"><title>The <literal>&quot;license&quot;</literal> property</title>
<indexterm zone="PkPackage--license"><primary sortas="PkPackage:license">PkPackage:license</primary></indexterm><programlisting>  &quot;license&quot;                  <link linkend="gchar">gchar</link>*                : Read / Write</programlisting>
<para>
</para>
<para>
</para><para>Default value: NULL</para>
</refsect2>
<refsect2 id="PkPackage--package-id" role="property"><title>The <literal>&quot;package-id&quot;</literal> property</title>
<indexterm zone="PkPackage--package-id"><primary sortas="PkPackage:package-id">PkPackage:package-id</primary></indexterm><programlisting>  &quot;package-id&quot;               <link linkend="gchar">gchar</link>*                : Read / Write</programlisting>
<para>
</para>
<para>
</para><para>Default value: NULL</para>
</refsect2>
<refsect2 id="PkPackage--size" role="property"><title>The <literal>&quot;size&quot;</literal> property</title>
<indexterm zone="PkPackage--size"><primary sortas="PkPackage:size">PkPackage:size</primary></indexterm><programlisting>  &quot;size&quot;                     <link linkend="guint64">guint64</link>               : Read / Write</programlisting>
<para>
</para>
<para>
</para><para>Default value: 0</para>
</refsect2>
<refsect2 id="PkPackage--summary" role="property"><title>The <literal>&quot;summary&quot;</literal> property</title>
<indexterm zone="PkPackage--summary"><primary sortas="PkPackage:summary">PkPackage:summary</primary></indexterm><programlisting>  &quot;summary&quot;                  <link linkend="gchar">gchar</link>*                : Read / Write</programlisting>
<para>
</para>
<para>
</para><para>Default value: NULL</para>
</refsect2>
<refsect2 id="PkPackage--update-bugzilla-url" role="property"><title>The <literal>&quot;update-bugzilla-url&quot;</literal> property</title>
<indexterm zone="PkPackage--update-bugzilla-url"><primary sortas="PkPackage:update-bugzilla-url">PkPackage:update-bugzilla-url</primary></indexterm><programlisting>  &quot;update-bugzilla-url&quot;      <link linkend="gchar">gchar</link>*                : Read / Write</programlisting>
<para>
</para>
<para>
</para><para>Default value: NULL</para>
</refsect2>
<refsect2 id="PkPackage--update-changelog" role="property"><title>The <literal>&quot;update-changelog&quot;</literal> property</title>
<indexterm zone="PkPackage--update-changelog"><primary sortas="PkPackage:update-changelog">PkPackage:update-changelog</primary></indexterm><programlisting>  &quot;update-changelog&quot;         <link linkend="gchar">gchar</link>*                : Read / Write</programlisting>
<para>
</para>
<para>
</para><para>Default value: NULL</para>
</refsect2>
<refsect2 id="PkPackage--update-cve-url" role="property"><title>The <literal>&quot;update-cve-url&quot;</literal> property</title>
<indexterm zone="PkPackage--update-cve-url"><primary sortas="PkPackage:update-cve-url">PkPackage:update-cve-url</primary></indexterm><programlisting>  &quot;update-cve-url&quot;           <link linkend="gchar">gchar</link>*                : Read / Write</programlisting>
<para>
</para>
<para>
</para><para>Default value: NULL</para>
</refsect2>
<refsect2 id="PkPackage--update-issued" role="property"><title>The <literal>&quot;update-issued&quot;</literal> property</title>
<indexterm zone="PkPackage--update-issued"><primary sortas="PkPackage:update-issued">PkPackage:update-issued</primary></indexterm><programlisting>  &quot;update-issued&quot;            <link linkend="gchar">gchar</link>*                : Read / Write</programlisting>
<para>
</para>
<para>
</para><para>Default value: NULL</para>
</refsect2>
<refsect2 id="PkPackage--update-obsoletes" role="property"><title>The <literal>&quot;update-obsoletes&quot;</literal> property</title>
<indexterm zone="PkPackage--update-obsoletes"><primary sortas="PkPackage:update-obsoletes">PkPackage:update-obsoletes</primary></indexterm><programlisting>  &quot;update-obsoletes&quot;         <link linkend="gchar">gchar</link>*                : Read / Write</programlisting>
<para>
</para>
<para>
</para><para>Default value: NULL</para>
</refsect2>
<refsect2 id="PkPackage--update-restart" role="property"><title>The <literal>&quot;update-restart&quot;</literal> property</title>
<indexterm zone="PkPackage--update-restart"><primary sortas="PkPackage:update-restart">PkPackage:update-restart</primary></indexterm><programlisting>  &quot;update-restart&quot;           <link linkend="guint">guint</link>                 : Read / Write</programlisting>
<para>
</para>
<para>
</para><para>Allowed values: &lt;= 7</para>
<para>Default value: 0</para>
</refsect2>
<refsect2 id="PkPackage--update-state" role="property"><title>The <literal>&quot;update-state&quot;</literal> property</title>
<indexterm zone="PkPackage--update-state"><primary sortas="PkPackage:update-state">PkPackage:update-state</primary></indexterm><programlisting>  &quot;update-state&quot;             <link linkend="guint">guint</link>                 : Read / Write</programlisting>
<para>
</para>
<para>
</para><para>Allowed values: &lt;= 4</para>
<para>Default value: 0</para>
</refsect2>
<refsect2 id="PkPackage--update-text" role="property"><title>The <literal>&quot;update-text&quot;</literal> property</title>
<indexterm zone="PkPackage--update-text"><primary sortas="PkPackage:update-text">PkPackage:update-text</primary></indexterm><programlisting>  &quot;update-text&quot;              <link linkend="gchar">gchar</link>*                : Read / Write</programlisting>
<para>
</para>
<para>
</para><para>Default value: NULL</para>
</refsect2>
<refsect2 id="PkPackage--update-updated" role="property"><title>The <literal>&quot;update-updated&quot;</literal> property</title>
<indexterm zone="PkPackage--update-updated"><primary sortas="PkPackage:update-updated">PkPackage:update-updated</primary></indexterm><programlisting>  &quot;update-updated&quot;           <link linkend="gchar">gchar</link>*                : Read / Write</programlisting>
<para>
</para>
<para>
</para><para>Default value: NULL</para>
</refsect2>
<refsect2 id="PkPackage--update-updates" role="property"><title>The <literal>&quot;update-updates&quot;</literal> property</title>
<indexterm zone="PkPackage--update-updates"><primary sortas="PkPackage:update-updates">PkPackage:update-updates</primary></indexterm><programlisting>  &quot;update-updates&quot;           <link linkend="gchar">gchar</link>*                : Read / Write</programlisting>
<para>
</para>
<para>
</para><para>Default value: NULL</para>
</refsect2>
<refsect2 id="PkPackage--update-vendor-url" role="property"><title>The <literal>&quot;update-vendor-url&quot;</literal> property</title>
<indexterm zone="PkPackage--update-vendor-url"><primary sortas="PkPackage:update-vendor-url">PkPackage:update-vendor-url</primary></indexterm><programlisting>  &quot;update-vendor-url&quot;        <link linkend="gchar">gchar</link>*                : Read / Write</programlisting>
<para>
</para>
<para>
</para><para>Default value: NULL</para>
</refsect2>
<refsect2 id="PkPackage--url" role="property"><title>The <literal>&quot;url&quot;</literal> property</title>
<indexterm zone="PkPackage--url"><primary sortas="PkPackage:url">PkPackage:url</primary></indexterm><programlisting>  &quot;url&quot;                      <link linkend="gchar">gchar</link>*                : Read / Write</programlisting>
<para>
</para>
<para>
</para><para>Default value: NULL</para>
</refsect2>
</refsect1>

<refsect1 id="PkPackage.signal-details" role="signals">
<title role="signals.title">Signal Details</title>
<refsect2 id="PkPackage-changed" role="signal"><title>The <literal>&quot;changed&quot;</literal> signal</title>
<indexterm zone="PkPackage-changed"><primary sortas="PkPackage::changed">PkPackage::changed</primary></indexterm><programlisting><link linkend="void">void</link>                user_function                      (<link linkend="PkPackage">PkPackage</link> *package,
                                                        <link linkend="gpointer">gpointer</link>   user_data)      : Run Last</programlisting>
<para>
The ::changed signal is emitted when the package data may have changed.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>package</parameter>&#160;:</term>
<listitem><simpara> the <link linkend="PkPackage"><type>PkPackage</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>
