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

<refnamediv>
<refname>pk-console-shared</refname>
<refpurpose></refpurpose>
</refnamediv>

<refsynopsisdiv id="PackageKit-pk-console-shared.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
<link linkend="void">void</link>                <link linkend="pk-console-test">pk_console_test</link>                     (<link linkend="gpointer">gpointer</link> user_data);
<link linkend="guint">guint</link>               <link linkend="pk-console-get-number">pk_console_get_number</link>               (const <link linkend="gchar">gchar</link> *question,
                                                         <link linkend="guint">guint</link> maxnum);
<link linkend="gboolean">gboolean</link>            <link linkend="pk-console-get-prompt">pk_console_get_prompt</link>               (const <link linkend="gchar">gchar</link> *question,
                                                         <link linkend="gboolean">gboolean</link> defaultyes);
<link linkend="gchar">gchar</link> *             <link linkend="pk-console-resolve-package">pk_console_resolve_package</link>          (<link linkend="PkClient">PkClient</link> *client,
                                                         <link linkend="PkBitfield">PkBitfield</link> filter,
                                                         const <link linkend="gchar">gchar</link> *package,
                                                         <link linkend="GError">GError</link> **error);
<link linkend="gchar">gchar</link> **            <link linkend="pk-console-resolve-packages">pk_console_resolve_packages</link>         (<link linkend="PkClient">PkClient</link> *client,
                                                         <link linkend="PkBitfield">PkBitfield</link> filter,
                                                         <link linkend="gchar">gchar</link> **packages,
                                                         <link linkend="GError">GError</link> **error);
const <link linkend="gchar">gchar</link> *       <link linkend="pk-status-enum-to-localised-text">pk_status_enum_to_localised_text</link>    (<link linkend="PkStatusEnum">PkStatusEnum</link> status);
const <link linkend="gchar">gchar</link> *       <link linkend="pk-info-enum-to-localised-past">pk_info_enum_to_localised_past</link>      (<link linkend="PkInfoEnum">PkInfoEnum</link> info);
const <link linkend="gchar">gchar</link> *       <link linkend="pk-info-enum-to-localised-present">pk_info_enum_to_localised_present</link>   (<link linkend="PkInfoEnum">PkInfoEnum</link> info);
const <link linkend="gchar">gchar</link> *       <link linkend="pk-role-enum-to-localised-present">pk_role_enum_to_localised_present</link>   (<link linkend="PkRoleEnum">PkRoleEnum</link> role);
</synopsis>
</refsynopsisdiv>









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

<refsect1 id="PackageKit-pk-console-shared.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="pk-console-test" role="function">
<title>pk_console_test ()</title>
<indexterm zone="pk-console-test"><primary sortas="pk_console_test">pk_console_test</primary></indexterm><programlisting><link linkend="void">void</link>                pk_console_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-console-get-number" role="function">
<title>pk_console_get_number ()</title>
<indexterm zone="pk-console-get-number"><primary sortas="pk_console_get_number">pk_console_get_number</primary></indexterm><programlisting><link linkend="guint">guint</link>               pk_console_get_number               (const <link linkend="gchar">gchar</link> *question,
                                                         <link linkend="guint">guint</link> maxnum);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>question</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>maxnum</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-console-get-prompt" role="function">
<title>pk_console_get_prompt ()</title>
<indexterm zone="pk-console-get-prompt"><primary sortas="pk_console_get_prompt">pk_console_get_prompt</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            pk_console_get_prompt               (const <link linkend="gchar">gchar</link> *question,
                                                         <link linkend="gboolean">gboolean</link> defaultyes);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>question</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>defaultyes</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-console-resolve-package" role="function">
<title>pk_console_resolve_package ()</title>
<indexterm zone="pk-console-resolve-package"><primary sortas="pk_console_resolve_package">pk_console_resolve_package</primary></indexterm><programlisting><link linkend="gchar">gchar</link> *             pk_console_resolve_package          (<link linkend="PkClient">PkClient</link> *client,
                                                         <link linkend="PkBitfield">PkBitfield</link> filter,
                                                         const <link linkend="gchar">gchar</link> *package,
                                                         <link linkend="GError">GError</link> **error);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>client</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>filter</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>package</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-console-resolve-packages" role="function">
<title>pk_console_resolve_packages ()</title>
<indexterm zone="pk-console-resolve-packages"><primary sortas="pk_console_resolve_packages">pk_console_resolve_packages</primary></indexterm><programlisting><link linkend="gchar">gchar</link> **            pk_console_resolve_packages         (<link linkend="PkClient">PkClient</link> *client,
                                                         <link linkend="PkBitfield">PkBitfield</link> filter,
                                                         <link linkend="gchar">gchar</link> **packages,
                                                         <link linkend="GError">GError</link> **error);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>client</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>filter</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packages</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-status-enum-to-localised-text" role="function">
<title>pk_status_enum_to_localised_text ()</title>
<indexterm zone="pk-status-enum-to-localised-text"><primary sortas="pk_status_enum_to_localised_text">pk_status_enum_to_localised_text</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link> *       pk_status_enum_to_localised_text    (<link linkend="PkStatusEnum">PkStatusEnum</link> status);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>status</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-info-enum-to-localised-past" role="function">
<title>pk_info_enum_to_localised_past ()</title>
<indexterm zone="pk-info-enum-to-localised-past"><primary sortas="pk_info_enum_to_localised_past">pk_info_enum_to_localised_past</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link> *       pk_info_enum_to_localised_past      (<link linkend="PkInfoEnum">PkInfoEnum</link> info);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>info</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-info-enum-to-localised-present" role="function">
<title>pk_info_enum_to_localised_present ()</title>
<indexterm zone="pk-info-enum-to-localised-present"><primary sortas="pk_info_enum_to_localised_present">pk_info_enum_to_localised_present</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link> *       pk_info_enum_to_localised_present   (<link linkend="PkInfoEnum">PkInfoEnum</link> info);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>info</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-role-enum-to-localised-present" role="function">
<title>pk_role_enum_to_localised_present ()</title>
<indexterm zone="pk-role-enum-to-localised-present"><primary sortas="pk_role_enum_to_localised_present">pk_role_enum_to_localised_present</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link> *       pk_role_enum_to_localised_present   (<link linkend="PkRoleEnum">PkRoleEnum</link> role);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>role</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
