Merge tizen_5.0 codes into tizen_4.0
[platform/upstream/iotivity.git] / resource / csdk / security / include / oxmverifycommon.h
index c26852b..bab6aa2 100644 (file)
@@ -61,6 +61,11 @@ typedef OCStackResult (*UserConfirmCallback)(void * ctx);
 typedef OCStackResult (*InputStateCallback)(void * ctx);
 
 /**
+ * Function pointer to notify user selected OXM
+ */
+typedef void (*InformOxmSelectedCallback_t)(OicSecOxm_t oxmSel);
+
+/**
  * Context for displaying verification PIN
  */
 typedef struct DisplayNumContext
@@ -124,6 +129,16 @@ void* UnsetInputStateCB();
 void SetVerifyOption(VerifyOptionBitmask_t verifyOption);
 
 /**
+ * Set notify selected OXM callback
+ */
+void SetInformOxmSelCB(InformOxmSelectedCallback_t informOxmSelCB);
+
+/**
+ * Set notify selected OXM callback
+ */
+void UnsetInformOxmSelCB();
+
+/**
  * Call the Callback for Verifying Ownership Transfer process.
  */
 OCStackResult VerifyOwnershipTransfer(uint8_t mutualVerifNum[MUTUAL_VERIF_NUM_LEN],