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

<refnamediv>
<refname>e-name-western</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv id="libebook-ENameWestern.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
                    <link linkend="ENameWestern">ENameWestern</link>;
<link linkend="ENameWestern">ENameWestern</link>*       <link linkend="e-name-western-parse">e_name_western_parse</link>                (const <link linkend="char">char</link> *full_name);
<link linkend="void">void</link>                <link linkend="e-name-western-free">e_name_western_free</link>                 (<link linkend="ENameWestern">ENameWestern</link> *w);
</synopsis>
</refsynopsisdiv>









<refsect1 id="libebook-ENameWestern.description" role="desc">
<title role="desc.title">Description</title>
<para>

</para>
</refsect1>

<refsect1 id="libebook-ENameWestern.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="ENameWestern" role="struct">
<title>ENameWestern</title>
<indexterm zone="ENameWestern"><primary>ENameWestern</primary></indexterm><programlisting>typedef struct {
	/* Public */
	char *prefix;
	char *first;
	char *middle;
	char *nick;
	char *last;
	char *suffix;

	/* Private */
	char *full;
} ENameWestern;
</programlisting>
<para>

</para></refsect2>
<refsect2 id="e-name-western-parse" role="function">
<title>e_name_western_parse ()</title>
<indexterm zone="e-name-western-parse"><primary>e_name_western_parse</primary></indexterm><programlisting><link linkend="ENameWestern">ENameWestern</link>*       e_name_western_parse                (const <link linkend="char">char</link> *full_name);</programlisting>
<para>
Parses <parameter>full_name</parameter> and returns an <link linkend="ENameWestern"><type>ENameWestern</type></link> struct filled with
the component parts of the name.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>full_name</parameter>&nbsp;:</term>
<listitem><simpara> A string containing a western name.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A new <link linkend="ENameWestern"><type>ENameWestern</type></link> struct.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="e-name-western-free" role="function">
<title>e_name_western_free ()</title>
<indexterm zone="e-name-western-free"><primary>e_name_western_free</primary></indexterm><programlisting><link linkend="void">void</link>                e_name_western_free                 (<link linkend="ENameWestern">ENameWestern</link> *w);</programlisting>
<para>
Frees the <parameter>w</parameter> struct and its contents.</para>
<para>

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

</refsect1>




</refentry>
