| GMime 2.4 Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
InternetAddress;
const char * internet_address_get_name (InternetAddress *ia);
void internet_address_set_name (InternetAddress *ia,
const char *name);
char * internet_address_to_string (InternetAddress *ia,
gboolean encode);
An InternetAddress is the base class for InternetAddressGroup and InternetAddressMailbox.
const char * internet_address_get_name (InternetAddress *ia);
Gets the display name of the InternetAddress.
|
a InternetAddress |
Returns : |
the display name of ia.
|
void internet_address_set_name (InternetAddress *ia, const char *name);
Set the display name of the InternetAddress.
|
a InternetAddress |
|
the display name for the address group or mailbox |
char * internet_address_to_string (InternetAddress *ia, gboolean encode);
Allocates a string containing the contents of the InternetAddress object.
|
Internet Address object |
|
TRUE if the address should be rfc2047 encoded
|
Returns : |
the InternetAddress object as an allocated string in rfc822 format. |