resetEncryptionInfo()
This function frees the memory allocated by encryptionInfo(). You can reuse a KVPanopticonEncryptionInfo structure after you have passed it to resetEncryptionInfo()
.
Syntax
KVPanopticonError resetEncryptionInfo( KVPanopticonContext* const context, KVPanopticonEncryptionInfo* const encryptionInfo );
Arguments
context
|
A pointer to |
encryptionInfo
|
A pointer to a KVPanopticonEncryptionInfo. If the function completes successfully, it resets this structure, freeing all the memory allocated by encryptionInfo(). You must initialize the KVStructHead structure by using the macro |
Returns
If the function was successful, it returns KVP_Success
. Otherwise, it returns a KVPanopticonError value describing the problem.