GMime 2.4 Reference Manual | ||||
---|---|---|---|---|
InternetAddressGroup; InternetAddress* internet_address_group_new (const char *name); InternetAddressList* internet_address_group_get_members (InternetAddressGroup *group); void internet_address_group_set_members (InternetAddressGroup *group, InternetAddressList *members); int internet_address_group_add_member (InternetAddressGroup *group, InternetAddress *member);
typedef struct _InternetAddressGroup InternetAddressGroup;
An RFC 2822 Group address.
InternetAddress* internet_address_group_new (const char *name);
Creates a new InternetAddressGroup object with a display name of
name
.
|
group name |
Returns : |
a new InternetAddressGroup object. |
InternetAddressList* internet_address_group_get_members (InternetAddressGroup *group);
Gets the InternetAddressList containing the group members of an rfc822 group address.
|
a InternetAddressGroup |
Returns : |
a InternetAddressList containing the members of group .
|
void internet_address_group_set_members (InternetAddressGroup *group, InternetAddressList *members);
Set the members of the internet address group.
|
a InternetAddressGroup |
|
a InternetAddressList |
int internet_address_group_add_member (InternetAddressGroup *group, InternetAddress *member);
Add a contact to the internet address group.
|
a InternetAddressGroup |
|
a InternetAddress |
Returns : |
the index of the newly added member. |