<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
<!--ArborText, Inc., 1988-1999, v.4002-->
<!--ARC : LSARC 2007/309  GNOME Multi-protocol instant messaging client Pidgin -->
<!ENTITY cmd "purple-send">
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
<!ENTITY suncopy "Copyright (c) 2004, 2007, Sun Microsystems, Inc. All Rights Reserved.">
]>
<?Pub UDT _bookmark _target>
<?Pub Inc>
<refentry id="purple-send-1">
<!-- %Z%%M% %I% %E% SMI; -->
<refmeta><refentrytitle>purple-send</refentrytitle><manvolnum>1</manvolnum>
<refmiscinfo class="date">02 Apr 2008</refmiscinfo>
<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
<refmiscinfo class="software">&release;</refmiscinfo>
<refmiscinfo class="arch">generic</refmiscinfo>
<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
</refmeta>
<indexterm><primary>purple-send</primary></indexterm><indexterm><primary>calls purple API functions using DBus and prints the return value.</primary></indexterm>
<refnamediv id="purple-send-1-name"><refname>purple-send</refname><refpurpose>calls purple API functions using DBus and prints the return value.</refpurpose></refnamediv>

<refsynopsisdiv id="purple-send-1-synp"><title>&synp-tt;</title>
<cmdsynopsis><command>&cmd;</command>
<arg choice="plain">method-name</arg>
<arg choice="opt">type1:value1</arg>
<arg choice="opt">type2:value2</arg>
<arg choice="plain">...</arg>
</cmdsynopsis></refsynopsisdiv>

<refsect1 id="purple-send-1-desc"><title>&desc-tt;</title>
<para>This program calls purple API functions using DBus and prints the return
value. If you are not interested in the return value, use purple-send-async.
This shell script just invokes dbus-send, see man dbus-send for how to specify
the parameters. 
</refsect1>

<refsect1 id="purple-send-1-opts"><title>&opts-tt;</title>
<para>
Use dbus-viewer to get the list of supported functions and their parameters.

Here are some examples:

/usr/bin/purple-send PurpleAccountsFindConnected string: string:prpl-jabber

/usr/bin/purple-send PurpleAccountsGetAll

/usr/bin/purple-send PurpleCoreQuit
</para>
</refsect1>

<refsect1 id="purple-send-1-attr"><title>&attr-tt;</title>
<para>See <olink targetdocent="REFMAN5" localinfo="attributes-5"><citerefentry>
<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
for descriptions of the following attributes:</para>
<informaltable frame="all">
<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
<colspec colname="COLSPEC1" colwidth="1*">
<thead>
<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
valign="middle">ATTRIBUTE VALUE</entry></row>
</thead>
<tbody>
<row><entry><para>Availability</para></entry><entry><para>communication/im/pidgin</para></entry>
</row>
<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
colname="COLSPEC1"><para>Volatile</para></entry></row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="purple-send-1-also"><title>&also-tt;</title>
<!--Reference to another man page-->
<!--Reference to a Help manual-->
<!--Reference to a book.-->
<para>
<citerefentry><refentrytitle>purple-remote</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>purple-send-async</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>purple-url-handler</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>
</para>
<para>
<citetitle>&cmd; Manual</citetitle>,
<literal>http://pidgin.im/</literal>
</para>
</refsect1>

<refsect1 id="purple-send-1-note"><title>&note-tt;</title>
<para>Updated by Lei Ju, Sun Microsystems Inc., 2006, 2007.</para>
</refsect1>
</refentry>
