<?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">
<refentry id="libebook-EAddressWestern">
<refmeta>
<refentrytitle role="top_of_page">e-address-western</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBEBOOK Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>e-address-western</refname>
<refpurpose>A physical address in the format used in the Western hemisphere.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

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

<synopsis>



            <link linkend="EAddressWestern">EAddressWestern</link>;
<link linkend="EAddressWestern">EAddressWestern</link>* <link linkend="e-address-western-parse">e_address_western_parse</link>    (const <link linkend="char">char</link> *in_address);
<link linkend="void">void</link>        <link linkend="e-address-western-free">e_address_western_free</link>          (<link linkend="EAddressWestern">EAddressWestern</link> *eaw);
</synopsis>
</refsynopsisdiv>









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

</para>
</refsect1>

<refsect1 role="details">
<title role="details.title">Details</title>
<refsect2>
<title><anchor id="EAddressWestern" role="struct"/>EAddressWestern</title>
<indexterm><primary>EAddressWestern</primary></indexterm><programlisting>typedef struct {
	/* Public */
	char *po_box;
	char *extended;  /* I'm not sure what this is. */
	char *street;
	char *locality;  /* For example, the city or town. */
	char *region;	/* The state or province. */
	char *postal_code;
	char *country;
} EAddressWestern;
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="e-address-western-parse" role="function"/>e_address_western_parse ()</title>
<indexterm><primary>e_address_western_parse</primary></indexterm><programlisting><link linkend="EAddressWestern">EAddressWestern</link>* e_address_western_parse    (const <link linkend="char">char</link> *in_address);</programlisting>
<para>
Parses a string representing a mailing address into a
structure of type <link linkend="EAddressWestern"><type>EAddressWestern</type></link>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>in_address</parameter>&nbsp;:</term>
<listitem><simpara> a string representing a mailing address
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A new <link linkend="EAddressWestern"><type>EAddressWestern</type></link> structure, or <link linkend="NULL:CAPS"><literal>NULL</literal></link> if the parsing failed.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="e-address-western-free" role="function"/>e_address_western_free ()</title>
<indexterm><primary>e_address_western_free</primary></indexterm><programlisting><link linkend="void">void</link>        e_address_western_free          (<link linkend="EAddressWestern">EAddressWestern</link> *eaw);</programlisting>
<para>
Frees <parameter>eaw</parameter> and its contents.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>eaw</parameter>&nbsp;:</term>
<listitem><simpara> an <link linkend="EAddressWestern"><type>EAddressWestern</type></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
