mirror of
https://github.com/haiwen/ccnet-server.git
synced 2025-09-01 12:56:27 +00:00
Change wrapper function of get_groups().
This commit is contained in:
@@ -181,14 +181,14 @@ ccnet_get_binding_email (SearpcClient *client, const char *peer_id)
|
||||
}
|
||||
|
||||
GList *
|
||||
ccnet_get_groups_by_user (SearpcClient *client, const char *user)
|
||||
ccnet_get_groups_by_user (SearpcClient *client, const char *user, int return_ancestors)
|
||||
{
|
||||
if (!user)
|
||||
return NULL;
|
||||
|
||||
return searpc_client_call__objlist (
|
||||
client, "get_groups", CCNET_TYPE_GROUP, NULL,
|
||||
1, "string", user);
|
||||
2, "string", user, "int", return_ancestors);
|
||||
}
|
||||
|
||||
GList *
|
||||
|
Reference in New Issue
Block a user