1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>e-address-western</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="Evolution API Reference: libebook, the Addressbook Library">
<link rel="up" href="ch01.html" title="Evolution API Reference: libebook, the Addressbook Library">
<link rel="prev" href="libebook-e-book-types.html" title="e-book-types">
<link rel="next" href="libebook-ENameWestern.html" title="e-name-western">
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="ch01.html" title="Evolution API Reference: libebook, the Addressbook Library">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libebook-e-book-types.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Evolution API Reference: libebook, the Addressbook Library</th>
<td><a accesskey="n" href="libebook-ENameWestern.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2575149" class="shortcut">Top</a>
 | 
<a href="#id2598892" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libebook-EAddressWestern"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2575149"></a><span class="refentrytitle">e-address-western</span>
</h2>
<p>e-address-western — A physical address in the format used in the Western hemisphere.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
<a href="libebook-EAddressWestern.html#EAddressWestern">EAddressWestern</a>;
<a href="libebook-EAddressWestern.html#EAddressWestern">EAddressWestern</a>* <a href="libebook-EAddressWestern.html#e-address-western-parse">e_address_western_parse</a> (const char *address);
void <a href="libebook-EAddressWestern.html#e-address-western-free">e_address_western_free</a> (<a href="libebook-EAddressWestern.html#EAddressWestern">EAddressWestern</a> *eaw);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2598892"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2583049"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2583059"></a><h3>
<a name="EAddressWestern"></a>EAddressWestern</h3>
<a class="indexterm" name="id2583071"></a><pre class="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;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2583091"></a><h3>
<a name="e-address-western-parse"></a>e_address_western_parse ()</h3>
<a class="indexterm" name="id2583103"></a><pre class="programlisting"><a href="libebook-EAddressWestern.html#EAddressWestern">EAddressWestern</a>* e_address_western_parse (const char *address);</pre>
<p>
Parses a string representing a mailing address into a
structure of type <a href="libebook-EAddressWestern.html#EAddressWestern"><span class="type">EAddressWestern</span></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>address</code></em> :</span></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> A new <a href="libebook-EAddressWestern.html#EAddressWestern"><span class="type">EAddressWestern</span></a> structure, or <a
href="/opt/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the parsing failed.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2574533"></a><h3>
<a name="e-address-western-free"></a>e_address_western_free ()</h3>
<a class="indexterm" name="id2574544"></a><pre class="programlisting">void e_address_western_free (<a href="libebook-EAddressWestern.html#EAddressWestern">EAddressWestern</a> *eaw);</pre>
<p>
Frees <em class="parameter"><code>eaw</code></em> and its contents.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><em class="parameter"><code>eaw</code></em> :</span></td>
<td> an <a href="libebook-EAddressWestern.html#EAddressWestern"><span class="type">EAddressWestern</span></a>
</td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
</body>
</html>
|