| Evolution API Reference: libebook, the Addressbook Library | ||||
|---|---|---|---|---|
| Top | Description | ||||
e-address-westerne-address-western — A physical address in the format used in the Western hemisphere. |
EAddressWestern;
EAddressWestern* e_address_western_parse (const char *in_address);
void e_address_western_free (EAddressWestern *eaw);
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;
EAddressWestern* e_address_western_parse (const char *in_address);
Parses a string representing a mailing address into a structure of type EAddressWestern.
|
a string representing a mailing address |
Returns : |
A new EAddressWestern structure, or NULL if the parsing failed.
|
void e_address_western_free (EAddressWestern *eaw);
Frees eaw and its contents.
|
an EAddressWestern |