peer_cfg lookup takes peer addresses into account
This commit is contained in:
@@ -66,12 +66,15 @@ struct backend_manager_t {
|
||||
/**
|
||||
* Get a peer_config identified by two IDs and authorization info.
|
||||
*
|
||||
* @param me own address
|
||||
* @param other peer address
|
||||
* @param my_id own ID
|
||||
* @param other_id peer ID
|
||||
* @param auth_info authorization info
|
||||
* @return matching peer_config, or NULL if none found
|
||||
*/
|
||||
peer_cfg_t* (*get_peer_cfg)(backend_manager_t *this, identification_t *my_id,
|
||||
peer_cfg_t* (*get_peer_cfg)(backend_manager_t *this, host_t *me,
|
||||
host_t *other, identification_t *my_id,
|
||||
identification_t *other_id, auth_info_t *auth);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user