+/**
+ * This function prints Acl id and calls default callback function handleCB()
+ *
+ * @param[in] ctx context
+ * @param[in] result result
+ * @param[in] aclId acl id
+ */
+static void handleAclIdCB(void* ctx, OCStackResult result, void* aclId)
+{
+ OIC_LOG_V(INFO, TAG, "Received Acl id = %s", (char *)aclId);
+ handleCB(ctx, result, aclId);
+ OICFree(aclId);
+}
+
+/**
+ * This function prints group id and calls default callback function handleCB()
+ *
+ * @param[in] ctx context
+ * @param[in] result result
+ * @param[in] groupId group id
+ */
+static void handleAclCreateGroupCB(void* ctx, OCStackResult result, void* groupId)
+{
+ OIC_LOG_V(INFO, TAG, "Received gid = %s", (char *)groupId);
+ handleCB(ctx, result, groupId);
+ OICFree(groupId);
+}
+
+/**
+ * This function prints group policy and calls default callback function handleCB()
+ *
+ * @param[in] ctx context
+ * @param[in] result result
+ * @param[in] gp group policy
+ */
+static void handleAclPolicyCheckCB(void* ctx, OCStackResult result, void* gp)
+{
+ OIC_LOG_V(INFO, TAG, "Received gp = %s", (char *)gp);
+ handleCB(ctx, result, gp);
+ OICFree(gp);
+}
+
+/**
+ * This function prints received acl and calls default callback function handleCB()
+ *
+ * @param[in] ctx context
+ * @param[in] result result
+ * @param[in] acl acl
+ */
+static void handleAclIndividualGetInfoCB(void* ctx, OCStackResult result, void* acl)
+{
+ printACL((OicSecAcl_t* )acl);
+ handleCB(ctx, result, acl);
+ //can't delete acl here because its ACE's were added to gAcl
+ //TODO: changes in aclresources.c required to fix that
+}
+
+/**
+ * This function prints received group id list and calls default callback function handleCB()
+ *
+ * @param[in] ctx context
+ * @param[in] result result
+ * @param[in] gidList group id list
+ */
+static void handleAclFindMyGroupCB(void* ctx, OCStackResult result, void* gidList)
+{
+ printStringArray((stringArray_t *)gidList);
+ handleCB(ctx, result, gidList);
+ clearStringArray((stringArray_t *)gidList);
+}
+
+/**
+ * This function prints received acl and calls default callback function handleCB()
+ *
+ * @param[in] ctx context
+ * @param[in] result result
+ * @param[in] crl crl
+ */
+static void handleGetCrlCB(void* ctx, OCStackResult result, void* crl)
+{
+ printCrl((OicSecCrl_t *)crl);
+ handleCB(ctx, result, crl);
+ DeleteCrl((OicSecCrl_t *)crl);
+}
+
+/**
+ * This function prints received invitation response and calls default callback function handleCB()
+ *
+ * @param[in] ctx context
+ * @param[in] result result
+ * @param[in] invite invitation response (it has inviteResponse_t* type)
+ */
+static void handleAclGetInvitationCB(void* ctx, OCStackResult result, void* invite)
+{
+ printInviteResponse((inviteResponse_t *)invite);
+ handleCB(ctx, result, invite);
+ clearInviteResponse((inviteResponse_t *)invite);
+ OICFree(invite);
+}
+