X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=resource%2Fcsdk%2Fsecurity%2Finclude%2Foxmverifycommon.h;h=bab6aa2101407f28f27de12952e68871b1e7d614;hb=847996e6e5e387e38b7f56814016632d62f0cfe7;hp=c26852ba2cd5df8cd9072876279d4dcd3c28a7d5;hpb=7e5046079bc8c38470e79aa686091ec18b9c0dd8;p=platform%2Fupstream%2Fiotivity.git diff --git a/resource/csdk/security/include/oxmverifycommon.h b/resource/csdk/security/include/oxmverifycommon.h index c26852b..bab6aa2 100644 --- a/resource/csdk/security/include/oxmverifycommon.h +++ b/resource/csdk/security/include/oxmverifycommon.h @@ -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],