Pass type of requested key in the callback credential set
This commit is contained in:
@@ -28,12 +28,14 @@ typedef struct callback_cred_t callback_cred_t;
|
||||
/**
|
||||
* Callback function to get shared keys.
|
||||
*
|
||||
* @param type type of requested shared key
|
||||
* @param me own identity
|
||||
* @param other other identity
|
||||
* @param match_me match result of own identity
|
||||
* @param match_other match result of other identity
|
||||
*/
|
||||
typedef shared_key_t* (*callback_cred_shared_cb_t)(void *data,
|
||||
typedef shared_key_t* (*callback_cred_shared_cb_t)(
|
||||
void *data, shared_key_type_t type,
|
||||
identification_t *me, identification_t *other,
|
||||
id_match_t *match_me, id_match_t *match_other);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user