diff options
author | Martin Willi <martin@strongswan.org> | 2005-12-01 07:35:03 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2005-12-01 07:35:03 +0000 |
commit | d45ec1dedfa06155c344f5cce0ac7b2ec331c825 (patch) | |
tree | de2a74ae64525e4d45c3178ab7d16484297ce1dd /Source/charon/network/host.h | |
parent | 2ef11339c720d06215f44555de020ea5ebdfd641 (diff) | |
download | strongswan-d45ec1dedfa06155c344f5cce0ac7b2ec331c825.tar.bz2 strongswan-d45ec1dedfa06155c344f5cce0ac7b2ec331c825.tar.xz |
- implemented sa_config
- uses identification
- and host
- untested
- ts need further tuning
Diffstat (limited to 'Source/charon/network/host.h')
-rw-r--r-- | Source/charon/network/host.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/charon/network/host.h b/Source/charon/network/host.h index fa06b1474..379eab02e 100644 --- a/Source/charon/network/host.h +++ b/Source/charon/network/host.h @@ -105,6 +105,15 @@ struct host_t { * @return port number */ u_int16_t (*get_port) (host_t *this); + + /** + * @brief Compare two hosts. + * + * @param this object to compare + * @param other the other to compare + * @return TRUE if port and address are equal + */ + bool (*equals) (host_t *this, host_t *other); /** * @brief Destroy this host object |