replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git] / resource / csdk / security / include / internal / policyengine.h
index 72aa01c..83841c1 100644 (file)
@@ -44,11 +44,16 @@ typedef struct PEContext
     PEState_t   state;
     OicUuid_t   subject;
     char        resource[MAX_URI_LENGTH];
+    OicSecSvrType_t resourceType;
     uint16_t    permission;
-    bool        matchingAclFound;
     bool        amsProcessing;
     SRMAccessResponse_t retVal;
     AmsMgrContext_t     *amsMgrContext;
+
+#ifdef MULTIPLE_OWNER
+    uint8_t* payload;
+    size_t payloadSize;
+#endif //MULTIPLE_OWNER
 } PEContext_t;
 
 /**
@@ -103,4 +108,6 @@ uint16_t GetPermissionFromCAMethod_t(const CAMethod_t method);
  */
 void SetPolicyEngineState(PEContext_t *context, const PEState_t state);
 
+typedef OCStackResult (*GetSvrRownerId_t)(OicUuid_t *rowner);
+
 #endif //IOTVT_SRM_PE_H