Browse Source

adapter_group.cc - pEpLog() every function call

LIB-12
heck 1 year ago
parent
commit
dc8d340190
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      src/adapter_group.cc

+ 11
- 0
src/adapter_group.cc View File

@ -1,7 +1,9 @@
// This file is under GNU General Public License 3.0
// see LICENSE.txt
#include <pEp/group.h>
#include "adapter_group.h"
#include "pEpLog.hh"
#ifdef __cplusplus
extern "C" {
@ -18,18 +20,21 @@ DYNAMIC_API PEP_STATUS adapter_group_create(
identity_list *memberlist,
pEp_group **group)
{
pEpLog("called");
return ::group_create(session, group_identity, manager, memberlist, group);
}
DYNAMIC_API PEP_STATUS
adapter_group_join(PEP_SESSION session, pEp_identity *group_identity, pEp_identity *as_member)
{
pEpLog("called");
return ::group_join(session, group_identity, as_member);
}
DYNAMIC_API PEP_STATUS
adapter_group_dissolve(PEP_SESSION session, pEp_identity *group_identity, pEp_identity *manager)
{
pEpLog("called");
return ::group_dissolve(session, group_identity, manager);
}
@ -38,6 +43,7 @@ DYNAMIC_API PEP_STATUS adapter_group_invite_member(
pEp_identity *group_identity,
pEp_identity *group_member)
{
pEpLog("called");
return ::group_invite_member(session, group_identity, group_member);
}
@ -46,6 +52,7 @@ PEP_STATUS adapter_group_remove_member(
pEp_identity *group_identity,
pEp_identity *group_member)
{
pEpLog("called");
return ::group_remove_member(session, group_identity, group_member);
}
@ -55,6 +62,7 @@ DYNAMIC_API PEP_STATUS adapter_group_rating(
pEp_identity *manager,
PEP_rating *rating)
{
pEpLog("called");
return ::group_rating(session, group_identity, manager, rating);
}
@ -65,18 +73,21 @@ DYNAMIC_API PEP_STATUS adapter_group_rating(
DYNAMIC_API PEP_STATUS group_query_groups(PEP_SESSION session, identity_list **groups)
{
pEpLog("called");
return PEP_STATUS_OK;
}
DYNAMIC_API PEP_STATUS
group_query_manager(PEP_SESSION session, const pEp_identity *const group, pEp_identity **manager)
{
pEpLog("called");
return PEP_STATUS_OK;
}
DYNAMIC_API PEP_STATUS
group_query_members(PEP_SESSION session, const pEp_identity *const group, identity_list **members)
{
pEpLog("called");
return PEP_STATUS_OK;
}


Loading…
Cancel
Save