| Osso Addressbook Reference Manual | ||||
|---|---|---|---|---|
OssoABookServiceGroupOssoABookServiceGroup — A smart group containing contacts related to a specific online service. |
OssoABookServiceGroup;
OssoABookGroup* osso_abook_service_group_get (McAccount *account);
GList* osso_abook_service_group_get_all (void);
McAccount* osso_abook_service_group_get_account
(OssoABookServiceGroup *group);
OssoABookGroup* osso_abook_service_group_lookup_by_name
(const char *unique_name);
OssoABookServiceGroup is an object that contains only contacts relating to a specified online service.
typedef struct _OssoABookServiceGroup OssoABookServiceGroup;
All the fields of this structure are private to the object's implementation and should never be accessed directly.
OssoABookGroup* osso_abook_service_group_get (McAccount *account);
Retrieves the group for the given account type. Note this function is not threadsafe.
account : |
An McAccount to be attached to this group. |
| Returns : | The OssoABookGroup. This is a singleton;
don't g_object_unref() it. Will return NULL if account is incomplete.
|
McAccount* osso_abook_service_group_get_account
(OssoABookServiceGroup *group);
Returns the service group's associated McAccount.
| Returns : | The McAccount the service group is based around. |
OssoABookGroup* osso_abook_service_group_lookup_by_name (const char *unique_name);
Retrieves the OssoABookServiceGroup for the specified McAccount.
unique_name : |
the unique McAccount name |
| Returns : | The matching OssoABookServiceGroup,
or NULL when no matching group exists.
|