Browse Source

group_manager_api - formatting only

LIB-18
heck 1 year ago
parent
commit
8184899d9d
2 changed files with 24 additions and 10 deletions
  1. +7
    -2
      src/group_manager_api.cc
  2. +17
    -8
      src/group_manager_api.h

+ 7
- 2
src/group_manager_api.cc View File

@ -116,14 +116,19 @@ DYNAMIC_API PEP_STATUS adapter_group_join(
/*************************************************************************************************
* Group query functions
*************************************************************************************************/
DYNAMIC_API PEP_STATUS adapter_group_query_groups(PEP_SESSION session, identity_list **groups)
DYNAMIC_API PEP_STATUS adapter_group_query_groups(
PEP_SESSION session,
identity_list **groups)
{
pEpLog("called");
PEP_STATUS status = adapter_grp_manager.group_query_groups(session, groups);
return status;
}
DYNAMIC_API PEP_STATUS adapter_group_query_manager(PEP_SESSION session, const pEp_identity *const group, pEp_identity **manager)
DYNAMIC_API PEP_STATUS adapter_group_query_manager(
PEP_SESSION session,
const pEp_identity *const group,
pEp_identity **manager)
{
pEpLog("called");
PEP_STATUS status = adapter_grp_manager.group_query_manager(session, group, manager);


+ 17
- 8
src/group_manager_api.h View File

@ -1,6 +1,6 @@
// This file is under GNU General Public License 3.0
// see LICENSE.txt
// clang-format off
#ifndef LIBPEPADAPTER_GROUP_MANAGER_API_H
#define LIBPEPADAPTER_GROUP_MANAGER_API_H
@ -79,7 +79,10 @@ DYNAMIC_API PEP_STATUS adapter_group_create(
* @warning For recipients to accept the dissolution, the sender/manager key used must be a key that they
* have a trust entry for.
*/
DYNAMIC_API PEP_STATUS adapter_group_dissolve(PEP_SESSION session, pEp_identity *group_identity, pEp_identity *manager);
DYNAMIC_API PEP_STATUS adapter_group_dissolve(
PEP_SESSION session,
pEp_identity *group_identity,
pEp_identity *manager);
/**
* <!-- adapter_group_invite_member() -->
@ -134,7 +137,6 @@ DYNAMIC_API PEP_STATUS adapter_group_remove_member(
pEp_identity *group_member);
/**
* <!-- group_join() -->
*
@ -159,8 +161,7 @@ DYNAMIC_API PEP_STATUS adapter_group_remove_member(
DYNAMIC_API PEP_STATUS adapter_group_join(
PEP_SESSION session,
pEp_identity *group_identity,
pEp_identity *as_member
);
pEp_identity *as_member);
/*************************************************************************************************
* Group query functions
@ -182,7 +183,9 @@ DYNAMIC_API PEP_STATUS adapter_group_join(
*
*/
DYNAMIC_API PEP_STATUS adapter_group_query_groups(PEP_SESSION session, identity_list **groups);
DYNAMIC_API PEP_STATUS adapter_group_query_groups(
PEP_SESSION session,
identity_list **groups);
/**
* <!-- adapter_group_query_manager() -->
@ -200,7 +203,10 @@ DYNAMIC_API PEP_STATUS adapter_group_query_groups(PEP_SESSION session, identity_
*
*/
DYNAMIC_API PEP_STATUS adapter_group_query_manager(PEP_SESSION session, const pEp_identity *const group, pEp_identity **manager);
DYNAMIC_API PEP_STATUS adapter_group_query_manager(
PEP_SESSION session,
const pEp_identity *const group,
pEp_identity **manager);
/**
* <!-- adapter_group_query_members() -->
@ -218,7 +224,10 @@ DYNAMIC_API PEP_STATUS adapter_group_query_manager(PEP_SESSION session, const pE
*
*/
DYNAMIC_API PEP_STATUS adapter_group_query_members(PEP_SESSION session, const pEp_identity *const group, identity_list **members);
DYNAMIC_API PEP_STATUS adapter_group_query_members(
PEP_SESSION session,
const pEp_identity *const group,
identity_list **members);
#ifdef __cplusplus


Loading…
Cancel
Save