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

<refnamediv>
<refname>pk-details-obj</refname>
<refpurpose>Functionality to create a details struct</refpurpose>
</refnamediv>

<refsynopsisdiv id="PackageKit-pk-details-obj.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
<link linkend="PkDetailsObj">PkDetailsObj</link> *      <link linkend="pk-details-obj-new">pk_details_obj_new</link>                  (void);
<link linkend="PkDetailsObj">PkDetailsObj</link> *      <link linkend="pk-details-obj-copy">pk_details_obj_copy</link>                 (const <link linkend="PkDetailsObj">PkDetailsObj</link> *obj);
<link linkend="PkDetailsObj">PkDetailsObj</link> *      <link linkend="pk-details-obj-new-from-data">pk_details_obj_new_from_data</link>        (const <link linkend="PkPackageId">PkPackageId</link> *id,
                                                         const <link linkend="gchar">gchar</link> *license,
                                                         <link linkend="PkGroupEnum">PkGroupEnum</link> group,
                                                         const <link linkend="gchar">gchar</link> *description,
                                                         const <link linkend="gchar">gchar</link> *url,
                                                         <link linkend="guint64">guint64</link> size);
<link linkend="gboolean">gboolean</link>            <link linkend="pk-details-obj-free">pk_details_obj_free</link>                 (<link linkend="PkDetailsObj">PkDetailsObj</link> *obj);
</synopsis>
</refsynopsisdiv>









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

<refsect1 id="PackageKit-pk-details-obj.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="pk-details-obj-new" role="function">
<title>pk_details_obj_new ()</title>
<indexterm zone="pk-details-obj-new"><primary sortas="pk_details_obj_new">pk_details_obj_new</primary></indexterm><programlisting><link linkend="PkDetailsObj">PkDetailsObj</link> *      pk_details_obj_new                  (void);</programlisting>
<para>
Creates a new <link linkend="PkDetailsObj"><type>PkDetailsObj</type></link> object with default values</para>
<para>
</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> a new <link linkend="PkDetailsObj"><type>PkDetailsObj</type></link> object
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-details-obj-copy" role="function">
<title>pk_details_obj_copy ()</title>
<indexterm zone="pk-details-obj-copy"><primary sortas="pk_details_obj_copy">pk_details_obj_copy</primary></indexterm><programlisting><link linkend="PkDetailsObj">PkDetailsObj</link> *      pk_details_obj_copy                 (const <link linkend="PkDetailsObj">PkDetailsObj</link> *obj);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>obj</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> a new <link linkend="PkDetailsObj"><type>PkDetailsObj</type></link> object
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-details-obj-new-from-data" role="function">
<title>pk_details_obj_new_from_data ()</title>
<indexterm zone="pk-details-obj-new-from-data"><primary sortas="pk_details_obj_new_from_data">pk_details_obj_new_from_data</primary></indexterm><programlisting><link linkend="PkDetailsObj">PkDetailsObj</link> *      pk_details_obj_new_from_data        (const <link linkend="PkPackageId">PkPackageId</link> *id,
                                                         const <link linkend="gchar">gchar</link> *license,
                                                         <link linkend="PkGroupEnum">PkGroupEnum</link> group,
                                                         const <link linkend="gchar">gchar</link> *description,
                                                         const <link linkend="gchar">gchar</link> *url,
                                                         <link linkend="guint64">guint64</link> size);</programlisting>
<para>
Creates a new <link linkend="PkDetailsObj"><type>PkDetailsObj</type></link> object with values.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>id</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>license</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>group</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>description</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>url</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>size</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> a new <link linkend="PkDetailsObj"><type>PkDetailsObj</type></link> object
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-details-obj-free" role="function">
<title>pk_details_obj_free ()</title>
<indexterm zone="pk-details-obj-free"><primary sortas="pk_details_obj_free">pk_details_obj_free</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            pk_details_obj_free                 (<link linkend="PkDetailsObj">PkDetailsObj</link> *obj);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>obj</parameter>&#160;:</term>
<listitem><simpara> the <link linkend="PkDetailsObj"><type>PkDetailsObj</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> <link linkend="TRUE--CAPS"><literal>TRUE</literal></link> if the <link linkend="PkDetailsObj"><type>PkDetailsObj</type></link> object was freed.
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
